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

xcode
ios
#1

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]')
0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

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?

0 Likes

#5

Hi Omar,

Can you please submit a ticket?

https://support.bitrise.io/hc/en-us

Thi

0 Likes