“No iPhone OS device connected” after upgrading to version 4.0

I upgraded my iPhone to the new OS 4.0 and went on to create my iPhone application, and everything was built fine, but the message I received at the end was "There is no device connected for iPhone OS." Looking at the Xcode organizer, it shows my connected device with an amber icon next to it, and all my provisioning profiles appear as “Installed,” but also with an amber icon.

Is there anything I need to do to create existing provisioning profiles from the moment I upgrade to OS 4.0?

I have Xcode 3.1.3 and 10.5.8 OS. I can not install Xcode 3.2.3, because for this I will need 10.6.2 OS, which I do not have.

So, how do I continue to develop and debug, as I used to, before I said yes in the update dialog on my iPhone without buying a new OS or a new iPhone?

Thank you for your help.

EDIT1: I do not want to develop for iOS 4.0.

+3
source share
8 answers

You need to install Xcode 3.2.3 if you have an iOS4 device, whether you want to use iOS4 features or not.

Apple does not support downgrading your phone to an earlier version of the OS, although there are ways to do this. I'm afraid your only "official" option is to upgrade to Snow Leopard. (Although still worth doing)

+4
source

They are all wrong.

All you need is /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0 (8A293) (you could just call it “4.0” in future releases). Take it from a computer with 4.0 installed or extract it from the installation package (Pacifist, or lsbom / cpio / ditto) or something else.

GDB doesn't like being run without characters, so also grab a copy of /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk ( EDIT: I haven’t tried this either, but it should work if the file has an object format not much changed). It will also allow you to compile for 4.0, but I have not tested whether this works (I do not know if 3.1.3 supports GCC "blocks").

EDIT: Everything that is said will be easier if you just bite the bullet and upgrade it. You need to compile against 4.0 if you want some functions, for example, to be tied to your application instead of killed ones (- [UIApplicationDelegate applicationDidEnterBackground:]).

+3
source

Xcode 3.2.3 is required for developing iOS 4 applications.

+2
source

If you want to develop for iOS 4, you must run Mac OS 10.6 (Snow Leopard), and you need to install the iOS 4 SDK.

+2
source

Make sure you have iTunes 9.2 if you are connecting an iOS4 device. The device will not be detected even in xcode if its os is 4.0 and you are still using the old version of iTunes.

+1
source

I had the same problem after updating the phone to iOS 4.2 I had to:

  • upgrade Xcode to 3.2.5
  • reboot your phone with no Xcode as described above.
  • raise Xcode, Window, Organizer and when in the view for
    • Jim'sphone, resume (I think) or
    • Profiling Profiles or something, Sorry ... I forgot that ...

Given the warning, a similar "Xcode does not have debugging information for this version of iOS"

==> select "Collect"

Hold the Organizer to see the progress ... it takes a minute or two. After I did this, I was able to create and install / debug.

+1
source

Simple tip: forcefully remove the device by right-clicking on the device where the amber point is located ("Remove from Organizer"). Reconnect and the device should be accepted.

0
source

You need to do two things:

  • Make sure your Xcode is updated.
  • Reboot iOS.

For some reason, updating the OS leads to confusion about the profile of its preparation until it reboots.

0
source

Source: https://habr.com/ru/post/1345355/


All Articles