0

I upgraded Xcode 4.6.2 to Xcode 5. My existing project's xib files were upgraded to Xcode 5. I have tried to revert them back to Xcode 4.6 (in File Inspector, Interface Builder Document, "Opens in: Xcode 4.6"), but after rebuilding the project and running it on the device (iOS 7), the interface on the device is still Xcode 5 (the app buttons and toolbar are the new iOS 7 style).

Xcode 5 File Inspector

How can I revert the interface to look like before (pre iOS 7.0)?

1 Answer 1

3

That pop up simply defines the format of the XIB file itself. It does nothing to affect the interface at runtime.

In order to keep the iOS 6 look of your app, you'd have to compile with the iOS 6 SDK, which means you'd have to keep using Xcode 4.6.3. (There are people out there who would say that you could copy the iOS 6 SDK into Xcode 5, but that results in an unsupported configuration of Xcode and is definitely not recommended)

Sign up to request clarification or add additional context in comments.

7 Comments

Thanks Dave, I will try that. I don't know why Xcode 5 offers to revert to the old xib interface, if it does not support building the app with that old interface. Does it mean that the project needs to be build and deployed separately for iOS6 (with older interface) and iOS7 (with newer interface)?
@kzia that's so you can share xib files between developers who have different versions of Xcode (for example, one using Xcode 5 and one using Xcode 4).
Does it mean that the project needs to be built and deployed separately for iOS6 (with older interface) and iOS7 (with newer interface)?
@kzia no, you should be building it all in Xcode 5. When you run an app built against iOS 7 on an iOS 6 device, it will obviously look like iOS 6.
@DaveDeLong however, under iOS 7 if you want your app to look the same in Xcode 5 as it did in Xcode 4, you do have to keep separate projects, unless there is a way to tell Xcode 5 to build the app the same way Xcode 4 did. This should be a build setting somewhere, but I can't seem to find it.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.