Application of FIR tools and problem solving

Source: Internet
Author: User
Tags configuration settings

Application of FIR tools and problem solving

Today needs to give customers packaging testing, but because the dandelion server in the maintenance, temporarily not used, so they re-read a beta tool fir. The principle is the same, mainly in the correct packaging.
FIR gives detailed packaging steps:

1. Add Devices:
Sign in to Apple Developer site: https://developer.apple.com/account/ios/device/deviceList.action, add the Udid for the device you want to install the test app (Apple Limited, add up to 100 devices)

2. Add a publishing Certificate:
Click Distribution in the left navigation bar provisioning profiles to add a new certificate

Select Ad Hoc

Select an app ID, which is the Universal app ID

Select Developer

Add a test device

Complete information

Download the certificate locally and double-click to add it to Xcode

At this point, the work on the Apple Developer website is over.
3. Xcode settings
Click the project icon in Xcode and find the configuration settings under Info tab, with Debug and release as the default. Click +, select Duplicate the "Release configuration", to create a new thing name, we recommend the use of "ad hoc distribution"

Click the targets icon and under Build Settings this tab, locate the Code signing section. Set the ad hoc distribution certificate in code Signing identity to the certificate that you just imported to the corresponding test app in Xcode. Be careful not to change the certificates in debug and release.

Ensure that the bundle indentifier inside the Info tab in target has a default value that must match the provision portal input. This is important, otherwise it will go wrong in the future.

In the upper left corner of Xcode, there is a drop-down menu to the right of the Run button, select Device or Simulator, and click Edit schema below the menu. Ensure that the value in build configuration in archive is ad hoc distribution

    1. Compiling the program
      The configuration work ends here. Click Archive in product, the program starts compiling, the setup box pops up after compiling, click "Export" and select "Save for Ad Hoc develoyment" 12.png

      An. IPA file is generated as a result of the action prompts. this. IPA can be installed in a test application device that was previously set up.

This is the FIR of the steps, relatively old, but if you are familiar with the certificate application procedures can also be smooth operation.

Note:
I ran into the whole process of the certificate does not exist problems (has been reported this error), and finally found the reason:

There is a problem with the settings in Xcode under preferences.

Select the AppleID you are using in your project and click View Details to see the interface:

The reason for my problem is that there is a creat button on the frame in the picture, and then you can click it. In case there is a similar problem in the future, record it here.

Application of FIR tools and problem solving

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.