2
我有一個xcode和ios開發的問題。 去年我決定安裝xcode和ios sdks來學習如何構建一個ios應用程序。 所有工作正常。Xcode ios SDK - dyld:找不到符號:_CFXMLNodeGetInfoPtr
時間過去了,我決定格式化我的Mac,在全新的SSD上安裝新的MacOS。
昨天,我用ios SDK下載了Xcode 4.2並安裝了它。 我開始了一個新的項目,然後啓動它而不編輯任何東西。
它失敗,此錯誤消息:
CompileXIB exemple/en.lproj/FirstView.xib
cd /Users/karlcosse/iosDevs/exemple
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/karlcosse/Library/Developer/Xcode/DerivedData/exemple-fdgpmxhwzhcpnydzkgzelaqeaxnh/Build/Products/Debug-iphonesimulator/exemple.app/en.lproj/FirstView.nib /Users/karlcosse/iosDevs/exemple/exemple/en.lproj/FirstView.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
dyld: Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
ibtoold(932,0x7fff712b6cc0) malloc: *** auto malloc[932]: error: auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
我瀏覽網頁,但我沒有找到任何答案,所以......你是我最後的機會:d
(目前我下載MacOS的獅子嘗試,如果一個升級將解決我的問題......我們將拭目以待。
非常感謝你的幫助!
我不認爲獅子會解決你的問題...... :)你在做什麼應用程序?任何與XML,網頁瀏覽相關的東西? – gcamp
真正的問題是,您添加了哪些代碼以顯示該錯誤? – gcamp
我剛開始一個新項目,只需點擊「運行」...我沒有寫出一行代碼! – zordak