1. Create a new project
////Rootviewcontroller.m//Youxianming////Copyright (c) 2014 y.x. All rights reserved.//#import"RootViewController.h"@interfaceRootviewcontroller () @end @implementation void) viewdidload{[super Viewdidload]; UILabel *label = [[UILabel alloc] initWithFrame:self.view.bounds]; label.text = @ "youxianming" nstextalignmentcenter; label.font = [Uifont fontwithname:@ "helveticaneue-ultralight" 50.F "; [Self.view Addsubview:label];} @end
2. Then select Product--Archive
3. Select Distribute ... and subsequent operations
4. The IPA package is generated
Accomplished:)
Appendix:
How do I install an IPA package on a device?
Open itunes and then, in the file, select Add to Library ..., select the IPA file that has been generated
It will then appear in itunes, as shown in
Click Install to turn back into the will install
Then select Sync
After that, the installation is ready:)
Original source http://www.cnblogs.com/YouXianMing/p/3860005.html
IOS Packaged IPA file true machine test