gpt4 book ai didi

ios - Github 操作 : No signing certificate "iOS Development" found

转载 作者:行者123 更新时间:2023-12-05 05:42:24 39 4
gpt4 key购买 nike

相关问题在这里:https://github.com/yukiarrr/ios-build-action/issues/74

更新:我的项目中的任何代码中都没有“iOS 开发”。而且只有当我在 code-signing-identity 上放置一个字符串而不是 GitHub secret 时,这个词才会显示,无论我输入什么字符串。

我在 Github Action 上使用 ios-build-action@v1.5.0 来自动化将我的 Ionic 项目部署到 TestFlight 的过程。但不知何故,我遇到了这个错误。

新的配置文件已经生成并作为 secret 提供,我相信证书也在构建过程中生成。

有什么解决办法吗?可能的问题是什么?

相关推荐:

      - name: Publish as internal testing
uses: yukiarrr/ios-build-action@v1.5.0
with:
project-path: ./platforms/ios/myproject.xcodeproj
p12-base64: ${{ secrets.IOS_P12_BASE64 }}
mobileprovision-base64: ${{ secrets.IOS_PROVISION_FILE }}
code-signing-identity: Apple Development
team-id: ${{ secrets.IOS_TEAM_ID }}

相关日志如下,与那个issue略有不同:

+--------------------------------------------------+-----------------------------------------------------------+
| Summary for gym 2.205.2 |
+--------------------------------------------------+-----------------------------------------------------------+
| workspace | ./platforms/ios/myproject.xcworkspace |
| configuration | Release |
| scheme | myproject |
| output_directory | . |
| output_name | output |
| clean | true |
| export_method | app-store |
| export_options.provisioningProfiles.com.myproject | myproject Github Action CI/CD |
| skip_profile_detection | false |
| destination | generic/platform=iOS |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| build_path | /Users/runner/Library/Developer/Xcode/Archives/2022-04-28 |
| result_bundle | false |
| buildlog_path | ~/Library/Logs/gym |
| xcodebuild_formatter | xcpretty |
| xcodebuild_command | xcodebuild |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Applications/Xcode_13.2.1.app |
+--------------------------------------------------+-----------------------------------------------------------+
[22:27:00]: $ set -o pipefail && xcodebuild -workspace ./platforms/ios/myproject.xcworkspace -scheme myproject -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/runner/Library/Developer/Xcode/Archives/2022-04-28/output\ 2022-04-28\ 22.27.00.xcarchive clean archive | tee /Users/runner/Library/Logs/gym/myproject-myproject.log | xcpretty
[22:27:06]: ▸ Clean Succeeded
[22:27:13]: ▸ ❌ error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "***" with a private key was found. (in target 'myproject' from project 'myproject')
[22:27:13]: ▸ ❌ error: Provisioning profile "myproject Github Action CI/CD" doesn't support the Push Notifications capability. (in target 'myproject' from project 'myproject')
[22:27:13]: ▸ ❌ error: Provisioning profile "myproject Github Action CI/CD" doesn't include the aps-environment entitlement. (in target 'myproject' from project 'myproject')
[22:27:13]: ▸ ** ARCHIVE FAILED **
▸ Clean Succeeded
❌ error: No certificate for team '***' matching '***' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'myproject' from project 'myproject')
❌ error: Provisioning profile "myproject Github Action CI/CD" doesn't support the Push Notifications capability. (in target 'myproject' from project 'myproject')
❌ error: Provisioning profile "myproject Github Action CI/CD" doesn't include the aps-environment entitlement. (in target 'myproject' from project 'myproject')
** ARCHIVE FAILED **
[22:27:13]: Exit status: 65
[22:27:13]:
[22:27:13]: Maybe the error shown is caused by using the wrong version of Xcode
[22:27:13]: Found multiple versions of Xcode in '/Applications/'
[22:27:13]: Make sure you selected the right version for your project
[22:27:13]: This build process was executed using '/Applications/Xcode_13.2.1.app'
[22:27:13]: If you want to update your Xcode path, either
[22:27:13]:
[22:27:13]: - Specify the Xcode version in your Fastfile
[22:27:13]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[22:27:13]:
[22:27:13]: - Specify an absolute path to your Xcode installation in your Fastfile
[22:27:13]: ▸ xcode_select "/Applications/Xcode8.app"
[22:27:13]:
[22:27:13]: - Manually update the path using
[22:27:13]: ▸ sudo xcode-select -s /Applications/Xcode.app
[22:27:13]:
+---------------+--------------------------------+
| Build environment |
+---------------+--------------------------------+
| xcode_path | /Applications/Xcode_13.2.1.app |
| gym_version | 2.205.2 |
| export_method | app-store |
| sdk | iPhoneOS15.2.sdk |
+---------------+--------------------------------+

最佳答案

此问题是由于 iOS 和 Android 上的应用程序 ID 不同但未在 config.xml 中将它们分开造成的。如果遇到此问题,您可能需要检查您的应用程序 ID,看看它们在不同平台上是否一致。就我而言,iOS 应用程序 ID 未正确应用导致此问题。

关于ios - Github 操作 : No signing certificate "iOS Development" found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72051226/

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