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:

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous said...

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

建邱勳 said...

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

敬周喜 said...

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

建邱勳 said...

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

Anonymous said...

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

忠姜姜姜蓮 said...

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

幸平平平平杰 said...

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

Anonymous said...

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

Anonymous said...

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

Anonymous 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.