IOS application permissions - xcode

I'm developing my first app and trying to upload it to the app store connect.
In my info.plist I've the key-value:
<key>NSAppleMusicUsageDescription</key>
<string>load music for process</string>
I'm asking this permission while the app is running.
Should I declare about this permission in the app store connect or the info.plist is enough for the review?

Just at Info.plist, but you have to explain a little better what you use this consent for, because Apple may not accept Review.

Related

No accounts with App Store Connect access have been found for the team

I got this error when submitting an iOS app to the App Store. Product → Archive, clicking "Distribute App" in the Organizer in Xcode 10.
No accounts with App Store Connect access have been found for the team "[My Team Name]". App Store Connect access is required for App Store distribution.
I've logged into App Store Connect as the correct user account and verified that I have administrative access.
App Store Connect used to be called "iTunes Connect," and so this question was answered by another Stack Overflow answer.
When this happens to me, closing Xcode completely and re-opening it solves the problem.
Restarting Xcode fixed the problem for me, too.
Hopefully now that I've posted this question, someone can Google for "App Store Connect" and find the right answer.
Awesome. Quick restart and fixed.
If you don't have an account in App Store Connect the provided solution (i.e. closing and re-opening Xcode) will not work.
Kindly see the following section from official Apple documentation (https://developer.apple.com/support/app-store-connect/).
The person who enrolled in the Apple Developer Program is the main account holder and has the Legal role in App Store Connect, which includes binding authority for contracts, full access to App Store Connect, and more.
The Legal user can provide access to additional team members by setting up accounts for them in App Store Connect. Please note that adding members to a development team on the Apple Developer website will not automatically create accounts for those members in App Store Connect.
Add users by entering their names and email addresses in Users and Access. You can limit each user’s access level for App Store Connect and specific apps. If a user needs full access to App Store Connect, you can assign them the Admin role.
In my case, we had a lot of expired iOS distribution certificates. Yes, not Mac ones, iOS ones. Deleting those solved the problem ¯\_(ツ)_/¯
Quitting the XCode completely and restarting it still gets the issue fixed. But check if your certificates are still valid if this problem persists.

Can I use In-App-Purchases when distributing outside of Apple's App Store?

I'm new to mac os app development and the documentation doesn't ever say that this is not supported (as far as I could tell).
Can I use IAPs if I don't submit to the App Store?
Is there anything different that I should do to setup IAPs when distributing outside of the App Store?
It looks like this is not possible, as documented here:
https://developer.apple.com/macos/distribution/
Only iCloud and Push Notifications are available.
I think its possible by following instructions below.
Go to itunesConnect , Users and Roles, Create a sandbox user . I am thinking you have already made the in app purchase items in your app in itunes connect. Now in your device log out the Appstore ID from settings. Do the in app purchase using the Test user credentials you created, and it will make the in app using a sandbox environment.
For more info about In App follow this link :
https://www.raywenderlich.com/122144/in-app-purchase-tutorial

Upload app on Itunes connect without developer account

I am new to IOS development. I develop a simple app for someone.I don't have an
developer account so he added me on his Itunes Connect account as with the App manager role.
When i try to upload its asks for bundle ID and when i go to developer page it ask me to enroll and all.
So my question is how can i archive my app in this case and upload on the itunes connect.
Okay i think there is some confusion.The case is that I am added as a APP manager in someones Itunes connect account. So Can i upload an app there.
When i try to do that its aks for a bundle ID and I am not able to create a bundle id from the develper link. though I have already setup the develope account but its not paid yet.
You can go through the step by step tutorial here and its part 2 is here.
It is really helpful.
You can skip most of the first link as you already have an existing iTunes Connect account.
It is your App's Bundle Id.in Xcode go to Project Navigator then select general in identity there is Bundle Identifier further check the image.
And for Developer account on Apple is free just go to this link and click on "Create Account"
https://idmsa.apple.com/IDMSWebAuth/login?appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757&path=%2Faccount%2F&rv=1
If this answer helped you? you can accept it.

Mac app direct distribution: "Your account does not have permission to create Mac App Direct Distribution certificates"

I want to distribute my mac application outside the App Store (as file downloadable from our servers), but every attempt to export archive from Xcode with option "Export a Developer ID-signed Application" ends with a "Permission failure":
Your account does not have permission to create Mac App Direct
Distribution certificates
I've downloaded and added all certificates to my keychain (system).
I'm using an Organization Apple Developer account, so is it possible to use this type of account to sign applications outside the App Store or must I have an Enterprise Program Account to do it? Or is there other problem?
I consulted this problem with Apple and their answer is:
You certainly don’t need an Enterprise account to distribute Developer
ID signed apps. One gotcha here is that you must be the Team Agent in
order to issue Developer ID certificates. Please double check that.
Problem was, that I have Admin role in our team, but only user with Team Agent role has permission to generate certificates for distribution of app outside the App Store (Developer-ID signed apps). So, I generated a Certificate Signing Request and sent it to our Team Agent, then he creeated and sent a certificate for me and now I can sign apps.
This seems to be a bug or poorly described feature in iTunes Connect & the Apple Developer portal.
I had a developer that joined my team, initially as a "member", but wasn't able to create certificates, even after giving him admin access. It turns out, that I believe we were only giving him admin access to Itunes connect, but not to the developer page.
The correct fix was to go to the developer portal, click the "People" tab (or go to this URL https://developer.apple.com/account/#/people/), remove his access, then use the Invite as Admins to add him to the account. He then had to go into Xcode and remove his developer account information, add it back in, and then he was finally able to upload builds to Testflight without this error.
In my case, I signed the app with another team. Change the team and re-achieve the app solves the issue.

com.apple.security.files.bookmarks.app-scope is missing from the entitlement key?

In my cocoa app I have the entitlement com.apple.security.files.bookmarks.app-scope added to my .entitlement
When I submit this app to the mac app store, I was asked to add entitlement. I click on the "entitlement" drop down, I just couldn't find this entitlement:
am I missing something here? or this entitlement doesn't need to be added when submitting app?
You don't need to declare the use of this entitlement when submitting to the App Store. You may no longer even need to include it in your app at all for bookmarks to work, but I don't know that always works and including it is harmless.

Resources