Testing iOS 6 apps on device running iOS7

前端 未结 9 1363
执念已碎
执念已碎 2020-12-30 09:37

I have an iPhone 4s. I receive iOS 7 update in my phone. So the question is: can I run iOS 6 apps from Xcode on my iOS 7 device?

NOTE: I haven\'t go

相关标签:
9条回答
  • In my case, i changed Build Settings -> Build Options -> Compiler for C/C++/Objective-C to Default compiler then it's resolved.

    0 讨论(0)
  • 2020-12-30 10:12

    Yes you can Run Your IOS 6 app in to IOS 7 but Sometimes its Graphics not Display Correctly or it Might be Crash in IOS 7 sometimes...

    so Better you use Autolayout in your ios 6 app and run in your ios7 device..

    0 讨论(0)
  • 2020-12-30 10:17
      if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
            self.edgesForExtendedLayout = UIRectEdgeNone; 
    

    // iOS 7(x)

    0 讨论(0)
  • 2020-12-30 10:19

    Yes, you can run iOS6 Apps from Xcode in your iOS7 device.

    They will run in a compatibility mode which is suppose to be like running the app in a iOS6 device but in reality some stuff may not work as expected. I have experienced problems with rotations, UIAlerViews and other components from the SDK.

    0 讨论(0)
  • 2020-12-30 10:25

    The mode in which apps run on iOS7 is determined by the Base SDK used to link the executable. If you link against the iOS 6 SDK (included with Xcode 4.6.3) your app will run under iOS 7 but look and behave like running under iOS 6.

    0 讨论(0)
  • 2020-12-30 10:29

    This is what you need to do:

    • close all Xcode apps
    • run Xcode 5 and wait for the devices to be recognised
    • run Xcode 4.6.3 at the same time
    • close Xcode 5

    source: http://gerrybeauregard.wordpress.com/2013/07/12/testing-xcode-4-ios-6-sdk-app-on-ios-7-device/

    0 讨论(0)
提交回复
热议问题