- 发布:2024-03-21 18:00
- 更新:2024-04-16 16:40
- 阅读:130
产品分类: 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)
资深码农
请问离线打包怎么解决?
2024-04-19 18:00