# Error: "\[REDACTED\]" requires a provisioning profile with the Push Notifications feature

**URL:** <https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991>\
**Category:** Builds\
**Tags:** ios, xcode\
**Created:** [March 2, 2021, 3:41pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991 "2021-03-02T15:41:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duco](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@Duco](https://discuss.bitrise.io/u/Duco)\
**Post date:** [March 2, 2021, 3:41pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/1 "2021-03-02T15:41:18Z")

</div>

## Description of the issue

The xcode-archive build step seems to be not working with a provisioning profile with a Push Notification capability. I used the Bitrise CLI tool to upload the provisioning profiles and certificates, that seem to be working found when building the app on my local machine.

The xcode-archive step throws

```
error: "[REDACTED]" requires a provisioning profile with the Push Notifications feature.

```

## Environment:

`Xcode 12.4.x` build stack  
`xcode-archive 2.3.0`  
`certificate-and-profile-installer 1.10.3`

## Build log

```
+------------------------------------------------------------------------------+

| (5) xcode-archive@3 |
+------------------------------------------------------------------------------+
| id: xcode-archive |
| version: 3.2.0 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2021-03-02T14:41:31Z |
+------------------------------------------------------------------------------+
| |
INFO[14:41:32] * [OK] Step dependency (xcode) installed, available. 
Configs:
- ExportMethod: development
- UploadBitcode: true
- CompileBitcode: true
- ICloudContainerEnvironment: 
- TeamID: 
- ForceTeamID: 
- ForceProvisioningProfileSpecifier: 
- ForceProvisioningProfile: 
- ForceCodeSignIdentity: iPhone Developer
- CustomExportOptionsPlistContent: 
- OutputTool: xcpretty
- Workdir: /Users/vagrant/git
- ProjectPath: ios/[REDACTED].xcworkspace
- Scheme: dev
- Configuration: 
- OutputDir: /Users/vagrant/deploy
- IsCleanBuild: true
- XcodebuildOptions: 
- DisableIndexWhileBuilding: true
- ExportAllDsyms: true
- ArtifactName: dev
- VerboseLog: true
- CacheLevel: swift_packages
step determined configs:
- xcodebuildVersion: Xcode 12.4 (Build version 12D4e)
Checking if output tool (xcpretty) is installed
- xcprettyVersion: 0.3.0
Create the Archive ...
Forcing Code Signing Identity: iPhone Developer
[14:41:46] $ set -o pipefail && xcodebuild "-workspace" "/Users/vagrant/git/ios/[REDACTED].xcworkspace" "-scheme" "dev" "CODE_SIGN_IDENTITY=iPhone Developer" "COMPILER_INDEX_STORE_ENABLE=NO" "clean" "archive" "-archivePath" "/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/ __archive__ 575069275/dev.xcarchive" "-destination" "generic/platform=iOS" [REDACTED] xcpretty
▸ Clean Succeeded
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'react-native-orientation' from project 'Pods')
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'YogaKit' from project 'Pods')
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'CocoaLibEvent' from project 'Pods')
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 5.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'CocoaAsyncSocket' from project 'Pods')
    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'react-native-config' from project 'Pods')
❌ error: "[REDACTED]" requires a provisioning profile with the Push Notifications feature. Select a provisioning profile in the Signing & Capabilities editor. (in target '[REDACTED]' from project '[REDACTED]')
```

---

<div class="post-metadata">

**Author:** ![Duco](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@Duco](https://discuss.bitrise.io/u/Duco)\
**Post date:** [March 8, 2021, 7:26am UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/2 "2021-03-08T07:26:49Z")

</div>

Anyone who can provide some assistance?  
I’ve enabled bitrise support, the project url is

> **[Bitrise - Mobile Continuous Integration and Delivery](https://app.bitrise.io/users/sign_in)**
>
> Mobile Continuous Integration and Delivery for your whole team, with dozens of integrations for your favourite services.

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [March 22, 2021, 9:40pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/3 "2021-03-22T21:40:47Z")

</div>

Hello,

It would probably be better for you to open a ticket with support, provide the build URL, and enable support access. That was we could take a look at how things are set up and be able to give a better answer.

Thanks,  
Cathy

---

<div class="post-metadata">

**Author:** ![omarkhaled111](https://avatars.discourse-cdn.com/v4/letter/o/7ea924/32.png) [@omarkhaled111](https://discuss.bitrise.io/u/omarkhaled111)\
**Post date:** [March 30, 2021, 4:28pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/4 "2021-03-30T16:28:02Z")

</div>

I am also having the same issue

error: exportArchive: “[REDACTED]” requires a provisioning profile with the Push Notifications feature.

Environment:  
Xcode 12.4.x  
Certificate and profile installer: 1.10.3  
Xcode Archive & Export for iOS: 3.2.0

any updates on this?

---

<div class="post-metadata">

**Author:** ![thi.nguyen](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@thi.nguyen](https://discuss.bitrise.io/u/thi.nguyen)\
**Post date:** [April 8, 2021, 1:51pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/5 "2021-04-08T13:51:07Z")

</div>

Hi Omar,

Can you please submit a ticket?

[https://support.bitrise.io/hc/en-us](https://support.bitrise.io/hc/en-us)

Thi

---

<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:** [May 8, 2021, 1:51pm UTC](https://discuss.bitrise.io/t/error-redacted-requires-a-provisioning-profile-with-the-push-notifications-feature/15991/6 "2021-05-08T13:51:13Z")

</div>

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