Upgraded app to iOS 7 - error “Auto Layout on iOS Versions prior to 6.0” (but want iOS 7 not older)

前端 未结 7 1668
情话喂你
情话喂你 2021-02-01 13:41

I have an iOS app that worked well on all devices in iOS 6.

I recently upgraded my xcode to version 5.0 and tried to build the same app for iOS 7 on an iPhone 5.

相关标签:
7条回答
  • 2021-02-01 14:10

    Assuming you are actually targeting only iOS 6.0+, it sounds like an issue related to upgrading Xcode. Sometimes, things can go awry when transitioning to a newer Xcode version.

    Here are some general tips you can try:

    1. Clean the project (press Cmd + Shift + K)
    2. Reset the simulator (iOS Simulator menu item -> "Reset Content and Settings")
    3. Restart Xcode
    4. Try building again, hopefully you can now
    0 讨论(0)
提交回复
热议问题