# Archive failed : Fastlane with Ionic 3

**URL:** <https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682>\
**Category:** ionic-v3\
**Created:** [January 9, 2018, 11:02am UTC](https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682 "2018-01-09T11:02:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpivet](https://avatars.discourse-cdn.com/v4/letter/v/c2a13f/32.png) [@vpivet](https://forum.ionicframework.com/u/vpivet)\
**Post date:** [January 9, 2018, 11:02am UTC](https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682/1 "2018-01-09T11:02:01Z")

</div>

Hello, I try to deploy my Ionic 3 App on Testflight in a first time.

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

```auto

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

**ARCHIVE FAILED**

```

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/](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 :

```auto

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 :

```auto
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)`

---

<div class="post-metadata">

**Author:** ![bradleyjoyce](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradleyjoyce/32/69036_2.png) [@bradleyjoyce](https://forum.ionicframework.com/u/bradleyjoyce)\
**Post date:** [May 22, 2018, 11:19pm UTC](https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682/2 "2018-05-22T23:19:12Z")

</div>

I am running into this as well… very frustrating!

---

<div class="post-metadata">

**Author:** ![bradleyjoyce](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradleyjoyce/32/69036_2.png) [@bradleyjoyce](https://forum.ionicframework.com/u/bradleyjoyce)\
**Post date:** [May 23, 2018, 4:01am UTC](https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682/3 "2018-05-23T04:01:55Z")

</div>

OOOK I finally got past this by creating a manual build.json as specified here: [https://stackoverflow.com/questions/46344443/after-upgrading-to-xcode-9-cordova-app-wont-build-error-70-requires-provisio/46370957#46370957](https://stackoverflow.com/questions/46344443/after-upgrading-to-xcode-9-cordova-app-wont-build-error-70-requires-provisio/46370957#46370957)

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:55pm UTC](https://forum.ionicframework.com/t/archive-failed-fastlane-with-ionic-3/117682/4 "2021-07-19T21:55:58Z")

</div>

Closed on July 19, 2021, 9:55pm UTC


