云端打包
- 发布:2023-07-05 09:20
- 更新:2023-07-05 11:57
- 阅读:133
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 11 家庭中文版
HBuilderX类型: 正式
HBuilderX版本号: 3.8.7
手机系统: iOS
手机系统版本号: iOS 14
手机厂商: 苹果
手机机型: ipone
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
生成安装包
生成安装包
实际结果:
打包失败报错
打包失败报错
bug描述:
ios打包失败
输出日志如下:
Appid: UNIF267CF0
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk iphoneos16.4 -project [PackagePath]/HBuilder.xcodeproj
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
SDKROOT = iphoneos16.4
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 72c8528abc65d6252dae297198610ca3
Build description path: [PackagePath]/build/XCBuildData/72c8528abc65d6252dae297198610ca3.xcbuilddata
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
[PackagePath]/HBuilder.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"kzsmtdesdev\" doesn't support the Associated Domains capability. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"kzsmtdesdev\" doesn't include the com.apple.developer.associated-domains entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking \"Based on dependency analysis\" in the script phase. (in target 'HBuilder' from project 'HBuilder')2023-07-05 08:50:55.719 xcodebuild[54985:240792] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
BUILD FAILED
2 个回复
亦春亦秋 - 用爱发电
有尝试重新打包吗?
DCloud_iOS_WZT
错误原因 error: Provisioning profile \"kzsmtdesdev\" doesn't support the Associated Domains capability
证书的描述文件没有支持Associated Domains capability 但是你的工程里配置了相关功能
需要你把描述文件的Associated Domains capability 打开 下载新的描述文件打包