Catalyst app info.plist not being recognized - deployment

I am trying to submit my first catalyst app to the Mac App Store. I have setup the App Store information in iTunes Connect, and I have confirmed that the info.plist in app has the following key in it:
<key>LSApplicationCategory</key>
<string>public.app-category.business</string>
However when I go to upload to the app store I get the message that I need to add the LSApplicationCategory
ERROR ITMS-90242: "The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see "Submitting your Mac apps to the App Store"."
I have confirmed that both public.app-category.business is correct, and I have also tried using the value "Business". I get the same error message. Is there something else I need to look at?

The key which you are adding to .plist file is wrong. Add below key-value pair. Full list here.
<key>LSApplicationCategoryType</key>
<string>public.app-category.business</string>

slicerdicer's recommendation worked for me. To add some additional detail, you can also set the App Category by going to Project / Targets / General. It's the very first option.

I had sucsessfuly upload two apps using catalyst then the third failed with that error. I found this and seemed to work.
To the info.plist add App Catagory with what ever catagory your app fits. I used Productivity.

I was converting an iOS app to a Mac app, and I was updating the file info.plist, and it was not actually updating the overarching project.
I ended up having to go to the overarching project, under the left side TARGETS tab, I selected my app, went to the Info tab, and added the App Category there.

Related

Xcode not automatically adding CloudKit containers

I have added cloudkit to an existing app and I'm having a little trouble with xcode not automatically creating Containers when adding iCloud capability to Signing & Capabilites. It looks like this:
What can be the problem here? I have followed the guide on Apples page: https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/setting_up_core_data_with_cloudkit
And when archiving the app I get the following error:
It seems you have to enable iCloud for your provision profile. It can be done by going to the Identifiers section at developer.apple.com. Then find your bundle identifier and make sure iCloud is checked.
It was solved by creating a new container in xcode, quite simple. And now everything works! Just press the plus as seen below and give it a name, preferably same name as the bundle identifier but starting with icloud: icloud.com.developerName.projectName

Can't Upload .ipa from Xcode 8, "The info.plist indicates a iOS app, but submitting a pkg or mpkg."

I am trying to submit my app. It is written in swift 3 and has an iOS 10 deployment target. So, I need to use Xcode 8. When I create an archive everything goes fine. I have even looked into the .ipa and everything seems fine.
But, every time I get this error:
The info.plist indicates a iOS app, but submitting a pkg or mpkg.
No idea what's going on. I'm not using any frameworks. No cocoapods. Very simple app.
Edit: Still no information on this. I have made a support request with Apple so we will see if that provides any new info. I can't be the only person experiencing this bug.
Update: See Peter's answer. According to him, the LSMinimumSystemVersion key ("Minimum system version") is obsolete and should be removed. If that works for you, upvote his answer instead as that would be a better solution than this if it works.
Original Answer:
I was encountering this issue when updating a very old app. I was able to fix it by changing my Info.plist.
I had to change the LSMinimumSystemVersion key ("Minimum system version") to MinimumOSVersion ("MinimumOSVersion").
Before
After
In Xcode 8.3, you should delete the Minimum system version (LSMinimumSystemVersion) entry from your info.plist. You do not need to rename it. If your app is that old, you may find other superfluous or conflicting keys as well. Another common one is the main nib file key, which conflicts with a main storyboard key.
fix!
i had the same problem and i fix it.
you can export your app (no click on "upload to app store" but "export" in the archive menu) and then use "application loader" to send your app
even if you never imported any frameworks, something might be produced automatically.
So please make sure your project has never any frameworks in it.
If you are not sure, when you export your archive file to .ipa, Xcode will code sign your bundle.
In that list, if you see any framework besides your main app bundle, it occurs.
So let me know the status of your project in the aspect I mentioned above.
Thanks

Generating an application bundle for submission with Xcode 4

Please help me export my application to iTunes Connect. I dont understand the documents, I have tried my best. I cant find the release of my .app, only the debug version.
I am using xcode 4. Also I dont know if I have signed the application correctly.
Here is a screenshot of my build settings, are these correct.
I setup a distribution certificate, an app ID with a wildcard mask, and a provisioning profile for the App Store, this provisioning profile is then imported into the organizer and on the screenshot below, you see I have assigned it to the Release build.
I cant find the release build at all on my system, only the debug file and would you say my certificates/profiles are set up currently.
Make sure you have configured the Archive panel for the scheme with the name of the archive to create
Then choose Product | Archive from Xcode's menu
Then have a look in your organiser's Archive section
And here are the docs you should be looking at.
First, make sure your Scheme is set to Release. Then, Build your app. If all goes well with no errors, you should be able to get your release build of your app in your Derived Data directory (this is the default Xcode 4 location).
If you don't see anything in Derived Data, check under Xcode->Preferences and go to the Locations tab. That will show you where your builds are going.
Unless I misunderstand the question, to send your app to iTunes connect from Xcode4 you choose Product -> Archive from the menu.
If your certs and IDs are correct, and they seem to be, then you will be shown the Archives view in the Organizer. Select the recent Archive and choose Validate.
If it validates, choose Submit. Your app should be submitted to iTunes Connect.

Build and Archive for TestFlight produces big question mark

I'm using TestFlight to get beta users to test my iPhone app. I've never done this before and so I'm a bit concerned with the process.
I've been following these steps to create my .ipa, but after step 3 I see lots of question marks in the organiser window (next to the name of my app to be specific). Should I be concerned. It seemed as if everything else worked.
Is your bundle display name set in the project info.plist file? Check that all values in info.plist are set correctly.
You mean like this one?
Nothing to worry, this happens when you don't provide an application Icon. Add a 57x57 png icon to your project and save it's name in the Project-Info.plist file for the key Icon File.

App Store: Problem with UIRequiredDeviceCapabilities

I've uploaded my first App to App Store, but I did NOT put on the UIRequiredDeviceCapabilities that my App requires location-services and wifi. RESULT: the app does not start looking for the coordinates as it should do. (When I've installed the App through XCode in my iPhone 4 it works perfectly).
So, I've tryed to upload a new version with this UIRequiredDeviceCapabilities correctly set, and I got following error message after trying to Upload the new version:
"The Bundle is invalid. The key UIRequiredDeviceCapabilities in the Info.plist may not contain values that would prevent this Application from running on devices that were supported by previous versions."
So, as I understood, I am NOT able to set the UIRequiredDeviceCapabilities to this App anymore, is that right?
My idea was: I delete this App, and after that I go through all the steps to submitt the App to the App Store again. But when I clicked on the "Delete this App" button, I got following error message:
"Deleting it will permanent remove it from iTunes Connect along with any associated in App Purchases. The Application Name and SKU will not be reusable, even once the application is deleted."
That's very bad, cause I can't change the name of my App. What Can I do to be able to upload a new version of my App with the new UIRequiredDeviceCapabilities?
For me I ran into this issue when I recently added HealthKit to my app. I fixed it by removing this row on info.plist.
Rename your app in iTunes Connect by submitting a new update which changes the App name.
Create a new App in iTunes Connect and enter the original name of your App. (The original name of the App you renamed in step 1)
Delete your old app which you have renamed in step 1
Using that trick you can realize your idea. ;-)
The only loss is that you have to enter all your app's meta data again. And don't forget that you will loose the reviews and ratings your customers left on the App Store. (BTW, a good way to get rid of bad reviews. ;-) )