View Single Post
I don't know if this is the *right* thing to do, but I edited 'Configurations/Target-Touch-Common.xconfig' and changed the SDKROOT line to:

SDKROOT = iphoneos4.2

This helps, but I get errors about a deprecated API being called in a couple of files. See below...


Anyone have a 'fix' for these errors?

cc1obj: warnings being treated as errors
In file included from /Users/charlie/OmniGroup/Frameworks/OmniFoundation/OpenStepExtensions.subproj/NSDate-OFExtensions.m:8:
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
CompileC /Users/Shared/charlie/Products/Builds/OmniFoundation.build/Debug-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFPreference.o OFPreference.m normal armv7 objective-c com.apple.compilers.llvmgcc42

cc1obj: warnings being treated as errors
In file included from /Users/charlie/OmniGroup/Frameworks/OmniFoundation/OFPreference.m:13:
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
CompileC /Users/Shared/charlie/Products/Builds/OmniFoundation.build/Debug-iphoneos/OmniFoundationTouch.build/Objects-normal/armv7/OFXMLElement.o XML/OFXMLElement.m normal armv7 objective-c com.apple.compilers.llvmgcc42

cc1obj: warnings being treated as errors
In file included from /Users/charlie/OmniGroup/Frameworks/OmniFoundation/XML/OFXMLElement.m:17:
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h: In function 'OFDateByAddingTimeInterval':
/Users/Shared/charlie/Products/Debug-iphoneos/include/OmniFoundation/NSDate-OFExtensions.h:53: warning: 'addTimeInterval:' is deprecated (declared at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h:27)
PhaseScriptExecution "Build Strings" /Users/Shared/charlie/Products/Builds/OmniFoundation.build/Debug-iphoneos/OmniFoundationTouch.build/Script-3444F47F11921ABF0003AD7F.sh
cd /Users/charlie/OmniGroup/Frameworks/OmniFoundation
/bin/sh -c /Users/Shared/charlie/Products/Builds/OmniFoundation.build/Debug-iphoneos/OmniFoundationTouch.build/Script-3444F47F11921ABF0003AD7F.sh