Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #322 from janicduplessis/master
Browse files Browse the repository at this point in the history
Update iOS RN header paths
  • Loading branch information
dzhuowen committed Jan 9, 2017
2 parents 9b95c21 + 71a1319 commit 1827bc4
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 41 deletions.
4 changes: 0 additions & 4 deletions ios/RCTFBSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../../react/**",
"${SRCROOT}/../../react-native/React/**",
"${SRCROOT}/../../../ios/**",
);
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand All @@ -393,8 +391,6 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../../react/**",
"${SRCROOT}/../../react-native/React/**",
"${SRCROOT}/../../../ios/**",
);
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTConvert+FBSDKAccessToken.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTConvert.h>
#import <React/RCTConvert.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTFBSDKAccessToken.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTFBSDKAccessToken.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import "RCTFBSDKAccessToken.h"

#import <RCTUtils.h>
#import <React/RCTUtils.h>

#import "RCTConvert+FBSDKAccessToken.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTFBSDKAppEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <Foundation/Foundation.h>
Expand Down
4 changes: 2 additions & 2 deletions ios/RCTFBSDK/core/RCTFBSDKGraphRequestConnectionContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#import "RCTFBSDKGraphRequestConnectionContainer.h"

#import <RCTConvert.h>
#import <RCTUtils.h>
#import <React/RCTConvert.h>
#import <React/RCTUtils.h>

#pragma mark - Helper Functions

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTFBSDKGraphRequestManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/core/RCTFBSDKInitializer.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKCoreKit/FBSDKCoreKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/login/RCTConvert+FBSDKLogin.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTConvert.h>
#import <React/RCTConvert.h>

#import <FBSDKLoginKit/FBSDKLoginKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/login/RCTFBSDKLoginButtonManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import <FBSDKLoginKit/FBSDKLoginKit.h>

#import <RCTViewManager.h>
#import <React/RCTViewManager.h>

@interface RCTFBSDKLoginButtonManager : RCTViewManager <FBSDKLoginButtonDelegate>

Expand Down
8 changes: 4 additions & 4 deletions ios/RCTFBSDK/login/RCTFBSDKLoginButtonManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

#import "RCTFBSDKLoginButtonManager.h"

#import <RCTBridge.h>
#import <RCTEventDispatcher.h>
#import <RCTUtils.h>
#import <UIView+React.h>
#import <React/RCTBridge.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTUtils.h>
#import <React/UIView+React.h>

#import "RCTConvert+FBSDKLogin.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/login/RCTFBSDKLoginManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

@interface RCTFBSDKLoginManager : NSObject <RCTBridgeModule>
@end
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/login/RCTFBSDKLoginManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import "RCTFBSDKLoginManager.h"

#import <RCTUtils.h>
#import <React/RCTUtils.h>

#import "RCTConvert+FBSDKLogin.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTConvert+FBSDKSharingContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTConvert.h>
#import <React/RCTConvert.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKAppInviteDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTFBSDK/share/RCTFBSDKAppInviteDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#import "RCTFBSDKAppInviteDialog.h"

#import <RCTConvert.h>
#import <RCTUtils.h>
#import <React/RCTConvert.h>
#import <React/RCTUtils.h>

@implementation RCTConvert (FBSDKAppInviteDialog)

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKGameRequestDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTFBSDK/share/RCTFBSDKGameRequestDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#import "RCTFBSDKGameRequestDialog.h"

#import <RCTConvert.h>
#import <RCTUtils.h>
#import <React/RCTConvert.h>
#import <React/RCTUtils.h>

@implementation RCTConvert (FBSDKGameRequestDialog)

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKLikeControlManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTViewManager.h>
#import <React/RCTViewManager.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
8 changes: 4 additions & 4 deletions ios/RCTFBSDK/share/RCTFBSDKLikeControlManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

#import "RCTFBSDKLikeControlManager.h"

#import <RCTBridge.h>
#import <RCTConvert.h>
#import <RCTEventDispatcher.h>
#import <UIView+React.h>
#import <React/RCTBridge.h>
#import <React/RCTConvert.h>
#import <React/RCTEventDispatcher.h>
#import <React/UIView+React.h>

#import <Foundation/Foundation.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKMessageDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKMessageDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import "RCTFBSDKMessageDialog.h"

#import <RCTUtils.h>
#import <React/RCTUtils.h>

#import "RCTConvert+FBSDKSharingContent.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKSendButtonManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTViewManager.h>
#import <React/RCTViewManager.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKShareAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKShareAPI.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import "RCTFBSDKShareAPI.h"

#import <RCTUtils.h>
#import <React/RCTUtils.h>

#import "RCTConvert+FBSDKSharingContent.h"

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKShareButtonManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTViewManager.h>
#import <React/RCTViewManager.h>

@interface RCTFBSDKShareButtonManager : RCTViewManager

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKShareDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#import <RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

#import <FBSDKShareKit/FBSDKShareKit.h>

Expand Down
2 changes: 1 addition & 1 deletion ios/RCTFBSDK/share/RCTFBSDKShareDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import "RCTFBSDKShareDialog.h"

#import <RCTUtils.h>
#import <React/RCTUtils.h>

#import "RCTConvert+FBSDKSharingContent.h"

Expand Down

0 comments on commit 1827bc4

Please sign in to comment.