Missing CFBundleIconName in Xcode app release - ios

I'm trying to release an app using Xcode. Archiving and uploading the binary goes well without any issue. However the build doesn't appears in App Store Connect and I get an email
Dear Developer,
We identified one or more issues with a recent delivery for your app, >"LycCalculator" 1.2 (1). Please correct the following issues, then upload >again.
ITMS-90713: Missing Info.plist value - A value for the Info.plist key >'CFBundleIconName' is missing in the bundle 'kim.LycCalculator'. Apps >built with iOS 11 or later SDK must supply app >icons in an asset catalog >and must also provide a value for this Info.plist key.
I've tried a lot of things fix this problem. I have all the app icons, app icon source is the app icon but I can't add 'CFBundleIconName' to my Info.plist so I only added icon name.
So here some screenshots of what I have right now:
app icons and launch images , app icons in assets , info.plist
Any suggestion of help would be highly appreciated.

Related

Flutter submission to iOS

I was able to upload to Apple store succesfully from xcode 12 but in less than 2 minutes, I always get email from apple with this error
ITMS-90713: Missing Info.plist value - A value for the Info.plist key
'CFBundleIconName' is missing in the bundle 'com.logXXXhift.rccXXX'.
Apps built with iOS 11 or later SDK must supply app icons in an asset
catalog and must also provide a value for this Info.plist key. For
more information see
http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
However, I've checked the Info.plist and the <key>CFBundleIconName</key> <string>AppIcon</string> is there.
The Assets.xcassets is also there, I've added the right format of icons with name as AppIcon.
It validates successfully and distribution also successful but apple will just send mail with the same error in few minutes after upload.
Is this because I'm uploading a flutter app or it's a common issue with iOS? Any form of assistance will be appreciated please.
Check target membership box under identity inspector. And try again.

WatchOS and location entitlement

I've been working on adding a watchapp to a fitness tracker I already have in the app store. I've been able to load it onto my physical phone and watch without trouble in the past.
I've recently added Location tracking to the watch app, so that I can track the path the user has run/biked and show it to them on the phone when they review the workout. Since doing that, I'v been getting errors from Xcode when I try to load the app to my phone; I think these are expected errors, but I'm having trouble understanding from the docs/interface of Xcode and developer.apple.com where to make the fix.
I've added the entitlement in the watch app entitlements file:
As the error says, I've switched to manual signing and generated a new provisioning profile, but I get the same error. I don't see a place to add a location capability in the provisioning profile in developer.apple.com:
It seems like the only way for the provisioning profile to get the entitlement is from Xcode, since there's not a place to add it in developer.apple.com? That seems wrong, and isn't working in any case. I'm not finding help for my case in the Xcode docs (or I'm looking in the wrong place). Any help would be greatly appreciated.
I am using location services on iOS and watchOS, but I have nothing related to it in both entitlement files. The docs say:
Set entitlement values in order to enable iCloud, push notifications,
Apple Pay, and App Sandbox.
They don’t mention location services.
So it might be enough to delete the Location entitlement, and enable automatic signing again.
Of course, you had to set in your iOS info.plist, as required, NSLocationAlwaysAndWhenInUseUsageDescription, NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription, and in your watch extension info.plist NSLocationWhenInUseUsageDescription.
Are you using latest Xcode? Did you set the entitlement in the target menus? They all have toggles now, from what I remember. Once you do that, normally Xcode can resolve signing issues for you. If you look at the signing section in Xcode, does it indicate a signing problem there? (And have you restarted Xcode at least once while trying to resolve the signing problem?)
Note that the location entitlement should be on your WatchKit Extension, not on the Watchkit App.
Have a look at the Capabilities tab (it is the one for control of Entitlements, so you do not have to edit the plist directly.)
Have you tried creating a new project as a test to see if that works? Your screenshot does not match target naming of what I see in Xcode for a WatchKit App. In Xcode 10.1, the WatchKit App plist editor will show 'app name' WatchKit App and the extension plist editor shows 'appname' WatchKit Extension. I see your screenshot showing 'blank' Watchapp Extension. Possibly you edited the project name and that is not an issue? Another thing to verify is that the plist is not corrupt.

AppStore BUG: CFBundleIconName in WatchKitApp is missing - but when added the **key** itself is invalid?

