Setup iOS Development Environment.

Setup iOS Development Environment

Install XCode and check-out source code from SVN

XCode

Please find document from Apple on how to install XCode.

Check-out Source Code

In XCode, Use menu “Source Control” -> “Check-out” to checkout source code from SVN.

One issue I got during this process is: it always time out when check-out. To resolve it: please open a command line and run command

SVN ls https://128.133.152.1:8443/svn/atomsuite/trunk

It will ask you for username and password. After that select “Permanent”.

After perform above, you will be able to check-out code in XCode.

Certificates, App ID and Provisioning profile

We need the following in developer.apple.com

  1. Development and distribution certificate

    Need at least one development certificate and one distribution certificate.

    wildcards can be used.

  2. App ID

    We can set up app ID which represent multiple apps, such as: com.applesoft.*

  3. Provisioning profile

    Need at leas two profiles: 1 for development and 1 for distribution

Certificates and keys in Mac

There are two certificates required on the Mac development machine:

  1. Development certificate

    This will be used to develop and test the app in XCode.

    Following the steps to create development certificate in Apple development page, it will guide you to setup the key and certificate on the machine.

  2. Distribution certificate

    This will be used to make distribution IPA file.

    I download the Distribution certificate from Apple development page and import it.

    Before import the certificate, you need the TechPubs private key. I export from my original development Mac and import into my new machine.

XCode settings

In XCode, select the project and corresponding Target. Then select Build Settings tab and see code signing session. Make sure select “iOS Developer” for Debug and select “iOS Distribution” for Releases. For “Provisioning Profile”, select “Automatic”

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值