iphone code sining error - iphone

i tried to build a iphone application. create certificate every thing.
then i got a error that is
Checking Dependencies
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.max.iphoneTestingCode' could not be found
max is our company name..
1) where is we mention bundle identifer.?
2) how to solve this error.

You need to match the App ID in the program portal with the identifier in your app.
Ie. if your profile is #ID#.com.foo.* and you try to sign com.bar.bash, it won't work, but com.foo.bash should work.
So, make sure that the profile in the program portal has com.max.iphoneTestingCode as the identifier or it's something that matches like *
The bundle identifier is in Target Bar > Get Info > Properties > Identifier.

Related

Invalid binary with xcode 8, Asks to add description in Info.plist

I Was able to submit my app with Xcode 7 with no error and with not any specific description required in info.plist
But now with Xcode 8, iTunes rejected binary saying that invalid binary and gives error message like:
"This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data."
It seems apple has changed some privacy validation for submitting an app to app store.
I found the solution from the error only.
I added NSCameraUsageDescription in my info.plist with valid text(attachment) and it worked for me.
There are also some other cases when you will get an invalid binary error for other keys like NSCalendarsUsageDescription, NSBluetoothPeripheralUsageDescription. The Same solution will work for all such error with valid text for all.

How to solve this (null): error: CFBundleIdentifier 'com.abcd.efg.*' contains illegal character '*'?

I have an App Id like this 'com.abcd.efg.*'. I have entered the correct app id in Bundle Identifier from .plist file of my project. When i build my project below error message is displaying.
(null): error: CFBundleIdentifier 'com.abcd.efg.*' contains illegal character '*'
How can i run the project with using this app id? Can anyone please guide me? Thanks in advance.
esteric * is not a valid character for bundle identifier, i think your giving this as you have made the provisioning profile like this. but remember, making a provisioning profile like this '*' means it will be valid for all apps containing com.xxxx.xxx.. so here you must have to select a name like com.xxxx.xxx.myTestApp or com.xxxx.xxxx.theNewApp etc

Bundle ID app for submitting to the App Store

I have an issue that confuses me a little.
In order to submit my app to the App Store I have to enter the Bundle ID Suffix. As you may know, the Bundle ID gets the exact name of the Bundle ID Suffix (What you write on Bundle ID Suffix is also written automatically in Bundle ID)
Now what I don't know is if I need to write:
com.mycompany.myapp
or
7I8UIRE4L9.com.mycompany.myapp (7I8UIRE4L9 being the app ID that was given to me when I created the provisioning profile for the app)
Thanks for your help!
You only need to enter the reverse DNS portion of your bundle ID into the iTunes Connect submission portal. Not the random-looking seed portion of the app ID.
(Make sure you replaced the "mycompany" portion of the string with the name of your company.)
Better you select your project, go to info. select custon ios target properties.in bundle identifier write your bundle name.Make sure that itunes bundle suffix should be match with this ...
hope this will help you..

Code Sign error after changing Product Name of iOS app

I have to change the name of my app. I've done the following (Xcode 4):
Targets > Packaging > Product Name
And changed the name (for dev/ad hoc/release). When building I get the following error
Code Sign error: The identity 'iPhone Distribution' doesn't match any identity in any profile
If I change the name back, it works fine. I can't submit to the store with the original name (the one that works). Do I need to create a new app ID in the provisioning portal? I'd hate to do that because I have push notifications already tied to the existing app ID.
I've tried 'clean' and then building again - doesn't help.
Yes. The provisioning profile is tied to a specific bundle id.
i.e. "com.mycompany.myproduct"
If you change this, it will definitely break code-signing.
Alternatively, change the app name, but leave the bundle identifier the same:
Targets > Info >
bundle display name = "my new product name" (remove the ${PRODUCT_NAME})
bundle identifier = "com.mycompany.myproduct" (remove the ${PRODUCT_NAME:rfc1034identifier})

App Store via iTunes Error: Invalid bundle identifier namespace com.yourcompany

I'm uploading my first iPhone app to App Store via iTunes Connect, and got this error.
Invalid bundle identifier namespace com.yourcompany. in bundle identifier com.yourcompany.AAA
In my plist>Bundle Identifier I wrote same as com.yourcompany.AAA
In iTunes Connect I selected 'AAA - com.yourcompany.AAA'
where should I look?
Take a different namespace to make the bundle identifier unique!
Register a domain name to insure uniqueness. If you register example.com (you can't), use com.example.AAA (don't. You have to find your own unique domain and namespace.)
com.yourcompany.${PRODUCT_NAME:rfc1034identifier} is the default namespace used by xcode when you create a new projet.
Simply change this name space with something different that identify you uniquely, something like com.bibbac.${PRODUCT_NAME:rfc1034identifier} in Your_Project_Name-Info.plist file.