zoukankan      html  css  js  c++  java
  • iOS 打包ipa文件 真机测试

    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

  • 相关阅读:
    arm单板上移植gdb
    video on web
    chromium源码阅读
    CE-HTML简介
    multi-tap
    DPDK 网卡RSS(receive side scaling)简介
    c语言实现带LRU机制的哈希表
    Linux TCP协议使用的变量
    scp源码浅析
    Linux e1000e网卡驱动
  • 原文地址:https://www.cnblogs.com/airy99/p/4238489.html
Copyright © 2011-2022 走看看