[IOS development] package static library. a file

Source: Internet
Author: User

[IOS development] package static library. a file

"How to generate static library. a file in iOS development ."Plato

Select iOS Device. We recommend that you do not connect to the Device here, and run command + B.

Then select the simulator command + B to run

In this way, two. a files are generated.

Use the simulator. a file to test the test without using a real machine test. Otherwise, an error is reported.

The following is the merge of the real machine and simulator. a file:

Cd +. a Path

Lipo-info. a file nameThe file information is displayed.
Lipo-create xxx/. a file xxx/. a file-output xxx. a file

Xxx/.The file refers to the path of the VM. a file and the path of the simulator. a file.

Xxx.File refers to the generated. a file.

The new file is twice the size of the original file, and then the test is successful.

Related Article

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.