3***@qq.com
3***@qq.com
  • 发布:2025-09-04 17:02
  • 更新:2025-09-04 17:19
  • 阅读:7210

打包ipa报错

分类:uni-app

HBuilderX版本号:4.66
uniapp 编译器版本: 4.66
云打包服务器SDK版本: 4.66

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: e7b80d0c244bc844358bfbcfa0997dcb
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ekecgjrkrarwhzgyifejfkxcsknr/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/e7b80d0c244bc844358bfbcfa0997dcb.xcbuilddata
CreateBuildDirectory /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ekecgjrkrarwhzgyifejfkxcsknr/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation
cd [PackagePath]/HBuilder.xcodeproj
builtin-create-build-directory /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-ekecgjrkrarwhzgyifejfkxcsknr/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/InstallationBuildProductsLocation

日志:https://app.liuyingyong.cn/build/errorLog/4a9429a0-8968-11f0-8bfe-b36c098b476f

2025-09-04 17:02 负责人:无 分享
已邀请:
蔡cai

蔡cai - 开发的插件:https://ask.dcloud.net.cn/article/41539

证书重复、Profile未更新、证书过期‌;你上苹果开发者平台看看

  • 蔡cai

    这三种你看下是哪种

    2025-09-04 17:07

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

    回复 蔡cai: 我重新生成了证书 也还是不行

    2025-09-04 17:14

  • 蔡cai

    回复 3***@qq.com: 你有更改什么配置嘛?比如添加通知啥的,需要一步一步生成替换掉,再生成证书

    2025-09-04 17:18

  • 蔡cai

    profil和证书都要重新生成

    2025-09-04 17:19

iOSDeveloper

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

exportArchive Provisioning profile \"ios-unihuiyicomshare\" belongs to team \"Ping Lu\", which does not match the selected team \"Chew Wong\".

原因:
你选择的 Provisioning Profile(描述文件) 属于 Ping Lu 的 Apple Developer 账号,但你打包时在 Xcode/CI/CD 配置里选择的 Team 却是 Chew Wong。
iOS 的打包机制要求 Team ID(Apple Developer Account)和 Provisioning Profile 必须一致,否则就会报错。

要回复问题请先登录注册