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:
ALL THREE .dylib files reside in the same directory "/usr/lib" and have the same rights:
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
Please sign in to leave a comment.
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
Mirko,
does the fix suggested by John solve your problem?
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
Mirko,

you can edit Run configuration from the tool bar/nav bar as shown:
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
Can you create a request and attach the xcodeproj file so we could reproduce the problem?
Thanks
Hi Anton,
this project is commercial and confidential, sorry.
Mirko
Can you attach only pbxproj file? We do not need any sources.
Hi Anton,
sent it via mail. Please use for your researches only.
Regards,
Mirko
Mirko,
I've created a request for this problem,
please watch http://youtrack.jetbrains.net/issue/OC-2736.
Thanks,
Anton Makeev
Hi Anton,
thx.
Mirko