ld: warning: -ld64 is deprecated, use -ld_classic instead
ld: warning: arm64 function not 4-byte aligned: _dc_ffi_call_SYSV from [SourcePath]/libs/UniSDK/liblibPGInvocation.a(sysv_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _ffi_closure_SYSV from [SourcePath]/libs/UniSDK/liblibPGInvocation.a(sysv_arm64.o)
ld: warning: object file ([UniPluginPath]LuanQing-Permission/ios//LuanQingPermission.framework/LuanQingPermission(LuanQingPermission_vers.o)) was built for newer iOS version (15.2) than being linked (12.0)
ld: warning: object file ([UniPluginPath]LuanQing-Permission/ios//LuanQingPermission.framework/LuanQingPermission(LuanQingPermission.o)) was built for newer iOS version (15.2) than being linked (12.0)
ld: in [UniPluginPath]HH-MapHelper/ios//HHMapHelper.framework/HHMapHelper(HHMapHelper_vers.o), building for iOS, but linking in object file built for iOS Simulator, file '[UniPluginPath]HH-MapHelper/ios//HHMapHelper.framework/HHMapHelper' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: in [UniPluginPath]HH-MapHelper/ios//HHMapHelper.framework/HHMapHelper(HHMapHelper_vers.o), building for iOS, but linking in object file built for iOS Simulator, file '[UniPluginPath]HH-MapHelper/ios//HHMapHelper.framework/HHMapHelper' for architecture arm64
HHMapHelper框架是为iOS模拟器构建的,而不是为实际的iOS设备构建的。在为真机构建时,不能链接模拟器的二进制文件。
2 个回复
BoredApe - 有问题就会有答案。
HHMapHelper框架是为iOS模拟器构建的,而不是为实际的iOS设备构建的。在为真机构建时,不能链接模拟器的二进制文件。
wuxiaol (作者)
好的,明白了,去掉这个。