Search code examples
iosiphonexcodeiphone-4

Iphone4 development device xcode6


I have just started developing iOS apps with xCode 6.3. I only have 1 physical device with me, an iPhone 4 (no S). In order to work with Push notifications I need to register at least one device for development but xCode sees my iPhone4 as ineligible device (it runs IOS 7.1.2). I tried adjusting the building target to 7.1, restarting the device and the mac, but nothing has worked.

is there any way I can register the iPhone4 as development device without buying a new iOS device?


Solution

  • That was actually very stupid. I had tried this solution but I didn't clean and rebuild the project. After a clean, rebuild and restart (!!!) I can now run the apps on a Physical iPhone4