2***@qq.com
2***@qq.com
  • 发布:2021-05-06 15:03
  • 更新:2021-07-22 09:59
  • 阅读:2942

uniAPP打包ios包出现的错误

分类:HBuilderX

打包系统提示保一个错误日志,打了好几次 重启了软件还是一样

Appid: UNI0152DCA
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos14.1 -project [PackagePath]/HBuilder.xcodeproj -archivePath [PackagePath]/XArchive/HBuilder.xcarchive -scheme HBuilder CONFIGURATION=Release

User defaults from command line:
IDEArchivePathOverride = [PackagePath]/XArchive/HBuilder.xcarchive

Build settings from command line:
CONFIGURATION = Release
SDKROOT = iphoneos14.1

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: Signing certificate is invalid. Signing certificate \"Apple Distribution: Chongqing AiQianXun Technology Co., Ltd. (7UAS5BDTHB)\", serial number \"\", is not valid for code signing. It may have been revoked or expired. (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

2021-05-06 15:03 负责人:无 分享
已邀请:
DCloud_iOS_XHY

DCloud_iOS_XHY

Signing certificate is invalid. Signing certificate \"Apple Distribution: Chongqing AiQianXun Technology Co., Ltd. (7UAS5BDTHB)\", serial number \"\", is not valid for code signing. It may have been revoked or expired

检查一下提交的证书和profile文件,看提示是从apple开发者后台删除了已经

w***@163.com

w***@163.com

请问是否已经解决,是什么原因导致的报错

  • 2***@qq.com (作者)

    证书过期了

    2021-08-16 09:49

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