如果你是第一次在mac 上运行ios unity程序,有可能你会遇到同样的错误。
最自豪的便是跨平台性
就目前来说我们开发必须要在
1) android
·2) ios
两个平台上都能正确运行
android的直接生成apk包,安装基本没问题
今天在测试ios平台的时候,遇到了一些麻烦,便记录下来。在windows写好代码以后,导出xcode工程,导入mac 运行,出现如下错误:
ld: warning: ignoring file /Volumes/NO NAME/isotest511/Libraries/libiPhone-lib.a, file was built for archive which is not the architecture being linked (i386): /Volumes/NO NAME/isotest511/Libraries/libiPhone-lib.a
Undefined symbols for architecture i386:
"_RegisterModule_AI", referenced from:
RegisterStaticallyLinkedModules() in RegisterMonoModules.o
"_RegisterModule_Animation", referenced from:
RegisterStaticallyLinkedModules() in Regis