- 发布:2024-03-21 18:00
- 更新:2024-06-11 17:11
- 阅读:558
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 问0
手机系统: 全部
手机厂商: 苹果
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: CLI
CLI版本号: 3.99
测试过的手机:
操作步骤:
引入支付宝原生插件云端打包ios
引入支付宝原生插件云端打包ios
预期结果:
正常打包
正常打包
实际结果:
暂无
暂无
bug描述:
今天云端打包机升级SDK后,iOS打包就一直不成功。经测试是因为接入了云端插件,支付宝原生扫码插件。
报错:unknown file type in '[PackagePath]/wgtRoot/UNI *****/nativeplugins/Mpaas-Scan/ios/UTDID.framework/UTDID' 。
原生插件Mpaas-Scan中使用的UTDID.framework库中的软链文件损坏,导致在XCode无法正常识别引起打包失败。
目前云端打包机已修复此插件的软链文件,请重新提交云端打包。
打包失败,Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios12.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -O0 -L/Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/EagerLinkingTBDs/Debug-iphoneos -L/Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/BuildProductsPath/Debug-iphoneos -L[SourcePath]/libs/UniSDK/BaseUniMP -L[SourcePath]/libs/UniSDK -L[PackagePath]/utsFrameworks -L[SourcePath]/libs/Universal/GeYanSdk.xcframework/ios-arm64/ -L[SourcePath]/libs/Universal/GTCommonSDK.xcframework/ios-arm64/ -L[SourcePath]/libs/Universal/GTSDK.xcframework/ios-arm64_armv7/ -L[UniPluginPath]sand-plugin-wifi/ios/ -L[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/DCloud-PushSound/ios/ -L[UniPluginPath]Gl-WiFi/ios/ -L[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/Mpaas-Scan/ios/ -L[SourcePath]/libs/Universal -F/Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/EagerLinkingTBDs/Debug-iphoneos -F/Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/BuildProductsPath/Debug-iphoneos -F[SourcePath]/libs/UniSDK/BaseUniMP -F[SourcePath]/libs/UniSDK -F[PackagePath]/utsFrameworks -F[SourcePath]/libs/Universal/GeYanSdk.xcframework/ios-arm64/ -F[SourcePath]/libs/Universal/GTCommonSDK.xcframework/ios-arm64/ -F[SourcePath]/libs/Universal/GTSDK.xcframework/ios-arm64_armv7/ -F[UniPluginPath]sand-plugin-wifi/ios/ -F[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/DCloud-PushSound/ios/ -F[UniPluginPath]Gl-WiFi/ios/ -F[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/Mpaas-Scan/ios/ -F[SourcePath]/libs/Universal -F[SourcePath]/libs/UniSDK/BaseUniMP -F[SourcePath]/libs/UniSDK -F[PackagePath]/utsFrameworks -F[SourcePath]/libs/Universal/GeYanSdk.xcframework/ios-arm64/ -F[SourcePath]/libs/Universal/GTCommonSDK.xcframework/ios-arm64/ -F[SourcePath]/libs/Universal/GTSDK.xcframework/ios-arm64_armv7/ -F[UniPluginPath]sand-plugin-wifi/ios/ -F[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/DCloud-PushSound/ios/ -F[UniPluginPath]Gl-WiFi/ios/ -F[PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/Mpaas-Scan/ios/ -F[SourcePath]/libs/Universal -filelist /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/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-btjrlyyzuvpvdfdqnieegsbvukms/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-btjrlyyzuvpvdfdqnieegsbvukms/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/HBuilder.build/Debug-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.swiftmodule -ObjC -ld64 -weak_framework SwiftUI -llibAdSupport -llibLoader -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibOauth -llibPush -lUniPush -llibWeexDevTool -weak_framework AdSupport -weak_framework AppTrackingTransparency -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 UserNotifications -licucore -liconv -weak_framework UniVerify -weak_framework GeYanSdk -weak_framework GTCommonSDK -lsqlite3.0 -lresolv.9 -weak_framework Network -weak_framework GTSDK -lresolv -weak_framework sand_plugin_wifi -weak_framework Gl-WiFi -weak_framework MPMasAdapter -weak_framework TBScanSDK -weak_framework APRemoteLogging -weak_framework mPaas -weak_framework UTDID -weak_framework TBDecodeSDK -weak_framework Mpaas_Scan -weak_framework APProtocolBuffers -weak_framework APLog -weak_framework DCUniBase -weak_framework DCloudUTSFoundation -weak_framework DCloudUTSExtAPI -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-btjrlyyzuvpvdfdqnieegsbvukms/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-btjrlyyzuvpvdfdqnieegsbvukms/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: ignoring file [PackagePath]/wgtRoot/UNI7D3A0E8/nativeplugins/Mpaas-Scan/ios//UTDID.framework/UTDID, building for iOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 )
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'
Undefined symbols for architecture arm64:
\"_OBJCCLASS$_ALAssetsLibrary\", referenced from:
objc-class-ref in TBScanSDK(TBScanViewController.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-000D29A41AFB401E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:D0995472-7DCA-4B75-94CB-36790607A347, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:FEF882E5-6D59-4258-A360-A5AB7088F137, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:46FD9851-6B75-4B63-9994-7323454CD5B6, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:F6E43BF4-CEDA-403A-BA34-633EFE70B6BC, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:94B3B082-032E-4F34-ACC3-79AE0B77EBCD, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:58F69B9D-009C-4FBE-A162-4C410E336300, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:4B79CD15-3A70-45B4-8997-1572E446370A, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:C059A0AA-01D5-4629-A8B3-D6E2D41E8D30, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:527666E3-2DA8-4634-9E83-AE13C009EAF3, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:3FC7B39D-0020-4171-8F2C-86477A1B1BED, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Ld /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dyctkxipkfbrbtbpulcesfaekhza/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation/Applications/HBuilder.app/HBuilder normal (in target 'HBuilder' from project 'HBuilder')
我打包也报错,不知道什么原因
资深码农
请问离线打包怎么解决?
2024-04-19 18:00