Wednesday, July 7, 2010

iPhone AdHoc Provisioning Tip

Has anyone experienced problems with AdHoc provisioning on iPhone SDK 4?
I had a problem that took me while to overcome. Each time I dragged my app into iTunes I got a message saying:
"A provisioning profile named embedded.mobileprovision already exists on this computer. Do you want to replace it?"
I had a perfectly working setup to create AdHoc distributions of iPhone apps. What has changed?
The only difference was that I created a new Target within the same project. Luckily, I had one target that still worked as AdHoc built. I could boil it down to a missing property in info.plist of the new target.
Adding LSRequiresIPhoneOS and setting it to true did the trick.
If you have a similar problem please check out also this blog entry.

20 comments:

吳婷婷 said...

當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................

芸茂芸茂 said...

好棒的地方 我一定要常來~~~^^~..................................................................

dawsonfelicia張君dawsonfelicia均 said...

來幫忙拼人氣~Go Go Go..................................................................

宜潔宜潔 said...

被你的人氣吸引過來~~.................................[/url]...............

楊偉馨楊偉馨 said...

要拼才會贏,生活就像戰爭…什麼時候才有和平啊…>"<..................................................

函松函松 said...

the best as always thanks............................................................

俊宏淑松 said...

無私分享,很不錯哦~謝謝~~.................................[/url]...............

琬安琬安 said...

來問個安,誰不支持這個部落格,我咬他..................................................................

童祖如童祖如 said...

做好事,不需要給人知道,雖然只是一件微不足道的事,但我相信,這會帶給我快樂。..................................................

吳林怡廷佳宇 said...

It is never too late to learn.......................................................................

建邱勳 said...

A friend to everybody is a friend to nobody.............................................................

敬周喜 said...

你快d upday個blog啦~..................................................................

建邱勳 said...

弱者困於環境,智者利用環境~~加油!............................................................

红十字 said...

人生中最好的禮物就是屬於自己的一部份............................................................

忠姜姜姜蓮 said...

寂寞又無聊 看到你的BLOG 加油喔!!..................................................

幸平平平平杰 said...

這麼用心的經營你的文章, 當然值得我們留連拜訪的!...............................................................

1615 said...

這個讚唷!!值得佳賞與獎勵~~●ω●..................................................................

麗王王珠 said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。..................................................

fdsaf said...

很棒的分享~~~來留個言囉~~~~............................................................

Mobile Application Development said...

Thanks for sharing nice information about mobile application development. Mobile Application Development for iPhone development and Android Mobile Application Development. Awesome post.