Are you confused of generating xcarchive file without team admin access for enterprise deployment?
No issue, below are the step by steps procedure and instructions that will guide you to generate successful xcarchive for enterprise deployment.
To install an iOS app on a physical device, you need to sign the app with a personal/enterprise team, developer, or enterprise certificate provided by Apple and properly configure a provisioning profile for the device. Provisioning makes it possible for testers to launch the app on a device. An actual code signing process flow diagram is shown in below figure.
For creating developer certificate, first, log in to https://developer.apple.com using your developer apple account.
Note: Make sure you have selected right developer enterprise team before proceeding further.
Select Certificates, IDs and Profiles section available on the left panel. Then click add new certificate option to navigate to Certification creation page shown in Figure 1.
Above figure listed only iOS App Development certificate, because your developer account is provided with development access from the Enterprise team.
Launch Keychain Access app, within the Keychain Access, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
In the Certificate Information window, enter the following email information and select the "Saved to disk" option.
Click Continue within Keychain Access to complete the CSR generating process.
When your CSR file is created, a public and private key pair are automatically generated. Your private key is stored on your computer.
Upload your CSR file to generate developer certificate.
Once a certificate is created successfully, click download option and store it locally.
How to validate my developer certificate which created from the enterprise team?
You have to inform the enterprise team-admin about the developer certificate along with necessary certificate details,
Certificate details required for validations,
Enterprise team is supposed to provide you with the necessary provisional profile which supports your app bundle ID and developer certificate.
Download and use the provisional profile manually,
Go to xcode preference > select developer account > team > Download all profiles.
Generate Xcarchive file:
Change the Bundle Identifier to an appropriate name, it’s best to choose a bundle identifier name that corresponds with your developer account because you can’t use an already registered name.
Under the Signing heading, select “Automatically manage signing,” and then confirm by selecting “Enable Automatic” or select “Manual manage signing” and then select appropriate provisioning profile available on your MAC for respective bundle ID.
Before proceeding archive process, make sure you have selected Generic iOS device option as a destination.
Product > Archive option. Choose them and proceed to generate *.xcarchive file, shown in figure 2
Once after successful archive process, from organizer window Right click to your archived app > show in finder. Shown in figure 3 & 4.
Yeah hoo!!! Now, you have successfully created xcarchive file for your app which can be used for enterprise deployment.