TTOOMM
TTOOMM
  • 发布:2020-12-20 11:20
  • 更新:2021-01-04 17:57
  • 阅读:1223

【报Bug】使用插件打包IOS的时候 报错 已解决,修改了组件

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

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

HBuilderX版本号: 3.0.0

示例代码:

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]TX-ProTencent/ios/ -F[PackagePath]/build/Release-iphoneos -F[SourcePath]/libs/Universal -F[PluginPath]TX-ProTencent/ios/ -F[SourcePath]/libs/Universal -F[PluginPath]TX-ProTencent/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 -llibCrypt -llibLog -llibIO -llibPGInvocation -llibNativeObj -llibNativeUI -llibNavigator -llibOrientation -llibPGProximity -llibStorage -llibUI -llibXHR -llibZip -llibBarcode -lDCUniZXing -luchardet -llibCamera -llibGeolocation -lDCUniBarcode -llibOauth -llibPush -llibShare -llibVideo -lDCUniVideo -llibMap -llibPayment -llibWeex -lSDWebImage -lUniAD -lUniADWeex -lWXOauth -lQQOauth -lSinaWBOauth -lWeiboSDK -lAppleOauth -lalixpayment -lwxpay -lWeChatSDK_pay -lweixinShare -lSinaShare -lAMapImp -lDCUniMap -lDCUniAmap -lAMapLocationPlugin -llibWeexDevTool -weak_framework AdSupport -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 -lbz2 -weak_framework VideoToolbox -weak_framework DCUniVideoPublic -weak_framework IJKMediaFramework -weak_framework OpenGLES -weak_framework MapKit -licucore -weak_framework TencentOpenAPI -weak_framework AuthenticationServices -weak_framework AlipaySDK -weak_framework AMapSearchKit -weak_framework MAMapKit -weak_framework AMapFoundationKit -weak_framework GLKit -weak_framework ExternalAccessory -weak_framework security -weak_framework AMapLocationKit -lresolv -weak_framework Accelerate -weak_framework QCloudCOSXML -weak_framework TXProfessional -weak_framework TXLiteAVSDK_Professional -weak_framework QCloudCore -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$_ZipArchive\", referenced from:
objc-class-ref in TXProfessional(TCBeautyPanelView.o)
objc-class-ref in TXProfessional(BeautySettingPanel.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)

操作步骤:

比如使用 插件https://ext.dcloud.net.cn/plugin?id=1382
打包IOS 的APP 打包报错

预期结果:

不报错

实际结果:

报错

bug描述:

使用了插件使用IOS 的原生插件
打包IOS APP的时候报错

Alpha 的 3.0.0 以及 3.0.1 有问题
正式版 2.9.8 没问题

可能是修复这个问题所引起的
https://ask.dcloud.net.cn/question/110303

问题出在这里

2020-12-20 11:20 负责人:无 分享
已邀请:
哈哈哈哈123456

哈哈哈哈123456

请问你是怎么解决的呢,烦请给个详细的 修改组件是修改哪呢?谢谢

  • TTOOMM (作者)

    修改了组件,IOS的组件重新修改,发布处理一下

    2021-01-15 22:54

  • 哈哈哈哈123456

    回复 TTOOMM: 谢谢 已经解决了,不过是插件开发者修复的,我这边升级了插件就好了

    2021-01-18 10:18

  • wuing

    回复 哈哈哈哈123456: 请问一下 要怎么看知道是哪个插件的哪种问题呢? 目前我也是ios打包要同样的问题

    2021-07-22 11:45

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