Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "Couldn't open shared capabilities memory GSCapabilities (No such file or directory)"

Tags:

iphone

build

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?

like image 265
Tycho Pandelaar Avatar asked Feb 25 '11 10:02

Tycho Pandelaar


1 Answers

I have got the same problem with a project. I found the following site that explains more about what GSCapability is.

http://iphonedevwiki.net/index.php/GSCapability

I was able to remove this message with the following steps;

  1. Go to your application target, left mouse click "Get Info".
  2. Go to the tab "Build".
  3. Enter "other linker flags" in the search field.

The value contained '-framework Foundation -framework UIKit' in my case. Removing those linker flags resolved the issue for me.

like image 133
Frank Avatar answered Nov 28 '22 12:11

Frank