How to use iOS Simulator 7 \ XCode 5 to test pre-i

2019-03-08 05:21发布

Compiling my app on XCode 4.6.3 and running it on iOS 7 works great.

Compiling my app on XCode 5 and running it on iOS 7 results a big UI mess I don't want to handle right now. (iOS 7 pickers, tabbars, tableviews etc')

Goal:

I want to be able to use XCode 5 and test my app on the iOS 7 simulator but still use the iOS 6 and lower UI and feel.

Reason:

I don't want to redesign my app to iOS 7 but I do want to make sure it runs fine on iOS 7 using XCode 5 iOS 7 simulator.

Is there a quick toggle on XCode 5 to force everything to stay the same?

Is doing something like using iOS 6 Base SDK in XCode 5 acceptable or a bit too much hacky?

Edit:

Using iOS 6 SDK doesn't help. You'll still get the iOS 7 look on your app, just more buggy.

13条回答
女痞
2楼-- · 2019-03-08 06:24

Good news is that we can set the base sdk to iOS 6.1 with XCode 5 now(in my case, it's Version 5.0.1 (5A2053)), and test & debug our pre-iOS7 designed app on iOS 7 simulator now.

For those who don't know how to set base sdk to iOS 6.1 for XCode, this link might be a guide.

Everything seems to work fine, the same pre-iOS7 design look & feel, except some os provided controls like ActionSheet look & behavior in the iOS 7 way.

BTW, I've upgrade my mac os to maverick yesterday, not sure whether this is an affect factor.

查看更多
登录 后发表回答