# No profile found error, using CLI

**URL:** <https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404>\
**Category:** Builds\
**Created:** [December 18, 2019, 6:26pm UTC](https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404 "2019-12-18T18:26:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rconroy-oanda](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rconroy-oanda](https://discuss.bitrise.io/u/rconroy-oanda)\
**Post date:** [December 18, 2019, 6:26pm UTC](https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404/1 "2019-12-18T18:26:44Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

I can build (archive) the app using Xcode, and I can build it using bitrise online. I’m trying some tests locally, and I’m using the same bitrise.yml file, but it always fails with this error:

Check dependencies  
Code Signing Error: No profiles for ‘com.xxx.fxmobile.iphone.yyy’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.xxx.fxmobile.iphone.yyy’. Automatic signing is disabled and unable to generate a profile.

## Environment:

Mac OS, using the command line

If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)

E.g.: Git Clone v3.6.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : YES/NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : YES/NO
- _Does the issue happen sporadically, or every time?_ :
- _Does upgrading the build Step to the latest version help?_ : YES/NO
- _When did the issue start?_ :

### Local reproduction

Only happens locally

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [December 20, 2019, 10:02am UTC](https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404/2 "2019-12-20T10:02:47Z")

</div>

Hi there @rconroy-oanda!

Could you please send us the build log file and enable support access ([Enabling the Bitrise Support user for your app | Bitrise DevCenter](https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/)) so that we may take a closer look? 🙂

---

<div class="post-metadata">

**Author:** ![rconroy-oanda](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rconroy-oanda](https://discuss.bitrise.io/u/rconroy-oanda)\
**Post date:** [January 3, 2020, 12:26am UTC](https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404/3 "2020-01-03T00:26:14Z")

</div>

I am placing here the build log file, and I would enable support access, but this is being done entirely on my laptop, not through bitrise’s web interface. Would you still want that?

-=-=-

$ npm “install”  
npm WARN lifecycle undefined~postinstall: cannot run in wd undefined pod install --repo-update (wd=/Users/xxxxx/Documents/xcode/xxxxx)  
npm WARN react-native@0.61.2 requires a peer of react@16.9.0 but none is installed. You must install peer dependencies yourself.  
npm WARN xxxxx No repository field.  
npm WARN xxxxx No license field.

audited 68816 packages in 3.059s

4 packages are looking for funding  
run `npm fund` for details

found 4 low severity vulnerabilities  
run `npm audit fix` to fix them, or `npm audit` for details

Step success  
| |  
±–±--------------------------------------------------------------±---------+  
| ✓ | NPM Install | 4.60 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (6) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:21-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:21] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:21] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.48 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (7) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:21-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:21] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:21] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (8) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:22-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:22] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:22] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (9) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:22-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:22] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:22] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (10) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:23-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:23] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:23] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.46 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (11) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:23-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:23] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:23] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.46 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (12) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:24-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:24] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:24] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.49 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (13) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:24-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:24] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:24] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.65 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (14) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:25-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:25] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:25] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.50 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (15) set-xcode-build-number@1.0.9 |  
±-----------------------------------------------------------------------------+  
| id: set-xcode-build-number |  
| version: 1.0.9 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: bash |  
| time: 2019-12-17T16:51:25-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:51:25] The step’s (set-xcode-build-number@1.0.9) Run-If expression evaluated to false - skipping  
INFO[16:51:25] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.49 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (16) xcode-archive@2.7.1 |  
±-----------------------------------------------------------------------------+  
| id: xcode-archive |  
| version: 2.7.1 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2019-12-17T16:51:26-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
INFO[16:51:26] \* [OK] Step dependency (xcode) installed, available.  
Configs:

- ExportMethod: ad-hoc
- UploadBitcode: true
- CompileBitcode: true
- ICloudContainerEnvironment:
- TeamID:
- UseDeprecatedExport: false
- ForceTeamID: xxxxx
- ForceProvisioningProfileSpecifier:
- ForceProvisioningProfile:
- ForceCodeSignIdentity:
- CustomExportOptionsPlistContent:
- OutputTool: xcpretty
- Workdir: /Users/rconroy/Documents/xcode/xxxxx
- ProjectPath: xxxxx.xcworkspace
- Scheme: xxxxx
- Configuration: Debug
- OutputDir: /tmp/deploy004578558
- IsCleanBuild: false
- XcodebuildOptions: -UseModernBuildSystem=NO
- DisableIndexWhileBuilding: true
- ExportAllDsyms: true
- ArtifactName: xxxxx
- VerboseLog: true
- CacheLevel: swift\_packages

step determined configs:

- xcodebuildVersion: Xcode 11.2.1 (Build version 11B500)

Checking if output tool (xcpretty) is installed

- xcprettyVersion: 0.3.0

Create the Archive …

Forcing Development Team: xxxxx  
[16:51:27] $ set -o pipefail && xcodebuild “-workspace” “/Users/rconroy/Documents/xcode/xxxxx/xxxxx.xcworkspace” “-scheme” “xxxxx” “-configuration” “Debug” “DEVELOPMENT\_TEAM=xxxxx” “COMPILER\_INDEX\_STORE\_ENABLE=NO” “archive” “-archivePath” “/tmp/\_\_archive\_\_02236113/xxxxx.xcarchive” “-UseModernBuildSystem=NO” | xcpretty

