首页 > 移动平台 > 详细

iOS 打包ipa文件 真机测试

时间:2015-01-21 13:15:18      阅读:308      评论:0      收藏:0      [点我收藏+]

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

技术分享

 

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

技术分享

技术分享

技术分享

技术分享

 

4. 生成了ipa包

技术分享

大功告成:)

 

 

附录:

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

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

技术分享

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

技术分享

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

技术分享

然后选择同步

技术分享

之后就安装好了:)

技术分享

 

原文出处 http://www.cnblogs.com/YouXianMing/p/3860005.html

iOS 打包ipa文件 真机测试

原文:http://www.cnblogs.com/airy99/p/4238489.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!