我最近激活了 arm7 armv7 arm64 作为 Apple 要求的 64 位有效架构,但是当我尝试在 Xcode 中构建应用程序时,它会抛出这个错误。我首先收到一个警告,libchartboost.a
因为找不到,我从他们的网站下载了 chartboost 最新文件夹,但它没有,libchartboost.a
所以我仍在使用 chartboost 3.2.1。但不确定这是否是问题,因为我在下面收到与 GameScene 相关的错误。我错过了一个框架吗?谢谢你的帮助。
ld: warning: ignoring file /Users/Administrator/Documents/Software/libChartboost.a, missing required architecture arm64 in file /Users/Administrator/Documents/Software/libChartboost.a (3 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GameScene", referenced from:
objc-class-ref in AlertLayer.o
objc-class-ref in GameLayer.o
objc-class-ref in levelpackMenuLayer.o
objc-class-ref in LevelSelectLayer.o
objc-class-ref in timetrialMenuLayer.o
objc-class-ref in IAPHelper.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)