5***@qq.com
5***@qq.com
  • 发布:2021-08-09 11:40
  • 更新:2021-08-09 11:40
  • 阅读:608

【报Bug】IOS云打包 找不到arm64架构

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10.0.18363.418

HBuilderX类型: 正式

HBuilderX版本号: 3.1.22

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: 苹果12

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

正常IOS 云打包

预期结果:

找不到arm64架构

实际结果:

打包日志:找不到arm64架构

bug描述:

【ios云打包 找不到arm64架构】

Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk iphoneos14.5 -project [PackagePath]/HBuilder.xcodeproj

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
SDKROOT = iphoneos14.5

note: Using new build system
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
CreateBuildDirectory [PackagePath]/build
cd [PackagePath]/HBuilder.xcodeproj
builtin-create-build-directory [PackagePath]/build

CreateBuildDirectory [PackagePath]/build/Release-iphoneos
cd [PackagePath]/HBuilder.xcodeproj
builtin-create-build-directory [PackagePath]/build/Release-iphoneos

MkDir [PackagePath]/build/Release-iphoneos/HBuilder.app (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/bin/mkdir -p [PackagePath]/build/Release-iphoneos/HBuilder.app

ProcessProductPackaging /Users/[Name]/Library/MobileDevice/Provisioning\ Profiles/9759e66c-fbf7-4251-91db-6db434e4838b.mobileprovision [PackagePath]/build/Release-iphoneos/HBuilder.app/embedded.mobileprovision (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
builtin-productPackagingUtility /Users/[Name]/Library/MobileDevice/Provisioning\ Profiles/9759e66c-fbf7-4251-91db-6db434e4838b.mobileprovision -o [PackagePath]/build/Release-iphoneos/HBuilder.app/embedded.mobileprovision

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources/Entitlements.plist (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources/Entitlements.plist

ProcessProductPackaging \"\" [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder.app.xcent (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]

Entitlements:

{
\"application-identifier\" = \"NGY9283479.io.dcloud.laifuapp\";
\"com.apple.developer.team-identifier\" = NGY9283479;
\"get-task-allow\" = 1;
}

builtin-productPackagingUtility -entitlements -format xml -o [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder.app.xcent

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/all-product-headers.yaml (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/all-product-headers.yaml

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-project-headers.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-project-headers.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-own-target-headers.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-own-target-headers.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-generated-files.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-generated-files.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-target-headers.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-target-headers.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-non-framework-target-headers.hmap (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-non-framework-target-headers.hmap

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.LinkFileList (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.LinkFileList

CompileC [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/main.o [PackagePath]/HBuilder/source/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target armv7-apple-ios9.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/3m/cbyx6vbn3193q46245nvnfbh0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -iquote [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-generated-files.hmap -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-own-target-headers.hmap -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-target-headers.hmap -iquote [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-project-headers.hmap -I[PackagePath]/build/Release-iphoneos/include -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources-normal/armv7 -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources/armv7 -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios -MMD -MT dependencies -MF [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/main.d --serialize-diagnostics [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/main.dia -c [PackagePath]/HBuilder/source/main.m -o [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/main.o

CompileC [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/main.o [PackagePath]/HBuilder/source/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios9.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/3m/cbyx6vbn3193q46245nvnfbh0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -iquote [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-generated-files.hmap -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-own-target-headers.hmap -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-all-target-headers.hmap -iquote [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/HBuilder-project-headers.hmap -I[PackagePath]/build/Release-iphoneos/include -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources-normal/arm64 -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources/arm64 -I[PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/DerivedSources -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios -MMD -MT dependencies -MF [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/main.d --serialize-diagnostics [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/main.dia -c [PackagePath]/HBuilder/source/main.m -o [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/main.o

WriteAuxiliaryFile [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/HBuilder.LinkFileList (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
write-file [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/HBuilder.LinkFileList

Ld [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/Binary/HBuilder normal armv7 (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target armv7-apple-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/Universal -L[PluginPath]PP-Alipay/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios/ -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios/ -filelist [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/HBuilder.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/HBuilder_lto.o -fobjc-arc -fobjc-link-runtime -ObjC -llibAdSupport -llibLoader -llibPDRCore -lcoreSupport -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -llibWeexDevTool -llibPPAlipay -weak_framework AdSupport -weak_framework AppTrackingTransparency -weak_framework Accelerate -weak_framework AssetsLibrary -weak_framework AddressBook -weak_framework AddressBookUI -weak_framework AudioToolbox -weak_framework AVFoundation -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework CoreMotion -weak_framework CoreGraphics -weak_framework CoreLocation -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 Photos -weak_framework QuartzCore -weak_framework QuickLook -weak_framework Security -weak_framework storage -weak_framework SystemConfiguration -weak_framework UIKit -weak_framework UserNotifications -weak_framework WebKit -lc++ -lz -lxml2 -lsqlite3 -weak_framework PhotosUI -weak_framework MetalKit -weak_framework GLKit -lbz2 -weak_framework VideoToolbox -weak_framework DCUniVideoPublic -weak_framework Masonry -weak_framework IJKMediaFrameworkWithSSL -weak_framework OpenGLES -licucore -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/HBuilder_dependency_info.dat -o [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/armv7/Binary/HBuilder
ld: warning: ignoring file [PluginPath]PP-Alipay/ios//liblibPPAlipay.a, building for iOS-armv7 but attempting to link with file built for iOS-arm64

Ld [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/Binary/HBuilder normal arm64 (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/Universal -L[PluginPath]PP-Alipay/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios/ -F[SourcePath]/libs/Universal -F[PluginPath]PP-Alipay/ios/ -filelist [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder_lto.o -fobjc-arc -fobjc-link-runtime -ObjC -llibAdSupport -llibLoader -llibPDRCore -lcoreSupport -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -llibWeexDevTool -llibPPAlipay -weak_framework AdSupport -weak_framework AppTrackingTransparency -weak_framework Accelerate -weak_framework AssetsLibrary -weak_framework AddressBook -weak_framework AddressBookUI -weak_framework AudioToolbox -weak_framework AVFoundation -weak_framework CFNetwork -weak_framework CoreFoundation -weak_framework CoreMotion -weak_framework CoreGraphics -weak_framework CoreLocation -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 Photos -weak_framework QuartzCore -weak_framework QuickLook -weak_framework Security -weak_framework storage -weak_framework SystemConfiguration -weak_framework UIKit -weak_framework UserNotifications -weak_framework WebKit -lc++ -lz -lxml2 -lsqlite3 -weak_framework PhotosUI -weak_framework MetalKit -weak_framework GLKit -lbz2 -weak_framework VideoToolbox -weak_framework DCUniVideoPublic -weak_framework Masonry -weak_framework IJKMediaFrameworkWithSSL -weak_framework OpenGLES -licucore -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/HBuilder_dependency_info.dat -o [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/Binary/HBuilder
ld: warning: arm64 function not 4-byte aligned: _ffi_call_SYSV from [SourcePath]/libs/Universal/liblibPGInvocation.a(sysv_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _ffi_closure_SYSV from [SourcePath]/libs/Universal/liblibPGInvocation.a(sysv_arm64.o)
Undefined symbols for architecture arm64:
\"_OBJCCLASS$_AlipaySDK\", referenced from:
objc-class-ref in liblibPPAlipay.a(PPAlipayProxy.o)
objc-class-ref in liblibPPAlipay.a(PPAlipayModule.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

build session not created after 15 seconds - still waiting BUILD FAILED The following build commands failed:
Ld [PackagePath]/build/HBuilder.build/Release-iphoneos/HBuilder.build/Objects-normal/arm64/Binary/HBuilder normal arm64
(1 failure)

2021-08-09 11:40 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复