万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Titanium SDKのエラー(Titanium 3.2.1)

    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

    のエラーがコンソールに!!!!

    URL: http://stackoverflow.com/questions/20684235/titanium-sdk-3-2-error-invalid-ios-version-value-7-0-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

    いけた?!