We seem to be getting a self-contradictory set of error messages for our iOS App being submitted to the App Store.
The error begins simple enough and says we are missing a plist value. Here's the error below we receive by email from Apple after uploading our app to the store.
Missing Info.plist value - A value for the Info.plist key
'CFBundleIconName' is missing in the bundle
'com.athla.velocity.ultimate.watchkitapp'. Apps built with iOS 11 or
later SDK must supply app icons in an asset catalog and must also
provide a value for this Info.plist key. For more information see
http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
But, if we add this key with its value to the plist file, we get an error saying that the key itself is invalid and we cannot even upload the app to the store. Here is the error:
ERROR ITMS-90363: "Invalid Info.plist key. The key 'CFBundleIconName'
in bundle Velocity Ultimate.app/Watch/Velocity WatchKit App.app is
invalid."
These errors are self-contradictory.
How do we solve this so we can upload our app to the store - but not get blocked for having this key in the plist file?
I just ran into the same set of issues.
In Finder, I opened the WatchKit App Info.plist file in a text editor. I removed the following lines:
<key>CFBundleIconName</key>
<string>AppIcon</string>
After that, the error went away and I was able to upload to App Store Connect.
Hope this helps you out!
I have solved this problem by doubleclick Info.plist -> Visual Assets -> AppIcons. Previously it was "Source: none", so I have selected "Source: AppIcon". I am using Visual Studio making watch app with Xamarin. After that Info.plist was changed from:
<key>XSAppIconAssets</key>
<string>Resources/Images.xcassets/AppIcons.appiconset</string>
to
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
If you remove CFBundleIconName from Info.plist, as suggested by #sulli233, and the error is still there, it might mean that you need to supply an app icon.
In Xcode, click on Assets.xcassets of the project that is failing to build, and supply the necessary images.
In this case, the error message is wrong - it says that the CFBundleIconName is missing, but what is really missing are the images themselves.

"Unable to Validate your Application Error" While Uploading a new version of iOS App

I have been trying to upload a new version for my ios App But I always end up receiving this error
"UNABLE TO VALIDATE YOUR APPLICATION,
"The application you have selected does not exist"
From Xcode Archiver.
I followed this question here
Xcode 6.4 The Application You Have Selected Does Not Exist
Which suggests to use Application Loader,
After doing that I ended up getting bunch of errors such as these
ERROR ITMS-90049: "This bundle is invalid. The bundle identifier contains disallowed characters. [See the section of the Application Programming Guide entitled The Application Bundle.]"
ERROR ITMS-90057: "Missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."
ERROR ITMS-90056: "This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion."
The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.
This errors dont make any sense since all the missing keys are already present in my app, along with appropriate bundle ID of my app which has been in the Appstore for an Year now.
Can anybody help me out regarding this,
I seemed to have tried all the solutions I could find, but to no avail, anybody else facing this?
Is this another issue from apples server or maintenance side and I just have to wait a couple of hours before they fix it at thier end??
I was facing the same issue but then i used Application Loader and it worked for me. After validating your app Export your app by selecting option as Save for iOS App Store Deployment and then Just upload your apps ipa using Application Loader.
Workaround Steps Using the Application Loader:
Export your build as a file (Save for iOS App Store Deployment)
Go to Xcode > Open Developer Tool > Application Loader
In Application Loader log in to your account
Select and upload the .ipa file you just exported
Same issue at Xcode 6.4. My workaround.
Rename Xcode 6.4 (Xcode64.app)
Install Xcode 7.1 (Xcode.app)
Build and archive in Xcode 6
Auto launch "Organizer" in Xcode 6 and close
Launch Xcode 7 and Organizer
Submit to App Store
I was with the same issue, Using the Application Loader works for me.
In Organizer, export your app and select the option Save for iOS App Store Deployment I did it and works for me
before that I tried with Save for Ad Hoc Deployment but with no success!
Okay, I was finally able to upload my application heres what was happening, I had used a third party lib., which had an info.plist of its own
this info.plist was the culprit, It didn't had any Bundle Identifier, CFBundleVersion or CFBundleShortVersionString string, so I manually added These 3 keys into that frameworks info.plist and the application got accepted.
Dont know why but this worked, And I was able to upload my app to itunes
Seems to be an issue with Xcode 6.4. Export the ipa and upload it using Application Loader.
Relevant Apple Developer Forum Link
This occurred for me when I accidentally left "Include Bitcode" checkmarked (on by default) in my build despite setting the project to not contain bitcode. Uncheckmarking it resolved this issue.

How do I update my app on app store?Keep getting Payload error

I have gone through the entire application process and it is definitely very tiring and hectic. I keep getting "Invalid .ipa , the app must be in payload" error. I exhausted all the possible solutions for the fix to no avail, tried changing CFBundleversion/set the lsiphoneenvironment to yes.I just don't know how to regenerate the .ipa file? Is there a way I can delete it and regenerate it completely afresh? I have everything set in my app store, just this one step is blocking me as I can't upload the binaries or push an update.Any possible solutions besides one listed here will be awesome:
http://stackoverflow.com/questions/25859054/invalid-ipa-the-app-must-be-in-a-payload-case-sensitive-folder
Thanks!
The solution lies in the new option in Xcode 5 which says provisioning profile. Just set the project target's provisioning profile to the right one and it'll work.
you can resolved by doing three things
1- check in your plist file this key exist CFBundleInfoDictionaryVersion and it value should be 6.0
2- check your icon file and icon files key in plist and they have all icons of your game that support ios 7, please check all icon should have extention .png
3- check your 3rd party sdk that included in your project in right way or not. my project has problem with revmob also
// ******* OR ************//
Check iTunes Connect that you don't have application in iTunes connect with "Prepare for Submission" status.
Happy Coding .. :)

Resources