Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk iphoneos14.1 -project [PackagePath]/HBuilder.xcodeproj
Build settings from command line:
SDKROOT = iphoneos14.1
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory [PackagePath]/build (in target 'HBuilder' from project 'HBuilder')
cd [PackagePath]
builtin-create-build-directory [PackagePath]/build
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/a60e847e-ca38-4d48-b726-ba6f127ec23c.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/a60e847e-ca38-4d48-b726-ba6f127ec23c.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\" = \"8Q2U47K754.cn.kechuang.appIos\";
\"com.apple.developer.applesignin\" = (
Default
);
\"com.apple.developer.team-identifier\" = 8Q2U47K754;
\"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/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
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/d1/jktmll9x0k9_czwgh2f6znqr0000gn/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.1.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[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/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/d1/jktmll9x0k9_czwgh2f6znqr0000gn/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.1.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[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/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/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
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.1.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/Universal -L[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios/ -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/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 -llibLoader -llibPDRCore -lcoreSupport -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibCrypt -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibOauth -llibWeex -lSDWebImage -lUniAD -lUniADWeex -lWXOauth -lWeChatSDK -lAppleOauth -llibWeexDevTool -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 -licucore -weak_framework AuthenticationServices -weak_framework AdSupport -lresolv -lc++.1 -weak_framework TYRZSDK -weak_framework UniPluginJVerification -weak_framework account_login_sdk_noui_core -weak_framework OAuth -weak_framework EAccountApiSDK -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
Undefined symbols for architecture armv7:
\"_OBJCCLASS$_JVUIConfig\", referenced from:
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.1.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/Universal -L[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/ios/ -F[SourcePath]/libs/Universal -F[PackagePath]/wgtRoot/UNIB908532/nativeplugins/JG-JVerification/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 -llibLoader -llibPDRCore -lcoreSupport -llibAccelerometer -lopencore-amrnb -lmp3lame -llibMedia -llibCache -llibCrypt -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibOauth -llibWeex -lSDWebImage -lUniAD -lUniADWeex -lWXOauth -lWeChatSDK -lAppleOauth -llibWeexDevTool -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 -licucore -weak_framework AuthenticationServices -weak_framework AdSupport -lresolv -lc++.1 -weak_framework TYRZSDK -weak_framework UniPluginJVerification -weak_framework account_login_sdk_noui_core -weak_framework OAuth -weak_framework EAccountApiSDK -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$_JVUIConfig\", referenced from:
objc-class-ref in UniPluginJVerification(JVerificationModule.o)
\"_OBJCCLASS$_JVAuthConfig\", referenced from:
objc-class-ref in UniPluginJVerification(JVerificationModule.o)
\"_OBJCCLASS$_JVLayoutConstraint\", referenced from:
objc-class-ref in UniPluginJVerification(JVerificationModule.o)
\"_OBJCCLASS$_JVERIFICATIONService\", referenced from:
objc-class-ref in UniPluginJVerification(JVerificationModule.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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)
1 个回复
liuxl126
看到有说是依赖库的问题,解决了吗