6***@qq.com
6***@qq.com
  • 发布:2023-04-20 18:33
  • 更新:2023-08-10 15:03
  • 阅读:723

【报Bug】使用自定义插件云打包报错。插件工程能正常运行,放到uniapp项目打基座时出错 arm64: \"__swift_FORCE_LOAD_$_swiftCompatibility56

分类:uni-app

/Applications/HBuilder.app/HBuilder
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 'swiftCompatibility56'
Undefined symbols for architecture arm64:
\"swift_FORCELOAD$_swiftCompatibility56\", referenced from:
swift_FORCELOAD$swiftCompatibility56$_Y_ParticlePlugin in Y_ParticlePlugin(ChangeFaceStyleAndLanguage.o)
swift_FORCELOAD$swiftCompatibility56$_Y_ParticlePlugin in Y_ParticlePlugin(BaseSwift.o)
(maybe you meant:
swift_FORCELOAD$swiftCompatibility56$_Y_ParticlePlugin)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-000D29A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:2EED931F-AE55-4979-BBB5-536CAD0B4CAA, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:6B8F0757-7844-41DA-BD7B-14932B56DDF2, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:0B79346F-C906-46A6-9360-CD6B1EB1E596, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:DC0ACC43-571A-4F62-999F-DE3625E6E7A8, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:2338384F-C66A-4082-AA47-013882477B80, OS:16.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:1A3326AF-0869-46D4-9CB9-BFE1E237559E, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:607053D2-C2EA-477A-BEB6-28E30AED0DA4, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:1E25ABC4-106B-4198-883A-E8F8DF8585B4, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:61EA77AF-4CB2-4470-83E2-A92A6D71C3EF, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:6E96AB3F-001A-4694-97DE-3A05D0816516, OS:16.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-borvvupemxomjcdiqurjhsgyjrpn/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')
(1 failure)

2023-04-20 18:33 负责人:无 分享
已邀请:
s***@gmail.com

s***@gmail.com

这个问题解决了么?

  • 哈哈6

    解決了嗎兄弟

    2023-06-08 18:37

哈哈6

哈哈6

解決了嗎兄弟

c***@bokecc.com

c***@bokecc.com

解决了吗?今天遇到了同样的问题

要回复问题请先登录注册