iphone - XCode 3.2.3 running on iOS3 - Wired framework -
i looked around on stack overflow , didn't find solution of strange problem.
i started developing project on xcode 3.1 decided upgrade on xcode 3.2.4 , targeting ios3 iphones. followed topics dealing , changed base sdk ios 4.1 , target os 3.0. worked fine until made changes project.
indeed added coremedia.framework project.
it worked on simulator, crashed @ launch on iphone. here log can get:
<notice>: dyld: library not loaded: /system/library/frameworks/coremedia.framework/coremedia referenced from: /var/mobile/applications/72f009b5-82a8-49dc-a5cd-708ee1a4553c/myapp.app/myapp reason: image not found
(i had same problem other frameworks corevideo example)
i tried on ios4 iphone , worked well, think xcode doesn't link/copy right framework on iphone. when info on framework under xcode, here path get:
/developer/platforms/iphoneos.platform/developer/sdks/iphoneos4.1.sdk/system/library/frameworks/mediaplayer.framework
but same path when info on framework of first version of project (when using xcode 3.1). sounds new frameworks added have wrong reference.
does have idea of how solve problem? appreciated. :)
you have weak link libraries.
on xcode go targets-> right click info. on general tab on lower section see libs, change coremedia type weak.
ofcourse lib won't available on os3 you'll need add checks in code wont call lib on os3
Comments
Post a Comment