ios – 归档失败:Fastlane with Ionic 3

ios – 归档失败:Fastlane with Ionic 3,第1张

概述我尝试第一次在Testflight上部署我的Ionic 3应用程序. 但当我运行我的命令时:“sudo fastlane beta”我总是有这个错误: Check dependenciesCode Signing Error: No profile for team '(TEAM_ID)' matching 'match AppStore (APP_BUNDLE)' found: Xcode 我尝试第一次在Testflight上部署我的Ionic 3应用程序.

但当我运行我的命令时:“sudo fastlane beta”我总是有这个错误:

Check dependencIEsCode Signing Error: No profile for team '(TEAM_ID)' matching 'match AppStore (APP_BUNDLE)' found:  Xcode Couldn't find any provisioning profiles matching '(TEAM_ID)/match AppStore (APP_BUNDLE)'. Install the profile (by dragging and dropPing it onto Xcode's dock item) or select a different one in the General tab of the target editor.Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.1'** ARCHIVE Failed **

我真的不知道我要做些什么来解决这个问题.

我做了什么 :

首先,我按照这个来生成我的证书和我的个人资料
https://codesigning.guide/
我没有问题.我可以在我的帐户开发者iOS上看到我的个人资料.

所以我安装了插件fastlane Ionic.我编辑了我的Fastfile,如下所示:

fastlane_version "2.68.0"generated_fastfile_ID "(FAST LANE ID)"default_platform :iosdesc "submit a new Beta Build to Apple TestFlight"desc "This will also make sure the profile is up to date"lane :beta do  match(type: "appstore")  ionic(platform: 'ios')  pilot(ipa: ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'])end

我的应用文件:

app_IDentifIEr "(APP_BUNDLE)"apple_ID "(MY APPLE ID)"team_ID "(TEAM_ID)"

但是当我运行:sudo fastlane beta时,这一步失败了:
离子cordova编译ios –release –device – –packageType = app-store –developmentTeam =(TEAM_ID)–provisioningProfile =(PROfile_GUID)

编辑:我的离子信息:

cli packages: (/Users/ox/documents/Mobile/ox/node_modules)    @ionic/cli-utils  : 1.19.0    ionic (Ionic Cli) : 3.19.0global packages:    cordova (Cordova Cli) : 7.1.0 local packages:    @ionic/app-scripts : 2.1.0    Cordova Platforms  : ios 4.5.4    Ionic Framework    : ionic-angular 3.9.2System:    ios-deploy : 1.9.2     ios-sim    : 5.1.0     Node       : v6.11.3    npm        : 5.6.0     OS         : macOS SIErra    Xcode      : Xcode 9.1 Build version 9B55 Environment Variables:    ANDROID_HOME : not setMisc:    backend : pro

编辑

我删除并再次添加我的平台ios:
离子cordova平台删除ios
离子cordova平台添加ios

我试图运行fastlane beta.我保留我的错误但有点不同:

Code Signing Error: No profile for team '(TEAM_ID)' matching '(PROfile_UUID)' found:  Xcode Couldn't find any provisioning profiles matching '(TEAM_ID)/(PROfile_UUID)'. Install the profile (by dragging and dropPing it onto Xcode's dock item) or select a different one in the General tab of the target editor.    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.1'

我检查xcode,我有这个错误:

解决方法 >你不应该做sudo fastlane ……!如果需要root,请尝试使用fastlane beta – 可能你必须重新安装这些工具.另外,推荐的方法是使用 bundler来管理ruby依赖项
>尝试在Xcode中执行Archive命令,并确保您能够手动构建和签署项目
>运行fastlane match命令以获取您的配置文件(可能会要求您登录iTunesConnect …)

>万一匹配失败 – 请使用参数指定你的团队/ app:fastlane动作匹配 – 此命令显示你有的选项

>尝试fastlane beta没有sudo!

@H_404_75@ 总结

以上是内存溢出为你收集整理的ios – 归档失败:Fastlane with Ionic 3全部内容,希望文章能够帮你解决ios – 归档失败:Fastlane with Ionic 3所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1055654.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-25
下一篇2022-05-25

发表评论

登录后才能评论

评论列表(0条)

    保存