▸ Aggregate xxxxx/Generate Strings Files [Debug]  
▸ Check Dependencies  
▸ Running script ‘Run Script’  
…  
▸ Check Dependencies  
▸ Processing Info.plist  
▸ Building xxxxx/PandaTraderStickers [Debug]  
▸ Check Dependencies

Last lines of the Xcode’s build log:  
Check dependencies  
Code Signing Error: No profiles for ‘com.xxxxx.xxxxx.iphone.pandatraderstickers’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching 'com.xxxxx.xxxxx

.iphone.pandatraderstickers’. 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 ‘App Extension’ in SDK ‘iOS 13.2’

\*\* ARCHIVE FAILED \*\*

The following build commands failed:  
Check dependencies  
(1 failure)  
You can find the last couple of lines of Xcode’s build log above, but the full log is also available in the raw-xcodebuild-output.log  
The log file is stored in $BITRISE\_DEPLOY\_DIR, and its full path is available in the $BITRISE\_XCODE\_RAW\_RESULT\_TEXT\_PATH environment variable  
(value: /tmp/deploy004578558/raw-xcodebuild-output.log)  
Archive failed, error: exit status 65  
| |  
±–±--------------------------------------------------------------±---------+  
| x | xcode-archive@2.7.1 (exit code: 1) | 45.29 sec|  
±–±--------------------------------------------------------------±---------+  
| Issue tracker: [https://github.com/bitrise-steplib/steps-xcode-archive/issues](https://github.com/bitrise-steplib/steps-xcode-archive/issues) |  
| Source: [https://github.com/bitrise-steplib/steps-xcode-archive](https://github.com/bitrise-steplib/steps-xcode-archive) |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (17) deploy-to-bitrise-io@1.9.4 |  
±-----------------------------------------------------------------------------+  
| id: deploy-to-bitrise-io |  
| version: 1.9.4 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2019-12-17T16:52:11-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:52:11] The step’s (deploy-to-bitrise-io@1.9.4) Run-If expression evaluated to false - skipping  
INFO[16:52:11] The Run-If expression was: .IsCI  
| |  
±–±--------------------------------------------------------------±---------+  
| - | deploy-to-bitrise-io@1.9.4 | 0.63 sec |  
±–±--------------------------------------------------------------±---------+

```
                                      ▼

```

±-----------------------------------------------------------------------------+  
| (18) cache-push@2.2.3 |  
±-----------------------------------------------------------------------------+  
| id: cache-push |  
| version: 2.2.3 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2019-12-17T16:52:12-05:00 |  
±-----------------------------------------------------------------------------+  
| |  
WARN[16:52:12] The step’s (cache-push@2.2.3) Run-If expression evaluated to false - skipping  
INFO[16:52:12] The Run-If expression was: .IsCI | and (not .IsPR)  
| |  
±–±--------------------------------------------------------------±---------+  
| - | cache-push@2.2.3 | 0.54 sec |  
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+  
| bitrise summary |  
±–±--------------------------------------------------------------±---------+  
| | title | time (s) |  
±–±--------------------------------------------------------------±---------+  
| - | activate-ssh-key@4.0.5 | 0.49 sec |  
±–±--------------------------------------------------------------±---------+  
| - | git-clone@4.0.17 | 1.09 sec |  
±–±--------------------------------------------------------------±---------+  
| - | cache-pull@2.1.3 | 0.58 sec |  
±–±--------------------------------------------------------------±---------+  
| ✓ | Install Ruby Gems | 4.77 sec |  
±–±--------------------------------------------------------------±---------+  
| - | certificate-and-profile-installer@1.10.2 | 0.65 sec |  
±–±--------------------------------------------------------------±---------+  
| ✓ | NPM Install | 4.60 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.48 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.45 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.46 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.46 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.49 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.65 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.50 sec |  
±–±--------------------------------------------------------------±---------+  
| - | set-xcode-build-number@1.0.9 | 0.49 sec |  
±–±--------------------------------------------------------------±---------+  
| x | xcode-archive@2.7.1 (exit code: 1) | 45.29 sec|  
±–±--------------------------------------------------------------±---------+  
| Issue tracker: [https://github.com/bitrise-steplib/steps-xcode-archive/issues](https://github.com/bitrise-steplib/steps-xcode-archive/issues) |  
| Source: [https://github.com/bitrise-steplib/steps-xcode-archive](https://github.com/bitrise-steplib/steps-xcode-archive) |  
±–±--------------------------------------------------------------±---------+  
| - | deploy-to-bitrise-io@1.9.4 | 0.63 sec |  
±–±--------------------------------------------------------------±---------+  
| - | cache-push@2.2.3 | 0.54 sec |  
±–±--------------------------------------------------------------±---------+  
| Total runtime: 1.1 min |  
±-----------------------------------------------------------------------------+

Submitting anonymized usage informations…  
For more information visit:

> <https://github.com/bitrise-io/bitrise-plugins-analytics/blob/master/README.md>

-=-=-

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [February 2, 2020, 12:26am UTC](https://discuss.bitrise.io/t/no-profile-found-error-using-cli/11404/4 "2020-02-02T00:26:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
