Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use iOS Distribution or Apple Distribution certificates for a mobile app?

It may sound, (let's say) naive, but I don't know which certificate I should use for mobile (iOS) apps.

The obvious option would be iOS Distribution certificate, but on the Apple Distribution certificate, the explanation is:

...For use with Xcode 11 or later.

Since I'm using Xcode 11, I'm confused. It feels like the Apple Certificate replaces the iOS certificate when using Xcode 11 and later.

Is that correct? Or should I keep using the iOS Distribution for iOS apps?

like image 965
Dpedrinha Avatar asked Jan 22 '20 02:01

Dpedrinha


People also ask

What is the use of iOS distribution certificate?

A distribution certificate identifies your team/organization within a distribution provisioning profile and allows you to submit your app to the Apple App Store.

What certificate are required for running the app on device in iOS?

A signing certificate with the public and private key. On iOS, iPadOS, watchOS, or tvOS you need a distribution certificate; on macOS you need a development certificate.

How many distribution certificates can I have iOS?

There is a maximum limit of 3 iOS Distribution Certificates per account.

What happens if my iOS distribution certificate expires?

If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you'll no longer be able to sign new passes or send updates to existing passes. If your certificate is revoked, your passes will no longer function properly.


1 Answers

Looks like Apple Distribution and Apple Development are only supported on Xcode 11 which means you won't be able to use those certificates in Xcode 10 or below.

Xcode 11 release note:

Xcode 11 supports the new Apple Development and Apple Distribution certificate types. These certificates support building, running, and distributing apps on any Apple platform. Preexisting iOS and macOS development and distribution certificates continue to work, however, new certificates you create in Xcode 11 use the new types. Previous versions of Xcode don’t support these certificates. source: https://developer.apple.com/documentation/xcode_release_notes/xcode_11_release_notes

like image 93
Ricardo Sgobbe Avatar answered Oct 02 '22 17:10

Ricardo Sgobbe