Could be my problem as I renamed my project and was doing a few other things just after I upgrade to Unity 3.4.2 but … when i do a build, choose replace the project, and then load up Xcode 3.2.5 and do a regular build I get 8000+ errors.
My project settings remain iPhone+iPad, armv6, iOS latest for SDK target iIOS version is 3.1.3.
The resulting Xcode project shows SDK as latest (currently 4.2)
I noticed that something is now inserting this setting in my build options
setenv FRAMEWORK_SEARCH_PATHS “"/Users/ibyte/dev/xcode_build_output" /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks”
tried removing it but that didn’t help
The errors that start are like this
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:528: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_4_3'
In file included from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:50,
from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Users/glennjones/src/dev/mpiDevice/matchPointKidzXcodeiDevice/Classes/iPhone_target_Prefix.pch:6:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h:68: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_5_0'
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h:69: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_5_0'
In file included from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:11,
from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Users/glennjones/src/dev/mpiDevice/matchPointKidzXcodeiDevice/Classes/iPhone_target_Prefix.pch:6:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:487: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_5_0'
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:626: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_5_0'
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:630: error: expected initializer before '__AVAILABILITY_INTERNAL__IPHONE_5_0'