Marco Maria Vilucchi Active Member Licensed User Longtime User Nov 7, 2015 #1 Hi, I'm writing my second App and i need to create a new Certificate file and a new Provision file. I read the tutorial "Managing multiple certificates / provision files" and I understood I can use the same keys Folder of first app. I understood I can use the same B4i.keystore, B4i.p12 and certSigningRequest.csr in the same keys folder of first app. Now i need to create only Certificate and provision file. Then I must specify for each App (also for the first): #CertificateFile: ios_*.cer #ProvisionFile: *.mobileprovision on #Region Project Attributes. It is correct? Tks Marco
Hi, I'm writing my second App and i need to create a new Certificate file and a new Provision file. I read the tutorial "Managing multiple certificates / provision files" and I understood I can use the same keys Folder of first app. I understood I can use the same B4i.keystore, B4i.p12 and certSigningRequest.csr in the same keys folder of first app. Now i need to create only Certificate and provision file. Then I must specify for each App (also for the first): #CertificateFile: ios_*.cer #ProvisionFile: *.mobileprovision on #Region Project Attributes. It is correct? Tks Marco
S sorex Expert Licensed User Longtime User Nov 7, 2015 #2 if I recall right you have 2 options. a wild card based one (com.marco.*) or an app based one (com.marco.app2). they end up in the same folder but with different filenames. you can force them in your code with conditions like shown below Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: Development.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: commarcoapp2.mobileprovision #END IF Upvote 0
if I recall right you have 2 options. a wild card based one (com.marco.*) or an app based one (com.marco.app2). they end up in the same folder but with different filenames. you can force them in your code with conditions like shown below Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: Development.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: commarcoapp2.mobileprovision #END IF
Marco Maria Vilucchi Active Member Licensed User Longtime User Nov 7, 2015 #3 Then in the first app I put: Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: App1.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: marcoapp1.mobileprovision #END IF and in the second app I put: Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: App2.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: marcoapp2.mobileprovision #END IF The certificate is the same for both apps (only 1 for Debug and only 1 for release) The provision file is different per App and per debug/release (4 different provision for 2 apps) Correct? Upvote 0
Then in the first app I put: Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: App1.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: marcoapp1.mobileprovision #END IF and in the second app I put: Code: Copy #If DEBUG #CertificateFile: ios_development.cer #ProvisionFile: App2.mobileprovision #END IF #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: marcoapp2.mobileprovision #END IF The certificate is the same for both apps (only 1 for Debug and only 1 for release) The provision file is different per App and per debug/release (4 different provision for 2 apps) Correct?
S sorex Expert Licensed User Longtime User Nov 7, 2015 #4 like I wrote earlier you can use a different per app or a general wildcard one. seperating it might be wise when starting to use some of Apple's extra features (push messages or so) Upvote 0
like I wrote earlier you can use a different per app or a general wildcard one. seperating it might be wise when starting to use some of Apple's extra features (push messages or so)