Strange behavior when resolving libs/frameworks

Hi,

i'm a newbie to appcode and have the problem that when i import a iPhone/iPad Xcode-project, the configured frameworks cannot be resolved. On Xcode the project configuration works perfectly. The problem gets even worse because of the fact, that ONE framework (out of 12) and TWO .dylib-files (out of three) can be resolved:

Bildschirmfoto 2011-12-29 um 10.22.34.png

ALL THREE .dylib files reside in the same directory "/usr/lib" and have the same rights:

Bildschirmfoto 2011-12-29 um 10.25.51.png

From filesystem-view ALL referenced *.framework  - Folders exists within the same directories (for iPhoneOS and iPhoneSimulator) but only "CoreLocation.framework" can be "resolved". ?:|
Is there a way to adapt some setting or something to make appcode aware of all referenced libraries?

Thanks and regards,
Mirko

11 comments
Comment actions Permalink

I just had a similar problem.  Turned out the build settings had mysteriously switched over to use an OSX SDK rather than an iOS SDK.

I fixed this by switching from the debug configuration (set to OSX SDK) to the release configuration (still iOS), then back to debug - the debug configutation was then set to an iOS SDK.

jmcd

0
Comment actions Permalink

Mirko,
does the fix suggested by John solve your problem?

0
Comment actions Permalink

Hi John,

thanks for the reply. Sounds plausible.
You did that switching in XCode or in AppCode? I actually cannot find this setting in AppCode.

Regards,
Mirko

0
Comment actions Permalink

Mirko,

you can edit Run configuration from the tool bar/nav bar as shown:
Screen Shot 2012-01-09 at 13.44.25 .png

0
Comment actions Permalink

Hi Anton,

Thanks. It works in the meaning of no compilation-errors and it runs in sim. The red marked frameworks within the Framework-Folder (see screensho above) remain and are so not browsable. I cleaned the project and closed/opened AppCode. What can i do else?

Regards,
Mirko

0
Comment actions Permalink

Can you create a request and attach the xcodeproj file so we could reproduce the problem?

Thanks

0
Comment actions Permalink

Hi Anton,

this project is commercial and confidential, sorry.

Mirko

0
Comment actions Permalink

Can you attach only pbxproj file? We do not need any sources.

0
Comment actions Permalink

Hi Anton,

sent it via mail. Please use for your researches only.

Regards,
Mirko

0
Comment actions Permalink

Mirko,

I've created a request for this problem,
please watch http://youtrack.jetbrains.net/issue/OC-2736.

Thanks,
Anton Makeev

0
Comment actions Permalink

Hi Anton,

thx.

Mirko

0

Please sign in to leave a comment.