Reputation: 2061
I have generated a build in Xcode 4.6 and tested it in iPhone 5 device with iOS 7.4 and its working fine and I was not getting any issues such as status bar missing, UIButton
background missing etc. But if I run the same code in Xcode 5 with iOS simulator7 then I was getting issues such as status bar missed, background of UIButton missed and I couldn't able to change the table view back ground color. So finally should I run my code in Xcode 5 with iOS simulator 7 and fix all the issues? OR can I directly push this app in to App Store with out checking it in Xcode 5. Please help me. Thanks in advance.
Upvotes: 1
Views: 115
Reputation: 796
In Xcode 4.6 the base SDK is for iOS6. So if you build an application on Xcode 4.6 it will run iOS 7 but it will not be able to use the API's provided by Apple for iOS7. It will a iOS6 app running on iOS7 like many other apps do.
In Xcode 5.0 the base SDK is for iOS7. This means that you can use the latest APIs provided for iOS7. You are getting these errors when building in Xcode 5.0 because those APIs might not be supported in the new iOS7 SDK.
What I mean to say is that if you want your app to be a native iOS7 app then you need to build it on Xcode 5. Building on Xcode 5 will allow your app to feel like an iOS7 app. Though you will face a lot of errors as a lot of iOS6 APIs have been deprecated in iOS7.
If you want to support both iOS6 and iOS7 I suggest you build it on Xcode 5. Again you will have to keep in mind that some iOS7 API's are not available for iOS6 therefore you will have to keep a check on that.
To get a better idea I suppose you should have a look at this document. iOS7 transition guide
Thank You.
Upvotes: 2
Reputation: 2634
Follow the iOS 7 UI Transition Guide to fix all the issues you have in XCode 5 and then submit the app to the store.
Upvotes: 1
Reputation: 22966
You should definitely build and test in Xcode 5, why run the risk of shipping a bad product? For me you must properly test this in Xcode 5, on all deployment intended devices and the simulator.
Upvotes: 1