uni-app ios打包自定义基座失败,报错日志与6月bug反馈一致

uni-app ios打包自定义基座失败,报错日志与6月bug反馈一致

操作步骤:

  • ios自定义打包基座

预期结果:

  • 打包成功

实际结果:

  • 打包失败

bug描述:

打包ios自定义调试基座报错,在问答社区搜索后发现失败日志: https://service.dcloud.net.cn/build/errorLog/8b96e3f0-1b45-11ec-bcfc-db9c217125ca 中的开头内容与6月份社区内bug反馈问题《【报Bug】更新版本ios打包基座失败,报错》https://ask.dcloud.net.cn/question/125780 一致

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/aee6c5c5-2131-4078-99ed-ff66210adce1.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/aee6c5c5-2131-4078-99ed-ff66210adce1.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]


更多关于uni-app ios打包自定义基座失败,报错日志与6月bug反馈一致的实战教程也可以访问 https://www.itying.com/category-93-b0.html

3 回复

库冲突了 AliCloud-NirvanaPns/ios/YTXOperators.framework/YTXOperators(UAStatistics.o) 这个库是三方库吗?

更多关于uni-app ios打包自定义基座失败,报错日志与6月bug反馈一致的实战教程也可以访问 https://www.itying.com/category-93-b0.html


尝试去掉一些原生插件后,应该是uni一键登录和阿里的库之间有冲突。manifest.json中取消勾选uni一键登录就能正常打包了

回复 z***@qq.com: 上面说的 YTXOperators.framework 库是 三方库里面的吗?

回到顶部