diff --git a/iOS/RCTOrientation.xcodeproj/project.pbxproj b/iOS/RCTOrientation.xcodeproj/project.pbxproj index 3a03d743..e65bafbb 100644 --- a/iOS/RCTOrientation.xcodeproj/project.pbxproj +++ b/iOS/RCTOrientation.xcodeproj/project.pbxproj @@ -204,12 +204,7 @@ 58B511F01A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "$(SRCROOT)/../../React/**", - "$(SRCROOT)/../../react-native/React/**", - ); + HEADER_SEARCH_PATHS = ""; LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RCTOrientation; @@ -220,12 +215,7 @@ 58B511F11A9E6C8500147676 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "$(SRCROOT)/../../React/**", - "$(SRCROOT)/../../react-native/React/**", - ); + HEADER_SEARCH_PATHS = ""; LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RCTOrientation; diff --git a/iOS/RCTOrientation/Orientation.h b/iOS/RCTOrientation/Orientation.h index 05bfe65e..086e25b8 100644 --- a/iOS/RCTOrientation/Orientation.h +++ b/iOS/RCTOrientation/Orientation.h @@ -4,7 +4,7 @@ #import #import -#import "RCTBridgeModule.h" +#import @interface Orientation : NSObject + (void)setOrientation: (UIInterfaceOrientationMask)orientation; diff --git a/iOS/RCTOrientation/Orientation.m b/iOS/RCTOrientation/Orientation.m index f8ec60db..6e365c15 100644 --- a/iOS/RCTOrientation/Orientation.m +++ b/iOS/RCTOrientation/Orientation.m @@ -3,7 +3,7 @@ // #import "Orientation.h" -#import "RCTEventDispatcher.h" +#import @implementation Orientation @synthesize bridge = _bridge;