Cannot start device after installing iOS 4.2 and 4.2 SDK

I installed iOS 4.2 on my second-generation iPod last week. I tried running the application on the device through Xcode, but it did not work (because Xcode did not yet support iOS 4). To solve this problem, I installed Xcode 3.2.5 and iOS SDK 4.2. Now I can get the application to run in the iPhone / iPad Simulator just fine.

However, I can no longer select β€œDevice” from the menu at the top of the screen. This is a choice, but when I try to click on it, it will never get a check mark.

Can't select Device from the Xcode menu

Because of this, I can no longer run the application on my iPod. Another (related) problem is that I can no longer select "Build and Archive" from the Build menu because the target is not a device.

Why is this happening? Do I need to change some parameters in my project or something with my device?

EDIT: Upon closer inspection, it seems like I can't choose anything but iPhone Simulator 4.0. Maybe something is wrong with the project file.

+4
source share
1 answer

Make sure that the base SDK is installed on Latest iOS (currently installed on iOS 4.2) for your Xcode project and your target product, then rebuild and check if your iPod is recognized.

Also try visiting Xcode Organizer and see if it asks for anything from your iPod. Typically, Xcode wants to collect some data from devices whose OS receives updates, so it can update itself and correctly install applications on the updated OS.

+5
source

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


All Articles