Sometimes when we are installing applications to our device through XCode, we might get a error message saying “The executable was signed with invalid entitlements“. This is most likely because the device is not included in the provision file. In tried with a device which i was sure to be included in the provision file and found that it works as expected. This error mostly occurs when we try to install applications on device which are not included in the provision file and is running iPhone OS 3.0. My iPod Touch whose UDID was not in the provision file was throwing this error where as my iPhone whose UDID is included in the provision file worked fine.
Make sure to check your ‘target’ configuration settings and set the “Code Signing Entitlements” to the plist that you created for entitlements.
2009年7月15日星期三
iPhone 開發之路 (四) - Invalid entitlements
標籤: Development, iPhone
2009年7月8日星期三
iPhone 開發之路 (三) - 中文 iPhone Development Tutorials
From LuckeyLiu's Blog
iPhone 實機開發 Part 1 - HelloWorld
iPhone 實機開發 Part 2 - 移動的 View
iPhone 實機開發 Part 3 - 加速計的應用
iPhone 實機開發 Part 4 - 數據庫與 Table
標籤: Development, iPhone, Tutorials
2009年7月1日星期三
iPhone 開發之路 (二) - 設計 iPhone 程式 icon
設計 iphone 用的 icon,比較方便的是用 photoshop 去處理。
Tabbar icon 可以參考我的 iphoneTabIconsample.psd,要保持單色和背景的透明,iPhone會自動加上 Shading 的效果,save as "png" file 就可以加進你的程式的resources用了。其實,當你要Submit你的程式到App Store,你需要另外準備一個 512x512 的版本,Apple 要求這兩個icon 57x57 和 512x512 應該要大致上一樣,否則隨時會因此而將你的程式打回頭。
標籤: Development, iPhone
2009年6月23日星期二
iPhone 開發之路 (一) - 加入 iPhone Developer Program
- 你一定要有 MacOS 10.5.7 系統作你的開發環境,但不代表你一定要用 Mac 機。 我都花了不少錢將我的 Mac Mini MacOS upgrade。
- 到 iPhone Dev Center 登記,下載 iPhone SDK 3.0 (Leopard)的dmg,並安裝到你的 MacOS。
- 如果想將你所開發的應用程式上傳至App Store向全世界發售,你必須申請加入 iPhone Developer Program,之後你更可優先下載測試版的作業系統與開發工具。否則你不能夠將你寫好的程式安裝到任何 iPhone 或 iPod Touch,而只能在Simulator試行。注意你的 Apple id 的帳單地址應該要與信用卡付款資料一致。
- iPhone Developer Program分為Standard Program與Enterprise Program,費用分別是99美元與299美元。差別在可下載的對象不同,前者為一般iPhone或iPod touch使用者,後者則是500人以上公司、僅該公司員工能下載的企業應用程式。一般人都只需用Standard Program。等待 Apple 核準你的身份後,可用信用咭付款 99美元。
- 付款之後你會收到 Apple 的 Activation Code,並用此去啟動你的 membership。
這只是一個開始,可能是一個惡夢的開始,因為你前面的路仍是困難重重的。不過隨著 non-disclosure agreement (NDA) 的開放,你會發現你並不孤獨無助,你遇到的奇怪問題終會在網上找到答案,卻不要期望 Apple 會給予你什麼幫助。
標籤: Development, iPhone
訂閱:
文章 (Atom)