IOS development-how to package IOS applications

Source: Internet
Author: User

Before uploading an application to the App Store, We need to compress the compiled binary files and resource files into a compressed package. The compression format is zip.

On the homepage, find the compilation location, which is very important and difficult to find. We can look at the compilation log and find the create universal binary helloworld... And then expand the content as follows:

Create universal binary/users/tonyguan/library/developer/xcode/deriveddata/helloworld-example/build/products/release-iphoneos/helloworld. APP/helloworld normal "armv7 armv7s"

Cd "/users/tonyguan/desktop/19.1.4 helloworld"

Setenv path "/applications/xcode. APP/contents/developer/platforms/iphoneos. platform/developer/usr/bin:/applications/xcode. APP/contents/developer/usr/bin:/usr/sbin:/sbin"

Lipo-create/users/tonyguan/library/developer/xcode/deriveddata/helloworld-fzvtlfsmygaqjleczypphenzabef/build/intermediates/helloworld. build/release-iphoneos/helloworld. build/objects-normal/armv7/helloworld/users/tonyguan/library/developer/xcode/deriveddata/helloworld-fzvtlfsmygaqjleczypphenzabef/build/intermediates/helloworld. build/release-iphoneos/helloworld. build/objects-normal/armv7s/helloworld-output/users/tonyguan/library/developer/xcode/deriveddata/helloworld-plugin/build/products/release-iphoneos/helloworld. APP/helloworld

After the last log-output is the location after the application is compiled, "/users/tonyguan/library /... /Products/release-iphoneos/"is the directory generated after compilation, helloworld. app is a package file, and helloworld is a binary file.

You can right-click the package file helloworld. app and choose "show Package content" from the shortcut menu. The helloworld file is the binary file of our application. Others are resource files, including image files, attribute list files, NIB files, and storyboardc files. Nib files are compiled XIB files, and storyboardc files are compiled storyboards files.

Pack the helloworld.apppackage file into helloworld.zip. Right-click helloworld. in the app package file pop-up menu, select the compressed folder helloworldzip file, which will be generated in the current directory. Please save the file. We will introduce it in the next section and use it when uploading the application.

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.