在本地使用模拟器及真机运行都没有问题,可生成插件包后,放HBuilder X里面进行云打包,就没有成功过
错误日志:https://app.liuyingyong.cn/build/errorLog/9f895260-19c5-11ef-bb68-2d3aa025a551
截取关键部分
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: Could not find or use auto-linked library 'swiftXPC'
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'
Undefined symbols for architecture arm64:
\"swift_FORCELOAD$_swiftXPC\", referenced from:
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(ComponentHandler.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(UIImage.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(Util.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(UIImageView.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(UIColor.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(MarkerRender.o)
swift_FORCELOAD$swiftXPC$_FgMapbox in FgMapbox(UITapGestureRecognizer.o)
...
(maybe you meant: __swift_FORCELOAD$swiftXPC$_FgMapbox)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2 个回复
灳灳 (作者)
xcode: 15.4
SDK: 4.14
DCloud_heavensoft
是什么类型插件?uts插件吗?如果是app原生插件,那不维护了