uni-app alpha 3.1.3 ios云端打包报错
uni-app alpha 3.1.3 ios云端打包报错
操作步骤
- 云端打包
预期结果
- 打包成功
实际结果
- 打包失败
bug描述:
Appid: UNI25FD82F
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
…
开发环境 | 版本号 | 项目创建方式 |
---|---|---|
Mac | 10.15.5 | HBuilderX |
HBuilderX | 3.1.3 |
更多关于uni-app alpha 3.1.3 ios云端打包报错的实战教程也可以访问 https://www.itying.com/category-93-b0.html
把UNI ID 发一下 我帮你查查
UNI5A5D1F8
Appid: UNI5A5D1F8 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/8ce6696d-b4dd-46e8-8a05-96628fff4a21.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/8ce6696d-b4dd-46e8-8a05-96628fff4a21.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” = “DD5QY9D27J.io.wcyx.wcyxapp”; “com.apple.developer.applesignin” = ( Default ); “com.apple.developer.team-identifier” = DD5QY9D27J; “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-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
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/70/4gs68nw96n10qs7r2dwn7_vm0000gn/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[PluginPath]JG-JCore/ios -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/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
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/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/70/4gs68nw96n10qs7r2dwn7_vm0000gn/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[PluginPath]JG-JCore/ios -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/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/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[PluginPath]JG-JCore/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/ios/ -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/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 -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibLivePush -lDCUniGPUImage -lDCUniLivePush -llibMap -llibOauth -llibPayment -llibShare -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -lUniAD -lUniADWeex -lAMapLocationPlugin -lAMapImp -lDCUniMap -lDCUniAmap -lAppleOauth -lWXOauth -lalixpayment -lwxpay -lWeChatSDK_pay -lweixinShare -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 -weak_framework OpenGLES -weak_framework VideoToolbox -weak_framework Accelerate -lbz2 -liconv -weak_framework MapKit -weak_framework DCUniVideoPublic -weak_framework IJKMediaFramework -licucore -weak_framework ExternalAccessory -weak_framework GLKit -weak_framework security -weak_framework AMapFoundationKit -weak_framework AMapLocationKit -weak_framework AMapSearchKit -weak_framework MAMapKit -weak_framework AuthenticationServices -weak_framework AlipaySDK -weak_framework UniPluginJCore [PluginPath]JG-JCore/ios/jcore-ios-2.4.0.a -framework UPLiveSDKDll -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) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWHudsonFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWAmaroFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWNashvilleFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSutroFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWFiveInputFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UpYunLivePusher.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWBrannanFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAudioGraph.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(GPUImageBeautifyFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWEarlybirdFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWLomofiFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FW1977Filter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWHefeFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAudioCapture.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWInkwellFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAVCapturer.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWXproIIFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWLordKelvinFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWWaldenFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSierraFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(PGLivePush.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPCustonFilters.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSixInputFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(AudioMonitorPlayer.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWRiseFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPVideoCapture.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWValenciaFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWToasterFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(DCLivePusher.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(LFGPUImageBeautyFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) Undefined symbols for architecture arm64: “_dns_parse_resource_record”, referenced from: -[JCORESRVResolver processRecord:length:] in jcore-ios-2.4.0.a(JCORESRVResolver.o) “_dns_free_resource_record”, referenced from: -[JCORESRVResolver processRecord:length:] in jcore-ios-2.4.0.a(JCORESRVResolver.o) “_res_9_init”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_query”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_ns_initparse”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_ns_parserr”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
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[PluginPath]JG-JCore/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/ios/ -F[SourcePath]/libs/Universal -F[PluginPath]JG-JCore/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 -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibLivePush -lDCUniGPUImage -lDCUniLivePush -llibMap -llibOauth -llibPayment -llibShare -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -lUniAD -lUniADWeex -lAMapLocationPlugin -lAMapImp -lDCUniMap -lDCUniAmap -lAppleOauth -lWXOauth -lalixpayment -lwxpay -lWeChatSDK_pay -lweixinShare -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 -weak_framework OpenGLES -weak_framework VideoToolbox -weak_framework Accelerate -lbz2 -liconv -weak_framework MapKit -weak_framework DCUniVideoPublic -weak_framework IJKMediaFramework -licucore -weak_framework ExternalAccessory -weak_framework GLKit -weak_framework security -weak_framework AMapFoundationKit -weak_framework AMapLocationKit -weak_framework AMapSearchKit -weak_framework MAMapKit -weak_framework AuthenticationServices -weak_framework AlipaySDK -weak_framework UniPluginJCore [PluginPath]JG-JCore/ios/jcore-ios-2.4.0.a -framework UPLiveSDKDll -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: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWHudsonFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWAmaroFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWNashvilleFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWHefeFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWFiveInputFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UpYunLivePusher.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWBrannanFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAudioGraph.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(GPUImageBeautifyFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWEarlybirdFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWLomofiFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FW1977Filter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSutroFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAudioCapture.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWInkwellFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPAVCapturer.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWLordKelvinFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWWaldenFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSierraFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(PGLivePush.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPCustonFilters.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWSixInputFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(AudioMonitorPlayer.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWRiseFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(UPVideoCapture.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWValenciaFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWXproIIFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(FWToasterFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(DCLivePusher.o)) was built for newer iOS version (10.2) than being linked (9.0) ld: warning: object file ([SourcePath]/libs/Universal/liblibLivePush.a(LFGPUImageBeautyFilter.o)) was built for newer iOS version (10.2) than being linked (9.0) Undefined symbols for architecture armv7: “_dns_parse_resource_record”, referenced from: -[JCORESRVResolver processRecord:length:] in jcore-ios-2.4.0.a(JCORESRVResolver.o) “_dns_free_resource_record”, referenced from: -[JCORESRVResolver processRecord:length:] in jcore-ios-2.4.0.a(JCORESRVResolver.o) “_res_9_init”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_query”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_ns_initparse”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) “_res_9_ns_parserr”, referenced from: +[JCOREMacAddressManager getDeviceMacFromMDNS:] in jcore-ios-2.4.0.a(JCOREMacAddressManager.o) 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)
回复 天生DR:请问是少什么符号?哪个库没有添加?
回复 EasionWang: 报错不是很清楚吗 你看到倒数几行 你自己的库