2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Xcode6(GM seed)を入れたらTitaniumのアプリがbuild faild

Posted at

今日も元気にTitanium開発!と思ったらbuild faild.

[ERROR] :  Project failed to build after 5s 43ms

まぁ原因は昨日入れたXcode6っしょってことなんですが
とりあえずRun Configurations見てみると勝手にiOS SDKが8.0になってる。。。

スクリーンショット 2014-09-11 16.30.26.png

Preference->Studio->Platform->iOS見てみると

スクリーンショット 2014-09-11 16.20.03.png

ってことでXcodeのフォルダを参照しているのでXcode更新したら変わるの当然ですね。。。

つーことでXcode5を引っぱりだしてきて名前を「Xcode」、Xcode6は「Xcode6」としてやったらとりあえずもとの通りビルド成功。

スクリーンショット 2014-09-11 16.33.20.png

Xcode6のせいでいろいろ無駄に焦る。。。

※Preferenceに書いてあるようにsudo xcode-selectでXcodeのパス変えてやってもいいかも。試してないけど。

※下記の場所にSDKあるからXcode5の中のiPhoneOS7.1.sdkをXcode6にコピーしてもいけるかも。試してないけど。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?