开发者

iPhone 4 - no provisioned iphone os is connected

开发者 https://www.devze.com 2023-01-08 02:48 出处:网络
I\'m trying to install an app onto an iPh开发者_JAVA技巧one 4 and I get: no provisioned iphone os is connected

I'm trying to install an app onto an iPh开发者_JAVA技巧one 4 and I get:

no provisioned iphone os is connected

I am using:

  • Xcode 3.2.3
  • iTunes 9.2
  • iPhone 4.0 with iOS 4.0 (8A293)

I have the development provisioning profile in XCode and in the phone. The Organizer window shows the iPhone 4 with a green circle next to it. I have the correct App ID in the bundle identifier in Info.plist.

I've tried powering on/off phone, stopping/re-starting Xcode and iTunes with no luck. Any ideas what is wrong?


If the profile is installed, you are probably trying to install the app on the device with the build configuration set to "Distribution"... you need to set it to "Debug" or "Release" in the drop-down menu in XCode on the main window.

So, build options should be "Debug" and "Device"


Did you check the status of the Organizer? From Xcode, go under Window->Organizer, and look under the DEVICES section on the left pane. It should show the connected devices, and provide a more detailed explanation (e.g., device is not enabled for development, OS installed on phone is not supported by SDK, etc).

One possibility is that you are running 4.0.1 on your phone, but only have the 4.0 SDK installed.


Double check the provisioning profile is tied to the build you are doing: Right click-> Info on the project icon in Groups & Files then Build and scroll down to Code Signing.

There seem to be a million different things that can go wrong with getting the app to the iPhone, I never get it right the first time.

I've followed this before: http://adeem.me/blog/2009/04/24/tutorial-list-guideline-for-building-ad-hoc-application-for-iphone/

It's for Ad Hoc but most of the steps are the same.


I figured out what the problem was. I had the build set to iPad and I was trying to download to an iPhone! I hope this helps someone else.

0

精彩评论

暂无评论...
验证码 换一张
取 消