{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/13482","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/13482/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/13482/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/13482/events","html_url":"https://github.com/fastlane/fastlane/issues/13482","id":366054796,"node_id":"MDU6SXNzdWUzNjYwNTQ3OTY=","number":13482,"title":"fastlane match provisioning profile issue: \"Provisioning profile '...' is not available on the Developer Portal\"","user":{"login":"hisaac","id":923876,"node_id":"MDQ6VXNlcjkyMzg3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/923876?v=4","gravatar_id":"","url":"https://api.github.com/users/hisaac","html_url":"https://github.com/hisaac","followers_url":"https://api.github.com/users/hisaac/followers","following_url":"https://api.github.com/users/hisaac/following{/other_user}","gists_url":"https://api.github.com/users/hisaac/gists{/gist_id}","starred_url":"https://api.github.com/users/hisaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hisaac/subscriptions","organizations_url":"https://api.github.com/users/hisaac/orgs","repos_url":"https://api.github.com/users/hisaac/repos","events_url":"https://api.github.com/users/hisaac/events{/privacy}","received_events_url":"https://api.github.com/users/hisaac/received_events","type":"User","site_admin":false},"labels":[{"id":389827016,"node_id":"MDU6TGFiZWwzODk4MjcwMTY=","url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-02T19:54:44Z","updated_at":"2018-11-10T17:32:15Z","closed_at":"2018-11-10T17:32:15Z","author_association":"NONE","body":"<!-- Thanks for helping _fastlane_! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->\r\n\r\n### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Issue Description\r\n<!-- Please include what's happening, expected behavior, and any relevant code samples -->\r\n\r\nAfter adding a device to my Apple Developer portal, and updating my development provisioning profile using fastlane match, I am now running into issues when trying to use match with my Enterprise provisioning profile.\r\n\r\nWhen I run `fastlane match enterprise`, it gets to the `Installing provisioning profile...` step, and then I get an error saying: `Provisioning profile 'XXX' is not available on the Developer Portal for the user XXX`.\r\n\r\n### Troubleshooting I've Tried\r\n\r\n- Running `fastlane match development --force` creates a brand new provisioning profile. I need to be able to use the existing one.\r\n- I deleted the provisioning profile from my certificates repo, and expected fastlane to just redownload the existing one from the developer portal, but instead it I get the same error.\r\n\r\nI've seen some people say that deleting the provisioning profile from the portal will force fastlane to recreate one, but I can't do that because then all the apps on devices will stop working. Is there a way to get fastlane to just download and use the existing profile in the developer portal?\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n<!-- You can use: `--capture_output` as the last commandline argument to get that collected for you -->\r\n\r\n<!-- The output of `--capture_output` could contain sensitive data such as application ids, certificate ids, or email addresses, Please make sure you double check the output and replace anything sensitive you don't wish to submit in the issue -->\r\n\r\n<details>\r\n<summary>Results of running <code>bundle exec fastlane match enterprise</code></summary>\r\n<pre>\r\n<code>\r\n[✔] 🚀\r\n[14:37:59]: Successfully loaded '/Users/.../fastlane/Matchfile' 📄\r\n\r\n+-----------------------+------------------------------------------------------+\r\n|                 Detected Values from './fastlane/Matchfile'                  |\r\n+-----------------------+------------------------------------------------------+\r\n| git_url               | https://.../ios.certificates                         |\r\n| type                  | development                                          |\r\n| app_identifier        | [\"...\"]                                              |\r\n| username              | ...                                                  |\r\n| force_for_new_devices | true                                                 |\r\n+-----------------------+------------------------------------------------------+\r\n\r\n\r\n+-----------------------+------------------------------------------------------+\r\n|                          Summary for match 2.105.2                           |\r\n+-----------------------+------------------------------------------------------+\r\n| type                  | enterprise                                           |\r\n| git_url               | https://.../ios.certificates                         |\r\n| git_branch            | master                                               |\r\n| app_identifier        | [\"...\"]                                              |\r\n| username              | ...                                                  |\r\n| keychain_name         | login.keychain                                       |\r\n| readonly              | false                                                |\r\n| verbose               | false                                                |\r\n| force                 | false                                                |\r\n| skip_confirmation     | false                                                |\r\n| shallow_clone         | false                                                |\r\n| clone_branch_directly | false                                                |\r\n| force_for_new_devices | true                                                 |\r\n| skip_docs             | false                                                |\r\n| platform              | ios                                                  |\r\n+-----------------------+------------------------------------------------------+\r\n\r\n[14:37:59]: Cloning remote git repo...\r\n[14:37:59]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.\r\n[14:38:01]: 🔓  Successfully decrypted certificates repo\r\n[14:38:01]: Verifying that the certificate and profile are still valid on the Dev Portal...\r\n[14:38:03]: Installing certificate...\r\n\r\n+-------------------+------------------------------------------+\r\n|                    Installed Certificate                     |\r\n+-------------------+------------------------------------------+\r\n| User ID           | 3NN3H9W5HU                               |\r\n| Common Name       | iPhone Distribution: ... Inc.            |\r\n| Organisation Unit | ...                                      |\r\n| Organisation      | ... Inc.                                 |\r\n| Country           | US                                       |\r\n| Start Datetime    | 2018-08-26 15:22:09 UTC                  |\r\n| End Datetime      | 2021-08-25 15:22:09 UTC                  |\r\n+-------------------+------------------------------------------+\r\n\r\n[14:38:04]: Installing provisioning profile...\r\n[14:38:05]: Provisioning profile '...' is not available on the Developer Portal\r\n[14:38:05]: for the user ...\r\n[14:38:05]: Make sure to use the same user and team every time you run 'match' for this\r\n[14:38:05]: Git repository. This might be caused by deleting the provisioning profile on the Dev Portal\r\n\r\n[!] To reset the provisioning profiles of your Apple account, you can use the `fastlane match nuke` feature, more information on https://docs.fastlane.tools/actions/match/\r\n</code>\r\n</pre>\r\n</details>\r\n\r\n### Environment\r\n\r\n<!-- Please run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option, please remove this block as it is already included there. -->\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.14                                       |\r\n| Ruby                        | 2.5.1                                       |\r\n| Bundler?                    | true                                        |\r\n| Git                         | git version 2.19.0                          |\r\n| Installation Source         | /usr/local/bin/fastlane                     |\r\n| Host                        | Mac OS X 10.14 (18A391)                     |\r\n| Ruby Lib Dir                | /usr/local/Cellar/ruby/2.5.1/lib            |\r\n| OpenSSL Version             | OpenSSL 1.0.2p  14 Aug 2018                 |\r\n| Is contained                | false                                       |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 10.0                                        |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   |             |   |\r\n| LANGUAGE |             |   |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary><code>./fastlane/Fastfile</code></summary>\r\n\r\n```ruby\r\ndefault_platform(:ios)\r\n\r\nplatform :ios do\r\n\r\n\tbefore_all do\r\n\t\tupdate_fastlane\r\n\t\tclear_derived_data\r\n\tend\r\n\r\n\tdesc \"Increments build number and builds the app\"\r\n\tlane :beta do\r\n\t\tincrement_build_number\r\n\t\tbuild_app\r\n\tend\r\n\r\n\tdesc \"Build app\"\r\n\tlane :build do\r\n\t\tcarthage(platform: \"iOS\")\r\n\t\tsigh\r\n\t\tgym(scheme: \"...\")\r\n\tend\r\n\r\nend\r\n\r\n```\r\n</details>\r\n\r\n<details><summary><code>./fastlane/Appfile</code></summary>\r\n\r\n```ruby\r\napp_identifier \"...\"\r\napple_id ENV[\"...\"]\r\n\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.105.2 | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| did_you_mean              | 1.2.1        |\r\n| bundler                   | 1.16.5       |\r\n| CFPropertyList            | 3.0.0        |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.2        |\r\n| atomos                    | 0.1.3        |\r\n| babosa                    | 1.0.2        |\r\n| claide                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| colored2                  | 3.1.2        |\r\n| highline                  | 1.7.10       |\r\n| commander-fastlane        | 4.4.6        |\r\n| declarative               | 0.0.10       |\r\n| declarative-option        | 0.1.0        |\r\n| unf_ext                   | 0.0.7.5      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20180417 |\r\n| dotenv                    | 2.5.0        |\r\n| emoji_regex               | 0.1.1        |\r\n| excon                     | 0.62.0       |\r\n| multipart-post            | 2.0.0        |\r\n| faraday                   | 0.15.3       |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| faraday_middleware        | 0.12.2       |\r\n| fastimage                 | 2.1.4        |\r\n| gh_inspector              | 1.1.3        |\r\n| jwt                       | 2.1.0        |\r\n| memoist                   | 0.16.0       |\r\n| multi_json                | 1.13.1       |\r\n| os                        | 1.0.0        |\r\n| signet                    | 0.10.0       |\r\n| googleauth                | 0.6.6        |\r\n| httpclient                | 2.8.3        |\r\n| mime-types-data           | 3.2018.0812  |\r\n| mime-types                | 3.2.2        |\r\n| uber                      | 0.1.0        |\r\n| representable             | 3.0.4        |\r\n| retriable                 | 3.1.2        |\r\n| google-api-client         | 0.23.9       |\r\n| json                      | 2.1.0        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_xml                 | 0.6.0        |\r\n| plist                     | 3.4.0        |\r\n| rubyzip                   | 1.2.2        |\r\n| security                  | 0.1.3        |\r\n| naturally                 | 2.2.0        |\r\n| simctl                    | 1.6.5        |\r\n| slack-notifier            | 2.3.2        |\r\n| terminal-notifier         | 1.8.0        |\r\n| unicode-display_width     | 1.4.0        |\r\n| terminal-table            | 1.8.0        |\r\n| tty-screen                | 0.6.5        |\r\n| tty-cursor                | 0.6.0        |\r\n| tty-spinner               | 0.8.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| nanaimo                   | 0.2.6        |\r\n| xcodeproj                 | 1.6.0        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.3.0        |\r\n| xcpretty-travis-formatter | 1.0.0        |\r\n| xcode-install             | 2.4.4        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-10-02**\r\n</details>\r\n"}}
{"actor":{"display_login":"fastlane-bot"}}