Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If I understand your issue correctly... I have been running into the same problem with our app and needed to keep the iOS6.1 interface, built in Xcode 5 and running in iOS7. Our interface was also messed up, misaligned and toolbars missing buttons. We will fix it later for 7, but don't have time right now, but need it to run on iOS7 and be built in Xcode 5 still.</p> <p>So here's what I did: (I'd like to post some screen shots, but don't have my mac handy, will get later if needed)</p> <ul> <li>I kept Xcode 4.6.3 installed along with Xcode 5. </li> <li>I added symlink from 6.1 SDK into the Xcode 5 installation. (I found a SO question on that, will find a link) Or you can install it like you did.</li> </ul> <p>(these next 2 options may not be needed, but we ended up using them in testing, and it works, even the new 5S 64bit phone)</p> <ul> <li><p>In Build Settings I selected build architectures to use the standard, non-64bit armv7 option, don't pick the "including 64bit" choice.</p></li> <li><p>same place, Build Active Architecture Only to Yes</p></li> </ul> <p>Then...</p> <ul> <li><p>also in Build Settings, set Base SDK to iOS 6.1. (I believe this was the key to make it work)</p></li> <li><p>General tab of app target, set Deployment Target to 6.1 (ours is still on 5.1, for now)</p></li> <li><p>In our Storyboards, select File Inspector, in the Interface builder section I selected opens in Xcode 4.6, and Builds for iOS 5.1 and Later, and view as iOS 6.1 and Earlier. (my autolayout is unchecked, we don't use it)</p></li> </ul> <p>Warning about that last option for "opens in". If you select "opens in Xcode 4.6", you will lose Storyboard editing for iOS7. In my case, I don't care for now, because I want it to stay in 4.6 views anyway. Just keep that in mind. I think you can switch it back, but haven't tested.</p> <p>With the 6.1 SDK linked/installed, you should be able to select the desired iOS version for use in the simulator when you run in the the app. You will see it in the Active Schema drop down in the top toolbar. In my case, I can for example, select iPhone Retina (4-inch) and below that I have option for iOS7 or 6.1. The interesting part for me is, with the settings above, I am able run my app in the simulator and it looks like iOS6 even if I select iOS7 as the simulator active schema. It even worked in the 64bit simulator which, in my setup, will only show iOS7 selection.</p> <p>At least this way I can build and work in Xcode 5, ad-hoc distribute the app for iOS7 users, but keep the iOS6 styles, placements and buttons intact. Now I can spend more time making the transition to iOS7 styles, but can still fix bugs and update the app as if it were iOS6.1.</p> <p>I hope that makes sense, and I hope it answered your question. And I hope I remembered everything I did! I'll add more if I think of something.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload