Unity+Xcode7.x 提示Undefined symbols for architecture arm64:

unity发布Xcode工程在Xcode7.x版本中提示:

异常。

解决方法:

ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Users/mac/Desktop/UnityXcode/Diet2/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)

ld: warning: arm64 function not 4-byte aligned: _plcrash_async_thread_state_current from /Users/mac/Desktop/UnityXcode/Diet2/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)

Undefined symbols for architecture arm64:

  "_deflate", referenced from:

添加如下几个依赖库就可以(一般情况下添加 libz.tbd就可以):

CoreTelephony.framework

libsqlite3.0.tbd

libz.tbd

libc++.tbd

Unity+Xcode7.x 提示Undefined symbols for architecture arm64:_第1张图片

你可能感兴趣的:(unity3D)