iPhone 4.0 on iPhone but still Ad-Hoc compile for 3.1.3?

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-04-13T08:36:17Z Indexed on 2010/04/13 13:13 UTC
Read the original article Hit count: 398

Filed under:
|
|
|
|

Device:

Version : 3.1

Build: 3511

Device: iPhone

OS: iPhone OS 4.0

xCode 3.2.2 (Old)

xCode 3.2.3 (New; For iPhone 4.0 Beta)

Background:

As you can see I installed 4.0 on my iPhone as I read on this forum it's really hard to near impossible to downgrade back to 3.1.3, but it's my only device I have and use for development. When I try to continue to develop and build with the old xCode it tells me that "No provisioned iPhone OS device is connected". When I select Simulator it does compile and build, however when I spread this file it does not work on the devices of my testers, they get a Signed error.

When I run the new xCode, it does compile and build on the Device and when I spread this file, it does work on the devices of my testers (which are running the current official version 3.1.3).

Questions:

  1. Why is there a difference between building for Simulator and Device? A simulator build never seem to work on the devices of my testers because of signing issues and the build for device does work.

  2. Currently it seems the old xCode became useless, however I read that you may not use the Beta xCode to build your application for release. So knowing the above how am I able to pull this off with my current setup due the fact the old xCode won't let me build properly.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about 4.0