天天看點

mac環境下ios開發,ice環境配置

環境:

os: os x Yosemite 10.10.5

xcode: 7.0

ice:3.6.0

iceTouch:3.6.1

過程:

安裝xcode: app store中安裝xcode最新版本。

安裝ice:     zore ice 官網安裝最新版本ice:官網推薦homebrew安裝。https://zeroc.com/download.html

a-安裝homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" http://brew.sh/

b-安裝ice: brew install ice //可能會提示出錯,安提示給出的連結檢視解決方法

安裝iceTouch:brew tap zeroc-ice/tap brew install icetouch36 //提示出錯,等一段時間重試

安裝ice builder for xcode:推薦使用Alcatraz:

a-安裝Alcatraz:curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh      http://alcatraz.io/

b-安裝builder:xcode-windows-package manage 搜尋ice builder-install

配置xcode:

a-additional sdks :/usr/local/Cellar/icetouch36/3.6.1/lib/IceTouch/ObjC/$(PLATFORM_NAME).sdk

b-Header Search Paths:/usr/local/Cellar/icetouch36/3.6.1/lib/IceTouch/ObjC/$(PLATFORM_NAME).sdk/usr/include/objc/