Deploy from Xcode 4.6.2 to iOS 7 (beta) device Deploy from Xcode 4.6.2 to iOS 7 (beta) device ios ios

Deploy from Xcode 4.6.2 to iOS 7 (beta) device


Well I don't know If this is of any help to anyone but me. But I have been able to use Xcode 4.6.2 to deploy to my iPhone 5 running iOS 7. I think it is due to a bug in the system but it doesn't matter to me. It works OK. Now to do this, I do as follows:

  1. Make sure you have the latest version of Xcode from the App Store. (I don't know why, but why not?)

  2. Download and Install Xcode 5.

  3. Close all instances of Xcode running in your system (4.6.2 and 5)

  4. Run Xcode 5. you will see it recognizes your device, you probably have to activate it as use it for development again.

  5. Run Xcode 4.6.2 simultaneously. You will see it recognizes your iPhone as in: make it valid target for development.

  6. close or do whatever you want with Xcode 5. From this point onwards You can keep using Xcode 4.6.2

I haven't turned my computer off or restarted it in a long time so I don't know if this is a fluke or what. But other people I work with have been able to do the same, so I expect it to work for you.

EDIT:

Better yet. Something I have found useful is building from Xcode 4.6.x to an iOS 7 device, actually makes the phone run it in iOS6 or before Mode which is the way all apps run at the moment. So my guess is that this would be what your app would look like in iOS 7 if deployed from the app store. Assuming you are targeting iOS 4+

Similarly, if you build the same app using Xcode 5, it tries to incorporate some iOS 7 appearance proxies by default and certainly the UI behaves differently. Granted I haven't played with Xcode 5 much, there is probably a toggle somewhere to turn this compatibility mode on and off.


I was unable to upgrade MacOS from 10.7.5 to 10.8.x and that is why I could not install Xcode5 on my MAC. I downloaded Xcode5 but due to incompatibility it can not be installed.

I was able to run app using XCode 4.6 in debug mode on an iPhone 4 with iOS 7(and can't express enough how happy i got after that)

Steps:

  1. Use incompatible Xcode5 (copy it from the dmg image to somewhere else, there will be a cross sign in it) and right click on it and Click "show package contents".
  2. Go to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and copy the iPhoneOS7.0.sdk file in the corresponding folder in Xcode4.6 after showing its package contents.
  3. Go to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and copy the 7.0 and 7.0.3(11B508) file in the corresponding folder in Xcode4.6 after showing package contents.

Now when you open Xcode4.6 your project Base SDK should be 7.0 and if your device is not detected yet, disconnect and reconnect your device so that it starts "getting symbol files from iPhoneXYZ"

Hope this helps someone.

One more important thing, in your scheme Debugger should be set to "LLDB"


You can't. But you can have multiple version of xcode installed 4.6.x and 5.0.

once installed the 5.0 you can do something like this :

sudo xcode-select -switch /Applications/Xcode5.0.app

you can obviously switch back to the 4.6.x doing the same


matomo