1***@163.com
1***@163.com
  • 发布:2024-09-23 15:45
  • 更新:2024-09-23 16:54
  • 阅读:184

uniapp 打自定义基座的包,报这个错

分类:uni-app

Run script build phase 'Run Script' will be run during every build because it does not specify any outputs

https://app.liuyingyong.cn/build/errorLog/1adcb410-797b-11ef-909f-b3dbaf5ff148

2024-09-23 15:45 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

ld: warning: -ld64 is deprecated, use -ld_classic instead  
ld: framework not found DouyinOpenSDK  
clang: error: linker command failed with exit code 1 (use -v to see invocation)

原生插件DouyinOpenSDK依赖库缺失,请检查原生插件

  • 1***@163.com (作者)

    感谢感谢,现在报这个,这个改怎么解决

    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: in [PackagePath]/wgtRoot/UNIF9589A5/nativeplugins/DCTestUniPlugin/ios//UMDevice.framework/UMDevice(UMDevice99999999.o), building for iOS, but linking in object file built for iOS Simulator, file '[PackagePath]/wgtRoot/UNIF9589A5/nativeplugins/DCTestUniPlugin/ios//UMDevice.framework/UMDevice' for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    2024-09-23 16:45

BoredApe

BoredApe - 有问题就会有答案。

DCTestUniPlugin是为iOS模拟器构建的,而不是为实际的iOS设备构建的。在为真机构建时,不能链接模拟器的二进制文件。

要回复问题请先登录注册