Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error opening Xcode 4.5 project on Xcode 4.2

Tags:

xcode

ios

iphone

I was using using Xcode 4.5 to create an iPad application yesterday and completed it. But today when I took that same Xcode project and tried to run it on an older machine running Xcode 4.2, it is giving me an error about IBNSLayoutConstraint. Which i guess was due to the new features that were included in the new Xcode 4.5. So I was thinking is there a way to open project from new Xcode in the older version without having to install a new Xcode and OSX.

two muppets

I am not sure if this question is asked here yet or not, but i tried to find a solution but no luck in that either.

PS. I already know that the best solution is to not opent those projects in older version but that is not what i am looking for.

like image 590
pritam001 Avatar asked Jan 16 '23 10:01

pritam001


2 Answers

There is an option in the inspector window when you select the xib file that will not use the constrains under "Show file the inspector" in the inspector called "Use autolayout".

Here is a screen shot of it.

enter image description here

like image 94
Robin Avatar answered Jan 29 '23 05:01

Robin


uncheck autolayout feature from each xib file the open your project on xcode4.2, it works on my case, as autolayout is only available in iOS6

like image 29
Manish Agrawal Avatar answered Jan 29 '23 04:01

Manish Agrawal