码迷,mamicode.com
首页 > 其他好文 > 详细

如何打包ipa文件

时间:2014-07-22 23:01:52      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   文件   io   

如何打包ipa文件

bubuko.com,布布扣

 

1. 新建一个工程

//
//  RootViewController.m
//  YouXianMing
//
//  Copyright (c) 2014年 Y.X. All rights reserved.
//

#import "RootViewController.h"

@interface RootViewController ()

@end

@implementation RootViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    UILabel *label      = [[UILabel alloc] initWithFrame:self.view.bounds];
    label.text          = @"YouXianMing";
    label.textAlignment = NSTextAlignmentCenter;
    label.font          = [UIFont fontWithName:@"HelveticaNeue-UltraLight"
                                          size:50.f];
    [self.view addSubview:label];
}

@end

 

2. 然后选择 Product -> Archive

bubuko.com,布布扣

 

3. 选择Distribute...以及后续操作

bubuko.com,布布扣

bubuko.com,布布扣

bubuko.com,布布扣

bubuko.com,布布扣

 

4. 生成了ipa包

bubuko.com,布布扣

大功告成:)

 

 

附录:

如何将ipa包安装到设备上呢?

打开iTunes,然后,在文件里面选择添加到资料库...,选择已经生成好的ipa文件

bubuko.com,布布扣

之后就会出现在iTunes中,如下图示

bubuko.com,布布扣

点击安装后回变成将要安装

bubuko.com,布布扣

然后选择同步

bubuko.com,布布扣

之后就安装好了:)

bubuko.com,布布扣

如何打包ipa文件,布布扣,bubuko.com

如何打包ipa文件

标签:style   blog   http   color   文件   io   

原文地址:http://www.cnblogs.com/YouXianMing/p/3860005.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!