什么是"无法打开共享内存的能力GSCapabilities(没有这样的文件或目录)" [英] What is "Couldn't open shared capabilities memory GSCapabilities (No such file or directory)"
问题描述
当我做了一个X codebuild(无头的命令行版本)我得到无法打开共享内存的能力GSCapabilities,但构建产品都是精品。
When I do an xcodebuild (headless commandline build) I get "Couldn't open shared capabilities memory GSCapabilities", but the build product is fine.
CompileXIB Resources/Main/InterfaceBuilder/XXX.xib
cd /Users/xxx/xcodeprojects/XXX
setenv IBC_MINIMUM_COMPATIBILITY_VERSION 3.1.2
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/Users/xxx/xcodeprojects/iPhoneBuildScript:/Users/xxx/xcodeprojects/iPhoneBuildScript:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/xxx/xcodeprojects/xxx/build/Release-iphoneos/XXX.app/XXX.nib /Users/xxx/xcodeprojects/XXX/Resources/Main/InterfaceBuilder/XXX.xib --sdk /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
Couldn't open shared capabilities memory GSCapabilities (No such file or directory)
我怎样才能解决这些警告?
How can I fix these warnings?
推荐答案
我有一个项目,同样的问题。我发现下面的网站,详细解释了GSCapability是什么。
I have got the same problem with a project. I found the following site that explains more about what GSCapability is.
<一个href=\"http://iphonedevwiki.net/index.php/GSCapability\">http://iphonedevwiki.net/index.php/GSCapability
我能够通过以下步骤删除此消息;
I was able to remove this message with the following steps;
- 转到您的应用程序的目标,鼠标左键单击获取信息。
- 转到标签生成。
- 在搜索字段中输入其他连接标志。
所包含的价值在我的情况-framework基金会-framework的UIKit。消除这些连接器选项解决了这个问题对我来说。
The value contained '-framework Foundation -framework UIKit' in my case. Removing those linker flags resolved the issue for me.
这篇关于什么是&QUOT;无法打开共享内存的能力GSCapabilities(没有这样的文件或目录)&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!