2011-08-31 47 views
0

當iPhone 4採用4.3.2操作系統上運行一個簡單的HelloWorld的PhoneGap項目, 它的偉大工程的PhoneGap和Xcode 4不會在iOS 3.1.3(UIKit的)

運行,但,當我試圖運行它在使用3.1.3操作系統的iPhone 3上,我遇到了一個CoreMedia lib問題,我需要在構建設置中'弱'。

使dyld:找不到符號:

有一次,我工作這麼一出,我與我無法找到一個解決方案了一個全新的問題,碰到_UIAccessbilityAnnouncmentNotifcation .... Excpeted在/ SystemLibrary /框架/ UIKit.framework/UIKit的

兩個項目和目標部署目標是3.1

任何想法的? 在此先感謝 蓋伊。

回答

0

對於necromancing抱歉,我只是回答如果你仍然有這個問題或其他人遇到它。下面的解決方案可以幫助:

This is covered in the README FAQ. Basically you need to weak link three frameworks for iOS 3.x: 
1. CoreMedia 
2. AVFoundation 
3. UIKit 

Try that and see if that solves your problem. 

來源: http://community.phonegap.com/nitobi/topics/ios_3_1_3_crashing_when_using_phonegap_with_xcode_4_uikit_problem?from_gsfn=true

希望這有助於!