Norway


I try to deploy my on Testflight in a first .

But When I run my command : “sudo beta” I always have this error :

Check dependencies

Code 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 ' 11.1'

**   **

I really don’t know what I have to do to solve this.

What I have done :

In first, I follow this to generate my certifcates and my profils
https://codesigning.guide/
I haven’t problem with this. I can see my profils on my account developper iOS.

So I Installed plugin fastlane Ionic. And I edited my Fastfile like this :

fastlane_version "2.68.0"
generated_fastfile_id "(FAST LANE ID)"

default_platform :ios

desc "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

My App File :

app_identifier "(APP_BUNDLE)"
apple_id "(MY APPLE ID)"
team_id "(TEAM_ID)"

But when I run : sudo fastlane beta , this step fail :
ionic cordova compile ios --release --device -- --packageType=app-store --developmentTeam=(TEAM_ID) --provisioningProfile=(PROFILE_GUID)

EDIT : My Ionic Info :

cli packages: (/Users/ox/Documents//ox/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 2.1.0
    Cordova Platforms  : ios 4.5.4
    Ionic Framework    : ionic- 3.9.2

System:

    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:

    _HOME : not set

Misc:

    backend : pro

EDIT

I remove and add again my platform ios :
ionic cordova platforms remove ios
ionic cordova platforms add ios

I tried to run fastlane beta. I keep my error but a little bit different :

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'

I check in xcode and I have this errors :

enter image description here  - 9WyAU - ios – Archive failed : Fastlane with Ionic 3



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here