正常云打包
- 发布:2021-12-02 15:20
- 更新:2023-02-11 17:55
- 阅读:910
【报Bug】IOS打包,证书在有效期内,提示未知证书过期
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11.3.1
HBuilderX类型: 正式
HBuilderX版本号: 3.1.22
手机系统: iOS
手机系统版本号: iOS 14
手机厂商: 苹果
手机机型: iphoneos14.5
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常生成ipa包
正常生成ipa包
实际结果:
未生成
未生成
bug描述:
打包报错信息如下:
Appid: __UNI__104970D
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos14.5 -project [PackagePath]/HBuilder.xcodeproj -archivePath [PackagePath]/XArchive/HBuilder.xcarchive -scheme HBuilder CONFIGURATION=Release
User defaults from command line:
IDEArchivePathOverride = [PackagePath]/XArchive/HBuilder.xcarchive
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
CONFIGURATION = Release
SDKROOT = iphoneos14.5
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
error: No certificate for team 'YQM5H857L5' matching 'iPhone Developer: P B (CXHV2PS9PG)' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'HBuilder' from project 'HBuilder')
error: Provisioning profile \"FB_Development_20201123\" expired on Nov 23, 2021. (in target 'HBuilder' from project 'HBuilder')
** ARCHIVE FAILED **
Error code = 0
Error message:
opendir([PackagePath]/XArchive/exportArchive): failed to open dir: No such file or directory
1、“YQM5H857L5”团队不存在;
2、证书到期日期不是20201123
c***@dingtalk.com (作者)
证书是正确的,之前用的也是这个证书可以打包成功
2021-12-04 09:27
c***@dingtalk.com (作者)
Nov 23, 2021这个时间过期的证书我们是没有的,YQM5H857L5 这个团队也是没有的
2021-12-04 09:29