[Guide] iOS Development Environment Setup - mulab/intro GitHub Wiki
iOS开发需要Mac OS,常用IDE有XCode和AppCode,第三方库管理常用CocoaPods。
XCode 8
请从App Store上下载最新的XCode 8版本,如果遇到流量和网速问题可考虑使用IPv6代理或翻墙。
下载完毕之后第一次运行时会安装命令行工具,会自动安装上git
等工具。
CocoaPods
在终端(Terminal.app)中运行sudo gem install cocoapods
或参考官网上的教程进行安装。下面是简要步骤:
- Install CocoaPods:
- Make sure you have Ruby on your computer.
- Open Terminal and then as described here:
sudo gem update --system sudo gem install cocoapods pod setup
- Change directory to this repo, then:
pod install
- Use App.xcworkspace rather than App.xcodeproj
You can also try the CocoaPods App instead of using CLI.
AppCode(可选)
AppCode是JetBrain公司推出的进行iOS OS X开发的工具,其代码格式化等功能比XCode更完善一些,可在官网下载。
作为一家良心公司,JetBrain旗下各种IDE对学生免费,请自行使用学校邮箱进行申请。