https://app.liuyingyong.cn/build/errorLog/46bbe3e0-44e1-11ef-8e2b-779a097c75ad 详细的报错地址,
ediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Debug-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ewygdyjlibavwyeqrbvpmaghqyho/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Debug-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -final_output -Xlinker /Applications/HBuilder.app/HBuilder -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ewygdyjlibavwyeqrbvpmaghqyho/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Debug-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.swiftmodule -ObjC -ld64 -weak_framework SwiftUI -llibLoader -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibCamera -llibPayment -llibShare -llibPush -lalixpayment -lwxpay -lWeChatSDK_pay -lweixinShare -llibWeexDevTool -weak_framework Accelerate -weak_framework AudioToolbox -weak_framework AVFoundation -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework CoreGraphics -weak_framework CoreMedia -weak_framework CoreTelephony -weak_framework CoreText -weak_framework CoreVideo -weak_framework Foundation -weak_framework ImageIO -weak_framework JavaScriptCore -weak_framework MobileCoreServices -weak_framework MediaPlayer -weak_framework QuartzCore -weak_framework QuickLook -weak_framework Security -weak_framework SystemConfiguration -weak_framework UIKit -weak_framework WebKit -lc++ -lz -lxml2 -lsqlite3 -weak_framework MetalKit -weak_framework GLKit -weak_framework AssetsLibrary -weak_framework Photos -weak_framework PhotosUI -weak_framework UserNotifications -licucore -liconv -weak_framework AlipaySDK -weak_framework CoreMotion -weak_framework DCUniAdWm -weak_framework AliyunPush -weak_framework AlicloudSender -weak_framework AlicloudUtils -weak_framework CloudPushSDK -weak_framework EMASRest -weak_framework UTMini -lresolv -weak_framework DCUniBase -weak_framework DCloudUTSFoundation -weak_framework DCloudUTSExtAPI -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ewygdyjlibavwyeqrbvpmaghqyho/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Debug-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder_dependency_info.dat -o /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ewygdyjlibavwyeqrbvpmaghqyho/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder
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 framework 'CoreAudioTypes'
ld: warning: Could not find or use auto-linked framework 'UTDID'
Undefined symbols for architecture arm64:
\"_OBJCCLASS$_UTDevice\", referenced from:
objc-class-ref in AlicloudUtils(EMASDeviceId.o)
objc-class-ref in AlicloudUtils(AlicloudReport.o)
objc-class-ref in AlicloudUtils(EMASBeaconStore.o)
objc-class-ref in CloudPushSDK(MPStore.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking \"Based on dependency analysis\" in the script phase. (in target 'HBuilder' from project 'HBuilder')--- 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-001214A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:BBD81879-A43E-42FA-8836-430D8E6AB8FB, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:BBD81879-A43E-42FA-8836-430D8E6AB8FB, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:A9FDFCF6-79C4-4C46-AE8F-FEF32A94DABB, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:A9FDFCF6-79C4-4C46-AE8F-FEF32A94DABB, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:95CB7F6B-22D9-473B-B548-5EB83C3EF469, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:95CB7F6B-22D9-473B-B548-5EB83C3EF469, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:917F047D-C489-4BDA-A21B-F13ACC431CBB, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:917F047D-C489-4BDA-A21B-F13ACC431CBB, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:C5852BDE-BBB9-440B-9895-C006AE46A9F9, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:C5852BDE-BBB9-440B-9895-C006AE46A9F9, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:3D84D59D-95D0-4672-BFF3-16BE392A8983, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:3D84D59D-95D0-4672-BFF3-16BE392A8983, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:0A5BC4C8-81AC-4F7A-8FAD-2709863BB650, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:0A5BC4C8-81AC-4F7A-8FAD-2709863BB650, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:BC20CDBB-81B6-44B0-8561-AD09AB6D51BE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:BC20CDBB-81B6-44B0-8561-AD09AB6D51BE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:655BB5D6-F361-462B-AEE2-57ECCFF39FDB, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:655BB5D6-F361-462B-AEE2-57ECCFF39FDB, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:B8282E36-D56A-4690-8CFA-CFA0C443A85E, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:B8282E36-D56A-4690-8CFA-CFA0C443A85E, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ewygdyjlibavwyeqrbvpmaghqyho/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')
(1 failure)
h***@vip.qq.com (作者)
好的,谢谢。之前是正常的,HB升级到4.23报错了
2024-07-18 16:57
DCloud_App_Array
回复 h***@vip.qq.com: 有可能是插件升级导致的,可以尝试退回升级之前的版本再试一次。从错误信息看应该是和HBuilderX版本无关。
2024-07-18 17:00
1***@qq.com
遇到了类似的问题,确实集成了原生插件,怎么解决
2024-08-13 10:40