# "Xcode couldn't find any iOS App Development provisioning profiles matching 'com.company.app'"

**URL:** <https://discuss.bitrise.io/t/xcode-couldnt-find-any-ios-app-development-provisioning-profiles-matching-com-company-app/4934>\
**Category:** Question & Answer\
**Tags:** code-signing, xcode\
**Created:** [April 29, 2018, 5:11pm UTC](https://discuss.bitrise.io/t/xcode-couldnt-find-any-ios-app-development-provisioning-profiles-matching-com-company-app/4934 "2018-04-29T17:11:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Excurjo](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@Excurjo](https://discuss.bitrise.io/u/Excurjo)\
**Post date:** [April 29, 2018, 5:11pm UTC](https://discuss.bitrise.io/t/xcode-couldnt-find-any-ios-app-development-provisioning-profiles-matching-com-company-app/4934/1 "2018-04-29T17:11:37Z")

</div>

This is an ios app xcode code signing issue.

I’m new to most of this, so probably my biggest problem is so many unknowns. I don’t have a mac to run xcode - I started it on a friend’s mac and I’m hoping to continue my development (of which the native portions are minimal) using bitrise ci/cd only for now. My bitrise workflow steps are set to “Always use latest” for everything. I’m also using the latest High Sierra stack.

I have an apple developer account and I’ve uploaded my provisioning profile and code signing certificate to bitrise in the workflow code signing tab. Getting through those steps are harder to do without a mac, but I think I completed them correctly. This is the log from my failing build - the certificate-and-profile-installer succeeds, seeming to list the very Provisioning Profile that xcode later reports not being able to find. My pbxproj file’s DEVELOPMENT\_TEAM matches MY development team company id and PRODUCT\_BUNDLE\_IDENTIFIER matches the provisioning profile’s “com.company.app”. What else might be misaligned to have this symptom?

```
certificate-and-profile-installer, version: 1.9.2
             
...

Downloading certificate: 1/2
Downloading certificate: 2/2
Installing downloaded certificates

(lists them)

...

Downloading & installing Provisioning Profile(s)
Downloading provisioning profile: 1/2

Development (...)
exportType: development
team: Company LLC (XYZ)
bundleID: com.company.app

Downloading provisioning profile: 2/2

BitriseBot-Wildcard

...

+---+---------------------------------------------------------------+----------+
| ✓ | certificate-and-profile-installer | 9.81 sec |

```

But later:

```
Last lines of the Xcode's build log:
Check dependencies
Code Signing Error: No profiles for 'com.company.app' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.company.app'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'
```

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [May 8, 2018, 3:36pm UTC](https://discuss.bitrise.io/t/xcode-couldnt-find-any-ios-app-development-provisioning-profiles-matching-com-company-app/4934/2 "2018-05-08T15:36:42Z")

</div>

Hi @Excurjo,

Unfortunately without the full logs it’s pretty hard to tell why you get that error. In 99% of the cases it’s because of a missing development prov profile.

The issue there is that our usual recommendation is to run our `codesigndoc` tool **on your own Mac** where you can sign the app, because if you can sign it there that means that Mac has all the required files, and `codesigndoc` can collect those.

Codesigndoc related guides:

- DevCenter: [https://devcenter.bitrise.io/ios/code-signing/#collect-the-required-files-with-codesigndoc](https://devcenter.bitrise.io/ios/code-signing/#collect-the-required-files-with-codesigndoc)
- codesigndoc’s github page: [https://github.com/bitrise-tools/codesigndoc](https://github.com/bitrise-tools/codesigndoc)

Based on what you wrote it seems you don’t have access to a Mac machine right now, is that correct?  
If it is that might complicate things a bit unfortunately, as most of the official Apple tools (including Xcode) only works on MacOS.

A couple of possible solutions:

- Remote desktop into the [bitrise.io](http://bitrise.io) build VM and try to generate the files there, e.g. by signing into Xcode.app there. Related guide: [https://gist.github.com/viktorbenei/c6d4fe1e68de739dbb5f4f15de76b9db](https://gist.github.com/viktorbenei/c6d4fe1e68de739dbb5f4f15de76b9db)
  - Keep in mind that the build VM will only be available during the build, so if you hit the build time limit the VM will be removed automatically and immediately. If that would happen / would be an issue feel free to ping our support for a short 1-2 week trial.

- Alternatively you can of course also search for a MacOS VM renting service like [https://www.macstadium.com/](https://www.macstadium.com/) or [https://www.macincloud.com/](https://www.macincloud.com/)
- If you already have the base development signing files in place / uploaded to [bitrise.io](http://bitrise.io) then you should be able to utilize our **iOS Auto Provisioning** feature. Related blog post: [https://blog.bitrise.io/ios-auto-provision-step](https://blog.bitrise.io/ios-auto-provision-step)

Probably there are other solutions as well, but I think either of these should work ( a) use a MacOS VM or similar, make sure you can sign the project there e.g. by Archiving in Xcode.app then run `codesigndoc` to collect the signing files or b) if the base certificate is available on [bitrise.io](http://bitrise.io) use the iOS Auto Provisioning fature ).

I hope this helps, if you’d have any questions please let us know! 😉
