There are four methods to release your iOS app:
Enterprise:
iOS AppStore:
Development:
Ad Hoc:
Now we are going to introduce the method (the 4th) to distribute your app on fir.im.
What is required:
You should process the following steps of this chapter on your Windows computer (or virtual machine). It is also practicable to generate them on Apple Developer,But it will be quite troublesome
Steps:
Download AppUploader
The software called AppUploader is required. I have shared it on BaiduYun. Please download it.
Login AppUploader
Enter the software, then you should log in with your APPLE develop account (may require SMS verification)
Add Certificate
Choose 证书 and create a certificate for distribution, we called it P12 certificate. And then click the **ADD **Bottom in the right corner
Create Your Certificate
Download Certificate
Click OK and you can see the new certificate you created in the list.
Then click the p12文件 to download it
Add ID
Click BACK and then click 描述文件
Click ADD then click "添加应用ID"
Create An AdHoc Profile
Download Profile
Click OK,and you can see the profile you created just now in the list.
Click 下载 to download it
The rest of these steps should be done on your MacOS computer
And now you have got two files
Steps:
Install Certificate
Click the p12 to install, it will be add in your keychain
Check in your keychain, you may find a new iPhone Distribution Certificate in your keychain
PS: 信任 item of this certificate is 使用系统默认, please donot change it
Add Profile
Click the mobileprovision file to add it to your XCode
Before this, you should make sure that your app developed on XCode can generate in debug/release method because this document does not include the content to fix your program bug
Steps:
Add a new Ad Hoc configuration for generating ipa
Change your Signing
Change the project signing
Change the target signing
Edit Scheme
Choose: Product → Scheme → Edit Scheme
In the new window, choose: Archive → Build Configuration
Choose the AdHoc item
Start to achive
In build option, choose Any IOS Device(arm64)
Choose: Product → Achive
Please enter the password of your keychain(your MacOS computer password)
Generate the ipa
In the Organizer window, you can see the app is under generating
Click the Distribute App button, then choose Ad Hoc
Then press Next, in the next window, do not change the item and press Next
Then you see the default Distribution certificate is usable, you should choose the right mobileprovision file. There should not be a warning below (Profile doesn‘t include the selected signing certificate). If so, please recheck your steps.
Then press the Next button, in the new window that popped up you can export the ipa file. After Click the Export button, you should choose a path on your computer, then you press the Export button, you can find a file folder in this path, and the ipa file is in this folder.
You can distribute your ipa through the website of fir.im
Steps:
Login
Sign up an account of fir.im website. In addition, real-name authentication is required
Upload
Login with your account and then just drag your ipa file into the page to upload it.
Generate the Link
The 短链接 can be used for distribution and downloading.
原文:https://www.cnblogs.com/tzbubble/p/14719499.html