Migrating from Xcode 4 to Xcode 3.2.6

I tried Xcode 4 a bit. Found this disappointment, and currently I'm returning to Xcode 3.2.6. But now my project cannot find any of its frameworks. How to fix it?

+4
source share
2 answers

I had a similar problem when I switched from 3.2.5 to 3.2.6 .. all the frames turned red and no errors were found.

I tried restarting xcode, changed base sdk, etc., and didn't seem to fix it :(

To fix this, I had to do below (from some stream on the Internet, I can not find the source now).

1) go to your project directory/proj.xcodeproj (proj is your project name) 2) open up project.pbxproj file, using any text editor 3) search for "SDKROOT =", and modify it to point to your framework directory. 

For me, I had to edit them: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/

Save the pbxproj file before modifying it, just in case.

enjoy!

+4
source

Try changing the Base SDK project option to something else than now, restart Xcode (it may not be necessary), and change the above option back.

This happened to me earlier (in Xcode 3) several times when moving a project between different versions of Xcode (even with the same iOS SDK).

0
source

Source: https://habr.com/ru/post/1343501/


All Articles