簡體   English   中英

xcode,可以在模擬器上啟動,但無法存檔

[英]xcode, launching on simulator is ok but cannot archive

我是Xcode的新手。

我在舊的(iOS 3.2)xcode游戲項目上添加了一些功能。 直到我接觸為止,此代碼從未接觸超過一年。 在我嘗試制作.iap文件之前,它工作正常。 一切正常,我的所有更改均未出錯。 所以我從iPhone 6.0 Simulator-> iOS Device更改了目標設備,並嘗試存檔。 不幸的是,它產生了很多錯誤:

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)

該項目使用了一些支持社交功能的“退出游戲”庫。 此外,該項目還包含“ Brew” c ++代碼的某些包裝部分。 我不知道哪一部分有問題。 試圖弄清楚並搜尋了一整天,但仍然找不到線索。

有人可以給我建議嗎? 謝謝。

嘗試從命令行運行lipo -info exitgames.a,它應該告訴您框架要支持什么體系結構。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM