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

Commit

Permalink
Merge pull request #15 from ParsePlatform/nlutsenko.v4.fbsdk
Browse files Browse the repository at this point in the history
Always fetch FBSDK from source.
  • Loading branch information
nlutsenko committed Nov 17, 2015
2 parents 6e3395e + b76193a commit 1389d3a
Show file tree
Hide file tree
Showing 45 changed files with 3 additions and 3,580 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ build

Vendor/Parse.framework
Vendor/Bolts.framework
Vendor/FBSDKCoreKit.framework
Vendor/FBSDKLoginKit.framework
2 changes: 1 addition & 1 deletion ParseFacebookUtils.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\n mkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"Parse.framework\" || ! -d \"Bolts.framework\" ]]; then\n ARCHIVE_NAME=Parse-iOS.zip\n\n LATEST_TAG=$(bash -l -c \"bundle exec pod spec cat Parse\" | grep version | head -n 1 | cut -d '\"' -f 4)\n ARCHIVE_URL=\"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/download/${LATEST_TAG}/${ARCHIVE_NAME}\"\n curl -L $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME\n rm $ARCHIVE_NAME\nfi\n\n#\n# Uncomment and move to fetching FBSDK the moment it's not flaky to download\n#\n# if [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\n# ARCHIVE_NAME=FBSDK.zip\n#\n# ARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip\"\n# curl $ARCHIVE_URL -o $ARCHIVE_NAME\n#\n# unzip $ARCHIVE_NAME -d fbsdk\n# mv fbsdk/FBSDKCoreKit.framework .\n# mv fbsdk/FBSDKLoginKit.framework .\n#\n# rm $ARCHIVE_NAME\n# rm -r fbsdk\n# fi\n";
shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\n mkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"Parse.framework\" || ! -d \"Bolts.framework\" ]]; then\n ARCHIVE_NAME=Parse-iOS.zip\n\n LATEST_TAG=$(bash -l -c \"bundle exec pod spec cat Parse\" | grep version | head -n 1 | cut -d '\"' -f 4)\n ARCHIVE_URL=\"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/download/${LATEST_TAG}/${ARCHIVE_NAME}\"\n curl -L $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME\n rm $ARCHIVE_NAME\nfi\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\n ARCHIVE_NAME=FBSDK.zip\n\n ARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip\"\n curl $ARCHIVE_URL -o $ARCHIVE_NAME\n\n unzip $ARCHIVE_NAME -d fbsdk\n mv fbsdk/FBSDKCoreKit.framework .\n mv fbsdk/FBSDKLoginKit.framework .\n\n rm $ARCHIVE_NAME\n rm -r fbsdk\nfi\n";
showEnvVarsInLog = 0;
};
947535AF3D7FE64739018338 /* Check Pods Manifest.lock */ = {
Expand Down
Binary file removed Vendor/FBSDKCoreKit.framework/FBSDKCoreKit
Binary file not shown.
166 changes: 0 additions & 166 deletions Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h

This file was deleted.

Loading

0 comments on commit 1389d3a

Please sign in to comment.