# [titanium]ios app的更新錯誤

- URL: https://justfly.idv.tw/titaniumios-app%e7%9a%84%e6%9b%b4%e6%96%b0%e9%8c%af%e8%aa%a4/
- 日期: 2012-03-06
- 分類: 我知故我在
- 標籤: app, apple store, error, iphone, Titanium

做完app後總是會遇到要更新的時候，正常來說，我們只要到[iTunes connect](https://itunesconnect.apple.com/)新增一個新版本的資訊，然後再把tiapp.xml的版本改成較高的新版本發佈就可以了！

不過，等著我的卻是：

This bundle is invalid. The key CFBundleShortVersionString in the Info.plist file must contain a higher version than that of the previously uploaded version.

的錯誤訊息！！！

明明該做的檢查都做了，版本也都設定的比上衣個版本還高了，為什麼還會出現這個訊息勒？

其實原因我也不知道＠＠

我只知道我的[解決方式](https://justfly.idv.tw/2012/03/06/Just_1114.html)是這樣：

- 到/app/build/iphone/，把當中的Info.plist移到/app/下面

- 雙擊Info.plist編輯它的「Bundle versions string, short」到新版本

https://justfly.idv.tw/wp-content/uploads/2012/03/スクリーンショット-2012-03-06-2.23.43.png

- 刪掉/app/build

- 重新編譯

這樣就解決了!
