【发布时间】:2014-01-13 20:12:34
【问题描述】:
我在 XCode 5 中编译时遇到了很大的麻烦。首先,我最近从 Xcode 4 升级到了 XCode 5,并且有一段时间安装了两个版本。我现在只有 Xcode 5(删除了两个版本并再次重新安装了 XCode 5)。 创建一个空白项目将无法编译,向我显示以下错误:
CompileStoryboard test-**/Base.lproj/Main.storyboard
cd /Users/user***/test-**/test-**
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 7.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 7.0 --output-format human-readable-text --compile /Users/user***/Library/Developer/Xcode/DerivedData/test-**-czkmrxqmivlfarcpibzviisatxkr/Build/Products/Debug-iphonesimulator/test-nogit.app/Base.lproj/Main.storyboardc /Users/user***/test-**/test-**/test-**/Base.lproj/Main.storyboard
dyld: Symbol not found: _CGYmageGetRenderingIntent
Referenced from: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 5
我是 XCode 环境的新手,任何见解都会非常感激。 谢谢,
【问题讨论】:
-
还有一点需要注意。在“复制捆绑资源”下的“构建阶段”中,“MainMenu.xib”(适用于 Mac OS 应用程序)或“Main.storyboard”(适用于 iOS 应用程序)显示为红色。删除这些文件并重新添加它们是不行的,它们仍然显示为红色。
标签: xcode ios7 mobile-application xcode-storyboard dyld