DolphinFlow
DolphinFlow
  • 发布:2024-03-27 18:53
  • 更新:2024-04-07 14:17
  • 阅读:128

【报Bug】安心打包报错,传统打包可以

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 14.2.1 (23C71)

HBuilderX类型: 正式

HBuilderX版本号: 4.06

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: iphone

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

App下载地址或H5⽹址: https://apps.apple.com/cn/app/%E6%9C%A8%E9%B1%BC%E4%B8%93%E6%B3%A8-peacefocus%E6%9E%81%E7%AE%80%E7%95%AA%E8%8C%84%E9%92%9F%E8%87%AA%E5%BE%8B%E8%80%83%E7%A0%94%E5%AD%A6%E9%9C%B8%E5%BF%85%E5%A4%87/id6466410647

操作步骤:

安心打包

预期结果:

打包成功

实际结果:

打包失败报错

bug描述:

安心打包报错:

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

Prepare packages

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

GatherProvisioningInputs

CreateBuildDescription
Build description signature: 9a61f833a72f72765b6d8b0e77cdb07f
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-efdglwtnrreeejdprvlfzmkqpmqz/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/9a61f833a72f72765b6d8b0e77cdb07f.xcbuilddata

[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"FB_Distribution_20230406\" doesn't match the entitlements file's value for the com.apple.security.application-groups 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')--- 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-001150CA3EC3C01E }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:5D043906-56D5-4036-94D9-FB34A5B7E5F4, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:5D043906-56D5-4036-94D9-FB34A5B7E5F4, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:E95AC377-6F00-4B5B-8149-93F4A9F29E0A, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:E95AC377-6F00-4B5B-8149-93F4A9F29E0A, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:0AF974B2-B14E-41B5-9EF2-FF9648DC37EE, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:0AF974B2-B14E-41B5-9EF2-FF9648DC37EE, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:651C4D22-CE78-4241-8B22-47FA2B3A1CA6, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:651C4D22-CE78-4241-8B22-47FA2B3A1CA6, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:1863E0C6-AB9F-4CBD-8D59-0956108CBE6E, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:1863E0C6-AB9F-4CBD-8D59-0956108CBE6E, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:7D75C61E-8AF3-4BB1-B81D-3B1BDB80A44E, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:7D75C61E-8AF3-4BB1-B81D-3B1BDB80A44E, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:D39DC27B-630D-4EFB-BA84-6ADDB824D1EB, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:D39DC27B-630D-4EFB-BA84-6ADDB824D1EB, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:D8D8FCD6-129B-4C11-BA31-2F910015A6AE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:D8D8FCD6-129B-4C11-BA31-2F910015A6AE, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:2FA93E24-604D-4C1D-BD1A-45393B632AD4, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:2FA93E24-604D-4C1D-BD1A-45393B632AD4, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:5D4CEDE0-3518-4499-BE6D-A37169946063, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:5D4CEDE0-3518-4499-BE6D-A37169946063, OS:17.2, name:iPhone SE (3rd generation) }
ARCHIVE FAILED

之前一直用的安心打包,加了appgroup 和小组件之后,安心打包就一直爆这个错。但是传统打包就可以成功
报错信息中描述的这个profile:FB_Distribution_20230406 并不是我的

2024-03-27 18:53 负责人:无 分享
已邀请:
DCloud_heavensoft

DCloud_heavensoft

安心打包只适合前端代码的改动(wgt),涉及原生的变化,至少需要先使用传统打包一次后再安心打包

  • DolphinFlow (作者)

    试过了,没用,一直显示我的profile是这个呢:FB_Distribution_20230406

    2024-03-27 19:10

  • DolphinFlow (作者)

    回复 d***@163.com: 传统打包之后还是无法安心打包

    2024-03-27 19:23

a***@lanxiniu.com

a***@lanxiniu.com

普通打包也是报错,打包失败。 https://app.liuyingyong.cn/build/errorLog/f1c93ea0-ec34-11ee-a072-39d398504aae

2***@qq.com

2***@qq.com

有解决这个问题嘛,我现在也出现了这个问题,好像是说证书过期了,是吗

要回复问题请先登录注册