I am trying to submit my app to the AppStore but when i do it an error message appear with this:
ERROR ITMS-90329 your package contains a file 'Myapp .app/Myapp' with
a name that contains leading or trailing whitespace
How can i solve this problem? (i already changed the product name, bundle name, bundle display name, project name)
Go Info.plist and change Product Name "Myapp " to "Myapp".
Go to build settings of targets in Xcode and select the Packaging section and check the Product Name its can contains leading or trailing whitespace.
Related
I get an error when I try to distribute the app to upload it to the App Store:
App Store Connect Operation Error
The filename _****.ipa in the package contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
I tried:
flutter clean
flutter build iOS
build folder in Xcode
rebuild in Xcode
But I don't know the reason of this problem.
Finally, I have found a solution, editing the display name in Xcode settings of target not enough, you must edit inside Info.plist file.
Make sure that there are no restricted symbols in Bundle name, Bundle display name.
Both of them can be seen in Info.plist.
for me its because of invalid character of identifier name in Certificates, Identifiers & Profiles. I changed the identifier name & redownload to the provision file, after that everything will be ok.
I just submitted an app to the App Store through Xcode. I set up the name in iTunes Connect, but I just realized that I was still using the working title in Xcode. Does this mean that when users download my app, the working title be shown beneath the app icon, or will the iTunes Connect title be used?
The "appName" on itunes connect will define the name displayed on the app store.
The name that will be under your app icon is the Product Name defined in xcode.
You can find it on Targets > YourProject > Build Settings > Packaging.
EDIT : changing the Bundle Display Name in your info.plist should do the work.
The Bundle Display Name in the app's plist is what is displayed under the icon. This display name can be changed independent of the project name, product name, or the Bundle ID suffix. The name displayed by the App Store is set in iTunes Connect, and can also be set independent from any of the other 4 or 5 "names" for an app.
I'm using xcode 5 and I guess I'm missing where to change the bundle identifier.
When I try to validate my app for submission to the app store, I get two errors....
Invalid code signing entitlements. Your application bundle's signature
contains code signing entitlements that are not supported on iOS.
Speicifically value 'K8TE8KDZ95.com.iclinical.child' for key
'application-identifier' in 'Payload/iResus.app/iResus' is not
supported. This value should be a string starting with your TEAMID,
followed by a dot '.' followed by the bundle identifier
and
The executable at Payload/iResus.app/iResus in Payload/iResus.app has
been signed with identifier 'com.iclinical.child' which does not match
the bundle identifier 'com.iclinical.childresus
I'm not sure where I should be changing this. The bundle identifier in the target is com.iclinical.child but clearly I need to change it somewhere else too....
Hope you can help.
I just had both these error messages and here is how I fixed it:
Went into iTunes Connect > viewed my app (under manage apps) and copied the 'Bundle ID'
Went into xcode and pasted the 'Bundle ID' into the info.plist 'Bundle identifier' field
Restarted xcode
Xcode > Window > Organizer > Projects > 'Delete' derived data file for project
Xcode > Product > Alt + Clean (to Clean Build folder)
I then tried resubmitting and it all went through correctly. I am 95% sure my Bundle ID was correct to begin with so it might have been something in steps 2 to 5 that fixed this.
Anyways hope this helps someone else.
In XCode 9, Open the Project Navigator, Select your target, check the following two places:
General ---> Identity ---> Bundle Identifier
Build Settings -> Packaging -> Product bundle identifier
Sometimes this issue happens when you have changed the Bundle Identifier in place 1, but place 2 did not change accordingly.
I had the same errors trying to validate an app that was originally developed with a different bundle identifier than what I had entered into itunesconnect.
There were two issues that I came across:
If you change the bundle-identifier in XCode (General tab, Info tab or Info.plist), XCode won't archive the app with the new bundle identifier (in some cases) until you restart XCode.
If XCode is managing your provisioning profiles dynamically (normally using a wildcard bundle-identifier) and you are trying to use a fixed bundle identifier, you have to choose the static provisioning profile in your build settings.
I was surprised by the second issue because I never used XCode with a fixed provisioning profile and never had to download a profile in the past.
Since I wanted my app to use a wildcard bundle identifier, I changed it in itunesconnect and updated my settings, restarted XCode and my app validated.
Hope this helps.
I got the same error, although I already submitted the app with this BundleID multiple times.
What solved the problem: performed Product->Clean and restarted Xcode.
I'm using xcode 5 and I guess I'm missing where to change the bundle identifier.
In Xcode 5:
Open the Project Navigator
Select your project name at the top of the tree on the left
Single Click directly onto the project name (it should become
highlighted)
Change the project name (the bundle id will be updated)
Once you highlight the blue project icon at the top of your project
navigator you will have several tabs on the right hand side appear.
Your bundle identifier should have the default value as noted below:
com.company.${PRODUCT_NAME:rfc1034identifier}
You might also want to create a sample empty project and note the project info defaults compared to your current settings.
Hope this helps.
The appID in the Apple developer portal (and the assigned to it distribution provisioning profile) is not the same as the bundle id in your project. You should change one of them. They should match in order to upload the app in the app store.
How I resolved this:
Cleaned the build folder. Menu -> Product -> Alt key: Clean build folder.
Closed the XCode.
Deleted derived data.
Restarted my system. (Had to try this because steps 1 to 3 did not work for me as suggested in other posts).
After this created an app archive and it worked.
Ok this is incredibly dumb, but I had the exact same issue when working on two open projects at once in Xcode 11. The apparent solution was to quit and restart Xcode. I suspect there is some sort of Xcode bug or failure to context switch.
My bundle identifier has to match the one in the iOS dev portal:
com.mydomain.myappname
It seems the only way to do this in Xcode is to go to Targets, Build Settings, and change the Product Name to myappname. However, this also causes the app to be called "myappname" on the device home screen (under the icon). I know that has to able to be set differently. (I want "My App" to be displayed instead of "myappname"). Where do I set this?
You set this as the "Product Name" in the Build Settings in Xcode. You want to set your bundle identifier in the info.plist file for your app.
The bundle identifier in the Info.plist can contain placeholder variables such as ${PRODUCT_NAME}. These placeholder variables are replaced with their values from the build settings when the app is compiled. Use plutil to see the compiled version of the Info.plist in your .app bundle.
The "Bundle identifier" and "Bundle display name" are set in the info.plist file. The "Bundle display name" is what shows up by the app icon on the Home screen. They can use placeholder values such as ${PRODUCT_NAME} or ${PRODUCT_NAME:rfc1034identifier}, or you can set them explicitly. The "Product Name" is set in the Build Settings. You can first set the "Product Name" the way you want it, and then adjust or override the derived values by editing the info.plist file.
It sounds like what you want to do is set the Product Name to be "myappname", leave the Bundle identifier to be "com.mydomain.${PRODUCT_NAME:rfc1034identifier}", and then set the Bundle display name to be "My App".
What I did is put in the matching bundle identifier name at "Build Settings > Product Name". And then key in the actual App Name at the "Info > Bundle Display Name". Overwrite the ${PRODUCT_NAME} variable and key in the exact "My App". This do the trick.
iTunes Connect accepts names for the app to include symbols like "+". But when I am trying to submit the app with an Xcode project name that includes "+" I receive the error that the name of the project or the name of the application (or product, do not remember which) cannot include symbols like "+". So I ended up removing the "+" symbol from the name of the product. Therefore the name on the App Store includes "+" but when installed on the device the name does not include the symbol "+". How can I resolve this issue in the next submission? What name will be the name of the app on the device? How can it include "+" and pass the test for submission?
If you ONLY want to change the app "Display Name", this is the name that appears on the users iPhone when they download the app.
1.) Go to your info.plist and add a new line, set the Key to "Bundle Display Name."
2.) Enter whatever name you would like up to 12 Characters. This can include ANY character you want. i.e. +_)(*&^%$##!
If you ever having issues with the app name not matching with the name setup in iTunes Connect then double click slowly on the Xcode Project name on the top left. Change this name and a window will pop up asking you to rename the whole project, select yes and the name of your project will be change. This is where you need to make sure the names match in both Xcode and iTunes Connect.
Project info -> Targets (click on app icon entry) -> Build Settings -> Product Name
from: Change name of iPhone app in Xcode 4
A quick app store search and purchase shows that iTunes Connect allows for unicode symbols (those include !##$%^&*-+= also). But for an app bundle name, it is invalid. Punctutuation symbols are OK (As in the app Where's My Water's title on the device is just 'Water?').