question about bundle identifier status Xcode - ios

Hey guys I am pretty new to the Xcode and swift, and so far I am implementing the remote notification by APN by referring to the tutorial: https://www.raywenderlich.com/11395893-push-notifications-tutorial-getting-started. And I am stuck on the step of renaming the Bundle Identifier to something unique. In the signing & capabilities session, I tried to directly change the bundle identifier of my project to com.f20cmsc435.ifttt. However, I encounter a status warning:
No profiles for 'com.f20cmsc435.ifttt' were found
Xcode couldn't find any iOS App Development provisioning profiles matching 'com.f20cmsc435.ifttt'
. Does anyone know how to resolve this error? Thank you!

You need to create new provisioning profile against the new bundle identifier. Then you will able to build. And also you need to create push certificate also. Bundle Identifier, Provisioning Profile and Push certificates are tightly coupled in iOS.

Related

XCode - Failed to register bundle identifier

I started using a new Macbook Pro, and I opened an XCode project I had on OneDrive. When I try to run it, I get the error below
Signing for "Project5" requires a development team. Select a
development team in the Signing & Capabilities editor.
I checked which were the settings under "Signing and Capabilities" and I noticed it was missing the "Team". So I created one with my Apple ID. I try to run it again and I get two errors this time
Failed to register bundle identifier: The app identifier
"com.example.Project5" cannot be registered to your development team
because it is not available. Change your bundle identifier to a unique
string to try again.
No profiles for 'com.example.Project5' were found: Xcode couldn't find
any iOS App Development provisioning profiles matching
'com.example.Project5'.
At this point I am not 100% to understand which is the problem. I tried also to run it ticking off the "Automatically manage signing", but it asks me for a "Provisioning profile". I searched on Google but the solutions I found did not help me to solve this problem. Any idea on how to fix this? I am missing something?
Thanks.
Change "com.example.Project5" to "com.YourDevName.YourNameProject"

Xcode couldn't find any iOS App Store provisioning profiles matching 'bundle id for app extension' signing problem

When I am trying to automatically manage signing for an archive with XCode 12.1. I receive an error message related to my app extension. There were no problems previously (with earlier XCode versions) and I didn't change anything. Error is the following:
Failed to register bundle identifier The app identifier 'bundle id for app extension' cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.
No profiles for 'bundle id for app extension' were found
Xcode couldn't find any iOS App Store provisioning profiles matching 'bundle id for app extension'.
Bundle id for extension is correct and starts with the bundle id of the app. Something like:
id.bundle.app
id.bundle.app.extension
This is weird as profile is there and is the same as was previously.
.
As I am signing an extension, I am using a wildcard. Profiles are up to date. I also tried to recreate all profiles from scratch, it didn't help.
At the same time automatically manage signing is enabled in XCode and there is no error.
What can be the problem?
UPD.
If I sign manually and while signing select wildcard it works, but it is weird that it doesn't work for automatic signing.
I finally found the problem.
The problem was that I didn't create an identifier for my sticker extension and when I was working with signing I used a wildcard. It was working perfectly until I changed XCode to a newer version.
So, to fix the problem, I created an identifier for stickers extension, using the correct naming
id.bundle.app
id.bundle.app.extension

Xcode 10.1 failed to create provisioning profile after trying to side load app to device w/ iOS 12.1

Three errors under General that I can't figure out:
Failed to create provisioning profile: The app ID '' cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
Provisioning profile doesn't support the Keychain Sharing capability
Provisioning profile doesn't include the keychain-access-groups entitlement
This seems to be an Apple issue, you can see a master thread discussing it here.
The root of the problem is simply XCode not generating the entitlements file which your project requires. I've outlined the steps on how to figure it out in this post. Let me know if it works for you!

React-native - Failed to create provisioning profile

I would like to run app on my physical device, but i have these errors.
No profiles for 'org.reactjs.native.example.weekdays' were found
The app ID "org.reactjs.native.example.weekdays" cannot be registered to your development team.
Something wrong with bundles?!(org.reactjs.native.example.APPNAME) I'm a beginner.
Iphone 7 virtual device is working.
screenshot
What should i do?
Many thanks!
This is the solution to my issue that's similar to this one:
Change your bundle identifier to a unique string to try again.
Your bundle identifier is already in use by other developers I guess, so just change your bundle identifier in the Identify tab right above your Signing tab to another one:
For example:
Bundle Identifier: org.react.native.example.MyAwesomeWeekdaysIn2099
You have to create an app provisioning profile, log in to Xcode, set bundle ID and set the team. It's all documented here.

iOS - dreaded code signing error (0xE8008016) - push notifications

Well I get this error:
The entitlements specified in your application’s Code Signing
Entitlements file do not match those specified in your provisioning
profile.
(0xE8008016).
I have checked that the bundle ID corresponds to the provisioning profile, and from what I understand, I enabled push notifications correctly for development on my app id profile (in the dev center).
Knowing that I am using push notifications, what do I need to do to resolve this?
I don't have push notifications certified for distribution, just development.
The solution was to first create a new app ID, change the bundle ID in xCode accordingly, and do the push notifications configuration first, before creating a provisioning profile, for both development and production.
Next I created a provisioning profile with the new app ID, and changed the bundle ID in xCode, downloaded the profile, and compiled the app.
Not using the entitlements file - removing it from the build settings did the trick for me. (Thanks Hetal!)

Resources