Titanium 3.2.1にしてから、iOSのシミュレータで起動しようとしたら、
ios sdk version 7.0 not found. titanium
のポップアップ
https://developer.appcelerator.com/question/160722/updated-to-320-ios-7-sdk-not-found-among-many-other-broken-things
titanium sdk select 3.1.3.GA
できない。。
iOS SDK versionが空白になってたので選び直した。
しかしだめ
Helpから
Check for Titanium Updateをした。
[ERROR] : Invalid "--ios-version" value "7.0.3
のエラーがコンソールに!!!!
「titanium build --platform ios --ios-version 7.0.3」をターミナルでやってみる。
$ titanium build --platform ios --ios-version 7.0.3 Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.1.3.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Invalid "--ios-version" value "7.0.3" Accepted values: 7.0 For help, run: titanium help build
なんだこれは??「7.0」ならOKなの?
7.0に変えてみて更にやってみる。
$ titanium build --platform ios --ios-version 7.0 Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.1.3.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Invalid project directory "." Use the --project-dir property to specify the project's directory
「ti sdk select 3.2.0.GA」っていうよくわからないコマンド。
$ ti sdk select 3.2.0.GA Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.1.3.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Invalid Titanium SDK "3.2.0.GA" Did you mean this? 3.2.1.GA 3.1.3.GA 3.1.1.GA
3つからどれか選べそうなので、
選べそうな根拠は
tiapp.xml
さっきのアップデートで「3.2.1.GA」が入ってるっぽいので。
$ ti sdk select 3.2.1.GA Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.1.3.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ Configuration saved
いけた?!