q***@163.com
q***@163.com
  • 发布:2025-01-14 13:43
  • 更新:2025-01-15 08:05
  • 阅读:86

IOS云打包失败,求大佬看看

分类:HBuilder

Appid: UNI6765028
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 Debug

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/usr/bin/ibtool --version --output-format xml1

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/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: 9ccdac1e66a5d3b3ca1948865e6d71a3
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-dsusdwkmpawchebrxcxdmkbvtoic/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/9ccdac1e66a5d3b3ca1948865e6d71a3.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"dida\" doesn't support the App Groups capability. (in target 'HBuilder' from project 'HBuilder')
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"dida\" doesn't include 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')
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:50854179-90DA-4762-B4B0-B2391FE92E52, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:50854179-90DA-4762-B4B0-B2391FE92E52, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:12C90E47-1360-4BA0-A240-747F3AA548BD, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:12C90E47-1360-4BA0-A240-747F3AA548BD, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:06F4E4DD-D607-401E-B875-90A46AF2BC70, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:06F4E4DD-D607-401E-B875-90A46AF2BC70, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:25E532C8-E2E6-4E28-B599-01803627B5D4, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:25E532C8-E2E6-4E28-B599-01803627B5D4, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:15FEB433-F852-4C89-BE95-E5058FAEDE81, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:15FEB433-F852-4C89-BE95-E5058FAEDE81, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:5260961C-899E-4DDC-A09C-8076E466A38E, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:5260961C-899E-4DDC-A09C-8076E466A38E, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:6BB64F16-3AFE-4538-9491-D73456F1CBE6, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:6BB64F16-3AFE-4538-9491-D73456F1CBE6, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:4D1462CD-819B-4848-9142-E2910E1B3BED, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:4D1462CD-819B-4848-9142-E2910E1B3BED, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:AA8D4289-CF82-4D00-9B8C-EACC6EFDDEA4, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:AA8D4289-CF82-4D00-9B8C-EACC6EFDDEA4, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:AB69CCBE-AB26-496D-80B9-42B48E115CAA, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:AB69CCBE-AB26-496D-80B9-42B48E115CAA, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:9B4E2FE0-9409-4C04-B654-B36E6E936BC7, OS:18.1, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:9B4E2FE0-9409-4C04-B654-B36E6E936BC7, OS:18.1, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Archiving project HBuilder with scheme HBuilder
(1 failure)
日志:https://app.liuyingyong.cn/build/errorLog/19765d90-d238-11ef-8eae-b52b6c4590fb

2025-01-14 13:43 负责人:无 分享
已邀请:

最佳回复

DCloud_App_Array

DCloud_App_Array

项目的manifest.json中配置了capabilities,:

复制代码        "capabilities": {  
          "entitlements": {  
            "com.apple.security.application-groups": [""]  
          }  
        },

去掉以上配置,或者苹果后台对应的AppID下勾选“App Groups”,重新生成profile文件并下载,再提交云端打包。

关键错误信息:

复制代码[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile "dida" doesn't support the App Groups capability. (in target 'HBuilder' from project 'HBuilder')  
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile "dida" doesn't include 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')  
蔡cai

蔡cai

‌com.apple.developer.associated-domains‌是一个权限设置,允许iOS应用通过URL打开其他应用或服务。证书那边有配置相关权限嘛?有重新生成证书吗?应该是这个问题吧

q***@163.com

q***@163.com (作者)

谢谢两位,capabilities去掉了,权限加上了,成功了

要回复问题请先登录注册

  • 标题 / 粗斜体
  • 代码片段
  • 超链接 / 图片 / 视频
  • 列表 / 引用

文章内容较多时,可以用标题分段 :

## 大标题 
### 小标题

斜体 / 粗体 :

**粗体** 
*斜体*
***粗斜体***

代码片段 :

``` javascript
代码片段
```

超链接 :

[链接文字](链接地址) 例: [百度](http://www.baidu.com)

图片 :

![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)

视频 :

!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)

有序列表 :

1. 123
2. 123
3. 123

无序列表 :

- 123
- 123
- 123

引用 : ( 双回车后结束引用 )

> 引用内容
引用内容
引用内容