谢力王
谢力王
  • 发布:2022-05-20 00:26
  • 更新:2022-05-20 14:28
  • 阅读:617

原生插件制作自定义基座失败(腾讯云直播播放器),连着2次都失败(扣了60元),只能求助

分类:uni-app

Appid: UNIBEFAD33
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk iphoneos15.2 -project [PackagePath]/HBuilder.xcodeproj

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
SDKROOT = iphoneos15.2

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: 515165ced66fbc1d6764debf6be78de6
Build description path: [PackagePath]/build/XCBuildData/515165ced66fbc1d6764debf6be78de6-desc.xcbuild

note: Build preparation complete
warning: Building targets in manual order is deprecated - check \"Parallelize build for command-line builds\" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
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/c2136dfa-f91b-4721-b09a-46ea2182347d.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/c2136dfa-f91b-4721-b09a-46ea2182347d.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\" = \"LY9845L979.beetech.test\";
\"com.apple.developer.team-identifier\" = LY9845L979;
\"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-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/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/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-ios10.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/61/37367c6n67x2q3qhk6w4wjqh0000gn/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 -Wquoted-include-in-framework-header -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/iPhoneOS15.2.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/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios -F[SourcePath]/libs/Universal -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios -F[SourcePath]/libs/Universal -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-ios10.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/61/37367c6n67x2q3qhk6w4wjqh0000gn/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 -Wquoted-include-in-framework-header -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/iPhoneOS15.2.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/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios -F[SourcePath]/libs/Universal -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios -F[SourcePath]/libs/Universal -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-ios10.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/UniSDK -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -L[SourcePath]/libs/Universal -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -F[SourcePath]/libs/Universal -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -F[SourcePath]/libs/Universal -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 -llibShare -llibOauth -llibPayment -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -lalixpayment -llibWeexDevTool -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 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 -weak_framework CoreLocation -lbz2 -weak_framework VideoToolbox -weak_framework DCUniVideoPublic -weak_framework Masonry -weak_framework IJKMediaFrameworkWithSSL -weak_framework OpenGLES -licucore -weak_framework AlipaySDK -weak_framework ZegoExpressUniAppSDK -weak_framework FSYangPlugin_customPhoto -weak_framework TXLiteAVSDK_Professional -weak_framework plugin -weak_framework TXLiteAVSDK_ReplayKitExt -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
Undefined symbols for architecture armv7:
\"_res_9_getservers\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
\"_res_9_ninit\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
\"_res_9_ndestroy\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)

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-ios10.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -L[PackagePath]/build/Release-iphoneos -L[SourcePath]/libs/UniSDK -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -L[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -L[SourcePath]/libs/Universal -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -F[SourcePath]/libs/Universal -F[SourcePath]/libs/UniSDK -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/zego-ZegoExpressUniAppSDK/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/FY-CameraPreview/ios/ -F[PackagePath]/wgtRoot/UNIBEFAD33/nativeplugins/Easy-Plugin/ios/ -F[SourcePath]/libs/Universal -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 -llibShare -llibOauth -llibPayment -llibVideo -lDCUniVideo -llibWeex -lSDWebImage -lalixpayment -llibWeexDevTool -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 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 -weak_framework CoreLocation -lbz2 -weak_framework VideoToolbox -weak_framework DCUniVideoPublic -weak_framework Masonry -weak_framework IJKMediaFrameworkWithSSL -weak_framework OpenGLES -licucore -weak_framework AlipaySDK -weak_framework ZegoExpressUniAppSDK -weak_framework FSYangPlugin_customPhoto -weak_framework TXLiteAVSDK_Professional -weak_framework plugin -weak_framework TXLiteAVSDK_ReplayKitExt -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/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)
Undefined symbols for architecture arm64:
\"_res_9_getservers\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
\"_res_9_ninit\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
\"_res_9_ndestroy\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.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 (in target 'HBuilder' from project 'HBuilder')
(1 failure)

2022-05-20 00:26 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

缺少库,无法链接到以下API,关键错误信息:

Undefined symbols for architecture armv7:  
\"_res_9_getservers\", referenced from:  
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)  
\"_res_9_ninit\", referenced from:  
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)  
\"_res_9_ndestroy\", referenced from:  
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)

请联系插件作者,确认插件配置是否正确。
特别说明:云端打包是流量及CDN费用,打包失败也是需要收费的。

  • 谢力王 (作者)

    您好,请看我和腾讯交流结果,麻烦你再帮我看看是什么原因,感谢!

    2022-05-20 13:44

谢力王

谢力王 (作者)

x-code 12.5生成的插件

配置:
"frameworks": ["TXLiteAVSDK_Professional.framework"],
"integrateType": "framework",
"deploymentTarget": "10.0"

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 (in target 'HBuilder' from project 'HBuilder')
(1 failure)

谢力王

谢力王 (作者)

腾讯那边说不是他们的问题,交流如下:

我使用x-code制作了腾讯云直播的uniapp插件,真机测试是正常的(附件:图1.png、真机测试日志.txt)
但在dcloud平台进行自定义基座打包时,报了错误及dcloud技术人员的回复(附件:图2.png)
我的uniapp原生插件配置如下(附件:图3.png)
腾讯回复(附件:腾讯回复.png)

莱克斯瑞

莱克斯瑞

有可能是你这个SDK支持的ios系统版本比10.0要高。所以得看下SDK最低支持iOS几点零。改下deploymentTarget这个参数。

谢力王

谢力王 (作者)

说9.0即可(附件),但是我第一次失败明显有个报错是说要10.0或以上的,奇怪啊???
改成10.0,第二次制作基座就报题目的错了。

  • 莱克斯瑞

    https://www.jianshu.com/p/eac3957cc81e 你看下这个看看

    2022-05-20 15:14

  • 谢力王 (作者)

    回复 莱克斯瑞: 看起来是这个原因,那我怎么添加库进去呢,把libresolv.9.tbd拷贝到ios插件目录吗,package.json怎么配置?

    2022-05-20 15:22

  • 谢力王 (作者)

    "frameworks": ["libresolv.tbd" 好像是这样?

    2022-05-20 15:53

  • 莱克斯瑞

    回复 谢力王: 你的在你iOS原生插件项目中添加这个libresolv.9.tbd,就像你在上面回复中发的图片红框中的位置

    2022-05-20 16:05

  • 莱克斯瑞

    回复 谢力王: 然后重新打包插件到uniapp项目中

    2022-05-20 16:06

  • 谢力王 (作者)

    回复 莱克斯瑞: 再次报错,报告地址: https://ide.dcloud.net.cn/build/errorLog/1adaa3a0-d81b-11ec-906c-e5f9849a094f

    劳烦再看看

    2022-05-20 17:20

  • 莱克斯瑞

    回复 谢力王: 你这个地址我进去看不到报错信息

    2022-05-23 09:58

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