Q8: apply for a certificate in the iOS Dev Center and generate an iPa file for others. q8ipa
Write by iceAna Team2.Bie ~~, App (Submit app into Store) 01. Preface
Review on iOS real machine debuggingIf you haven't seen it, please click here. In my summary:
- After writing the code, select our iPhone, iPad, and other devices (Registered in developer accountIn Xcode, you can perform real-machine debugging.
- SetProject code,Developer Certificate,
** Key **,Developer accountPackage and transfer it to another Mac. You can debug it on another computer, provided that all devices have been registered.
NotesDevelop CertificateAndKeySome friends are unfamiliar, as mentioned here. Because we use Xcode for certificates (Certificate) And the configuration file (Provisioning Profile. I secretly told you that there areKey, You can view it in the key string.
Now the question is:
To solve these problems, please refer to the text.
02. Text
The first thing to mention is that your developer account allows you to register up to 100 devices, so that your apps can be installed and run on these devices without the need to download them from the app Store. You only need to simplybuildDownload the app code and then send it to the test user to compress the file. Of course, the compressed file must include:application bundleAndAd Hoc Distribution profile. Then the user will drag these filesitunesConnectioniPhone、iPad.
Note:
application bundle
Ad Hoc Distribution profile. Ad Hoc indicates temporary location, especially (don't spray me ).
1. About distribution profile
Previously, we explicitly stated that to run the developed App to a device, you must use the certificate (CertificateAnd configuration file (Provisioning profile) To sign (signed). Are you still impressed with the configuration file,Team provisionCan match anyApp IDBut unfortunately, it only targetsDevelopmentIt is only valid in Xcode.
Well... now, I hope everything goes smoothly: You can use Xcode to run the app on a real machine. Next, let's start a new journey. Specify two English words:
DevelopmentDevelopment, that is, you are still in the Code debugging stage.
DistributionRelease, application mature, can be released as a product for everyone to play
Next we will create a newprofileOnlydistributionWork.
2. ios Dev Center content
Open Safari and click http://developer.apple.com/ios/. after the user lands on, our goal isCertificates,Identifiers&Profiles.
Click it to go to the following page:
What you see now is as follows:
Certificates
- All
Show all certificates
- Development
Show Development Certificate
- Production
Display the published certificate (Distribution)
Identifiers
- App IDs
If an App is an application, you must set a corresponding ID for it!
Devices
Provisioning Profiles
- All
Show all configuration files
- Development
Display the Development Configuration File
- Distribution
Display publish configuration file
3. Certificate function and Process
SelectIdentifier->App IDs, There is+Click to add a new App ID.
4. build and then bie ~ Publish
Build has two modes:DebugAndRelease. The two are different: In the Release mode, some code optimization is enabled, which can be executed faster and better, and this optimization will be disabled in the Debug mode. Details will be provided in my app later.
5. test how to use the ipa file. 6. Finally
You have time to write down the article that the App uploads to the App Store! Finally, I would like to thank you for your attention or comments.