gpt4 book ai didi

php 运行 xcodebuild 找不到配置文件

转载 作者:行者123 更新时间:2023-11-29 01:40:06 26 4
gpt4 key购买 nike

我想运行一个服务器来为我构建 ipa。当涉及到使用 Xcode 构建应用程序时,请使用这些命令:

/usr/bin/xcodebuild -project /Users/xxxx/sites/PhpServer/AutoUpload/ProjectsDir/48c36d185970fa9231f1f6274b72cf60/48c36d185970fa9231f1f6274b72cf60.xcodeproj -target 48c36d185970fa9231f1f6274b72cf60 -configuration Release PROVISIONING_PROFILE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

结果是:

Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings

我已经检查了 ~/Library/MobileDevice/Provisioning profile,provisioning profile 就在那里。

令我感到困惑的是,它在服务器根目录所在的同一目录的终端中运行良好。

我在想的是,也许从 php 执行的 xcodebuild 找不到 ~/Library/MobileDevice/Provisioning profile 目录。

  1. 如何在使用 xcodebuild 时指定配置文件的位置路径,PROVISIONING_PROFILE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 仅指定 ID ,位置路径呢?

  2. Building ipa有没有其他方法可以打通?

最佳答案

我终于解决了这个问题。我大喊“终于……”。

这是因为当您双击.cer文件进行安装时,系统会在“登录”类别下安装.cer文件。您需要做的是打开钥匙串(keychain)应用程序将.cer文件从“登录”移动到“系统”类别。

关于php 运行 xcodebuild 找不到配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32492669/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com