我是新來的Xcode。Xcode中,發射模擬器上是好的,但不能存檔
我在老(iOS 3.2)的Xcode的遊戲項目增加了一些功能。直到我觸摸,此代碼從未觸及過一年多。 它工作正常,直到我試圖製作一個.iap文件。它運行正常,我所有的更改都沒有發生任何錯誤。 所以我改變了目標設備從iPhone 6.0模擬器 - > iOS設備,並試圖存檔。不幸的是,產生錯誤的一串:
ld: warning: ignoring file lib/libegn_neutron_http_Release_iphoneos.a, file was built for archive which is not the architecture being linked (armv7): lib/libegn_neutron_http_Release_iphoneos.a
Undefined symbols for architecture armv7:
"_EGN_setPollingInMenu", referenced from:
ExitGamesCreateSession(sLibraryData*) in exitgames.o
"_EGN_Neutron_New", referenced from:
ExitGamesInit(sLibraryData*) in exitgames.o
"_EGN_setServerUrl", referenced from:
ExitGamesCreateSession(sLibraryData*) in exitgames.o
......類似的錯誤34繼續
"_EGN_NeutronCls_Release", referenced from:
ExitGamesShutDown(sLibraryData*) in exitgames.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
該項目使用了一些 「exitgames」 庫,支持社交功能。 此外這個項目有一些「Brew」C++代碼的包裝部分。 我不知道哪個部分有問題。試圖找出並搜索整整一天,但仍然無法得到線索。
任何人都可以給我一個建議嗎? 謝謝。
可能DUP:http://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7 – Max 2013-02-22 21:59:59