2012年3月19日 星期一

Titanium 1.8和xcode4.3的處理

2012/3/20 上午4:14

by http://developer.appcelerator.com/blog/2012/03/titanium-and-xcode-4-3-revisited.html
對Xcode 4.3的支援要到Titanium 2.0(預計2012/4)以後才會發生
這段期間有兩種作法,
一個是降到xcode4.2
如果一定要4.3, 方法會比較麻煩一點
How to use Xcode 4.3 with Titanium 1.8 
        1.        Upgrade Mac OSX to 10.7.3 from “ -> Software Update”
        2.        Download and install Xcode 4.3.1
        3.        Run Xcode 4.3.1 and install any necessary components if prompted. It is not required to delete prior Xcode versions, but you can if you want to.
        4.        Install Xcode 4.3.1 command line tools from “Xcode -> Preferences -> Downloads”
        5.        sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
        6.        Download and extract ios-sim-xcode4.3.tar.gz
        7.        Copy the new ios-sim executable to any Titanium SDK paths you are using. For example, if you are testing with Titanium 1.8.1 and 1.8.2, you would do the following:
                cp /path/to/ios-sim ~/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.1/iphone/
                cp /path/to/ios-sim ~/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.2/iphone/

8. Create a new project, or clean an existing one, and build for the iPhone/iPad simulator and you’ll have your Titanium app running against Xcode 4.3 and iOS 5.1!

第六步驟是下載
第七步驟是將下載檔案放到Titanium SDK位置
第八步驟是清除/新建專案


沒有留言: