Hey everyone,
I've started getting this error just today. Everything worked fine till yesterday evening.
[TRACE] ../build/iphone/Classes/TiRootViewController.m:498:8: warning: 'shouldAutorotateToInterfaceOrientation:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations] [TRACE] if ([self shouldAutorotateToInterfaceOrientation:orientationHistory[i]]) { [TRACE] ^ [TRACE] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:265:1: note: method 'shouldAutorotateToInterfaceOrientation:' declared here [TRACE] - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation NS_DEPRECATED_IOS(2_0, 6_0); [TRACE] ^ [TRACE]../build/iphone/Classes/TiRootViewController.m:636:22: warning: 'modalViewController' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations] [TRACE] id modalvc= self.modalViewController; [TRACE] ^ [TRACE] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:196:49: note: 'modalViewController' declared here [TRACE] @property(nonatomic,readonly) UIViewController *modalViewController NS_DEPRECATED_IOS(2_0, 6_0); [TRACE] ^ [TRACE] 2 warnings generated. [ERROR] ** BUILD FAILED ** [ERROR] The following build commands failed: [ERROR] CompileC build/Appname.build/Release-iphoneos/Appname.build/Objects-normal/armv7/ApplicationRouting.o Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] (1 failure)Since yesterday, I have made no changes to files that would affect any modals.
TiSDK: 3.1.0.GA
iOS: 6.1
MacOS: 10.8.3
Node: 0.8.11
Has any one encountered this before or know a fix? I've tried removing the build folder, and compiling but no luck. If I switch to the 3.0.2.GA SDK, it compiles properly.