y***@163.com
y***@163.com
  • 发布:2025-03-26 15:49
  • 更新:2025-03-26 17:23
  • 阅读:1066

【报Bug】ios安心打包异常

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 版本15.3.2 (24D81)

HBuilderX类型: 正式

HBuilderX版本号: 4.56

手机系统: iOS

手机系统版本号: iOS 18

手机厂商: 苹果

手机机型: iphone 15promax

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

点击iOS安心打包

预期结果:

打包生成ipa

实际结果:

报错提示证书过期

bug描述:

错误解决方案

错误描述: profile文件已过期
解决方案: 使用的profile文件已过期,请到苹果开发者网站重新生成profile文件,再用新的profile文件提交云端打包。如打包仍有问题,请到ask社区(https://ask.dcloud.net.cn)发贴咨询。
######################

Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos18.1 -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:
SDKROOT = iphoneos18.1

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'HBuilder' in project 'HBuilder' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 [PackagePath]/HBuilder/Assets.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null

Build description signature: 4505da268f513133349478b7c529265f
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dyvxaaxgrfkbxvdhbfyjhtibjors/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/4505da268f513133349478b7c529265f.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: No certificate for team 'YQM5H857L5' matching 'iPhone Distribution: Digital Heaven (Beijing) Internet & Technology Co., Ltd. (YQM5H857L5)' 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')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"UniAppFB-Distribution-20240411\" expired on Mar 25, 2025. (in target 'HBuilder' from project 'HBuilder')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (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 issue, 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')--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-000D29A41AFB401E, name:My Mac }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Archiving project HBuilder with scheme HBuilder
(1 failure)

2025-03-26 15:49 负责人:无 分享
已邀请:

最佳回复

DCloud_App_Array

DCloud_App_Array

云端打包机“安心打包”使用的默认证书过期导致的问题,目前已修复,重新提交云端打包即可。

iOSDeveloper

iOSDeveloper - 专注于iOS相关领域 QQ:752562065

8年iOS开发,iOS相关的问题可以找我,解决不了不要钱,解决了给瓶水钱就行,QQ752562065

DCloud_heavensoft

DCloud_heavensoft

正在处理

要回复问题请先登录注册