Modified application for iOS 7 - "Auto-link in iOS versions prior to 6.0" error (but I want iOS 7 not older)

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

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

When creating the application, xCode updated something in the code settings, but could not build with errors.

On the iPad XIB, I get the error message: "Illegal configuration: automatic linking in iOS versions prior to 6.0."

I tried to enable and disable the "Use autorun" checkbox in the "File Inspector", but this did not work.

Please help me solve this problem.

+43
ios autolayout ios7
Sep 11 '13 at 8:08
source share
7 answers

Your problem is that the "Deployment Goal" for your project is "5.0" and you are using a feature not available for iOS 5.

Check the General tab for your build purpose.

enter image description here

and upgrade it to at least 6.0 to use automatic layout

enter image description here

+78
Sep 11 '13 at 9:45 on
source share

In your .xib file in Xcode 5, click on the control. Go to the properties menu on the right and click on the “File Inspector” tab. This is a tab that looks like a sheet of paper. On this tab there is a section called "Document Builder Document". Make sure that the "Builds for" property is set to "iOS 6.0 and later." If none of the other fixes above worked, then this is most likely your culprit.

+42
Sep 18 '13 at 23:57
source share

There is a very simple fix. You just want to uncheck the "Use automatic layout" checkbox on the "General" tab. Additional information http://shreekantpawar.com/2012/12/20/simple-solution-to-auto-layout-on-ios-versions-prior-to-6-0-error-in-mac-osx-10- 7-and-later /

+14
Sep 23 '13 at 18:33
source share

Assuming you are actually targeting only iOS 6.0+, this sounds like an issue with updating Xcode. Sometimes, when you upgrade to a new version of Xcode, things can go awry.

Here are some general tips you can try:

  • Clear the project (press Cmd + Shift + K)
  • Reset simulator (menu item iOS Simulator → "Reset Content and Settings")
  • Restart xcode
  • Try building again, hope you can now
+7
Sep 11 '13 at 10:17
source share

Autolayout is a feature of iOS6.0 and later. If you need to support iOS 5, do not use automatic layout.

https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS6.html#//apple_ref/doc/uid/TP40011812-SW1

Go above the document and check out “What's New in iOS6.0” and serach for “AutoCar”

https://discussions.apple.com/message/19879144#19879144

+1
Dec 19 '13 at 11:52
source share

The problem may be due to the target version in your project, possibly 5.0. I think that there is a solution to this problem.

step1.Choose your project

step2.select the General tab

step3.change the project deployment goal.

0
Jun 10 '15 at 12:22
source share

I ran into the same issue and checked if any deployment targets were set below iOS 6.0.

All of the above settings were in order of showing iOS 7.0 for all of them. So I looked deeper on the settings tab, where I found that I have a subtitle in the release, which says that “Any architecture” is set to 5.5.1. I changed this to iOS 7.0 and it helped me.

Just write it down here if I need to look for it again in the future.

0
Jun 20 '16 at 7:19
source share



All Articles