diff --git a/.circleci/config.yml b/.circleci/config.yml
index a2e4772da..0b4cc9bd2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -4,7 +4,7 @@ defaults: &defaults
shell: /bin/bash --login -eo pipefail
aliases:
- &prepare
- |
+ |
git submodule update --init --recursive
gem install bundler
bundle install
@@ -66,7 +66,7 @@ jobs:
- checkout
- run: *prepare
- run: |
- xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-0
+ xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-12-2
bundle exec rake package:release
jazzy:
<<: *defaults
diff --git a/.gitignore b/.gitignore
index e5b047c51..dda96baf7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ xcuserdata
## Dependency Managers
Pods/
Carthage/Build
+Carthage/Checkouts
docs/
./Bolts
diff --git a/.travis.yml b/.travis.yml
index 1d8bf1a90..5bf5b3a44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ jobs:
install: bundle install
script:
- ./Scripts/jazzy.sh
- - xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-0
+ - xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-12-2
- bundle exec rake package:release
deploy:
- provider: releases
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b74fa9e6b..18c277035 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,14 @@
-# Parse-SDK-iOS-OSX Chnagelog
+# Parse-SDK-iOS-OSX Changelog
### master
+[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.17.3...master)
+* _Contributing to this repo? Add info about your change here to be included in next release_
-* Fixes NSInternalInconsistencyException handling starting Bolts 1.9.0 by emitting soft NSErrors
-* Fixes issue affecting public getter/setters in PFACL's in Swift (#1083)
-* Prevent deadlocks when saving objects with cicrular references (#916)
-* Prevent deadlocks when running fetchAll with circluar references (#1184)
-* Adds NSNotification when an invalid session token is encountered
+### 1.17.3
+[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.17.2...1.17.3)
+- FIX: Updates xcbuildtools submodule ([#1365](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1365)), thanks to [Darren Black](https://github.com/drdaz)
+- FIX: Bandaid for Crashlytics [#944](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/944) ([#1376](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1376)), thanks to [Rogers George](https://github.com/ceramicatheist)
+- NEW: tvOS push support ([#1375](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1375)), thanks to [Thomas Kollbach](https://github.com/toto)
+- FIX: Class properties ([#1400](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1400)), thanks to [Thomas Kollbach](https://github.com/toto)
+- FIX: Upgrade ParseFacebookUtils dependency to Facebook SDK v5.2.1 ([#1411](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1411)), thanks to [Herrick Wolber](https://github.com/rico237)
diff --git a/Cartfile b/Cartfile
index 3eb4e4156..34d9f3cdb 100644
--- a/Cartfile
+++ b/Cartfile
@@ -1,3 +1,2 @@
github "BoltsFramework/Bolts-ObjC" ~> 1.9
-github "facebook/facebook-objc-sdk" ~> 4.29
-
+github "facebook/facebook-objc-sdk" ~> 5.2.1
diff --git a/Cartfile.resolved b/Cartfile.resolved
index 101b84c81..4fc46a39d 100644
--- a/Cartfile.resolved
+++ b/Cartfile.resolved
@@ -1,3 +1,3 @@
github "BoltsFramework/Bolts-ObjC" "1.9.0"
github "erikdoe/OCMock" "v3.4.3"
-github "facebook/facebook-objc-sdk" "v4.44.1"
+github "facebook/facebook-objc-sdk" "v5.2.1"
diff --git a/Carthage/Checkouts/OCMock b/Carthage/Checkouts/OCMock
index c4be5d9d9..62fd0b23c 160000
--- a/Carthage/Checkouts/OCMock
+++ b/Carthage/Checkouts/OCMock
@@ -1 +1 @@
-Subproject commit c4be5d9d9238fcd10449424f651fba2b7aff87c0
+Subproject commit 62fd0b23c6f5be5c4166211f82b4e162af9ad4ce
diff --git a/Parse.podspec b/Parse.podspec
index f775f8eae..b69ce91de 100644
--- a/Parse.podspec
+++ b/Parse.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Parse'
- s.version = '1.17.2'
+ s.version = '1.17.3'
s.license = { :type => 'BSD', :file => 'LICENSE' }
s.homepage = 'http://parseplatform.org/'
s.summary = 'A library that gives you access to the powerful Parse cloud platform from your iOS/OS X/watchOS/tvOS app.'
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '2.0'
s.default_subspec = 'Core'
-
+
s.subspec 'Core' do |s|
s.requires_arc = true
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
'Parse/Parse/Internal/**/*.{h,m}'
s.public_header_files = 'Parse/Parse/*.h'
s.private_header_files = 'Parse/Parse/Internal/**/*.h'
-
+
s.ios.exclude_files = 'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
s.osx.exclude_files = 'Parse/Parse/PFNetworkActivityIndicatorManager.{h,m}',
'Parse/Parse/PFProduct.{h,m}',
@@ -53,9 +53,9 @@ Pod::Spec.new do |s|
'Parse/Parse/Internal/Installation/PFInstallationPrivate.h',
'Parse/Parse/Internal/Commands/PFRESTPushCommand.{h,m}',
'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
-
+
s.resource_bundle = { 'Parse' => 'Parse/Parse/Resources/en.lproj' }
-
+
s.ios.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
@@ -77,9 +77,9 @@ Pod::Spec.new do |s|
'StoreKit',
'SystemConfiguration',
'Security'
-
+
s.libraries = 'z', 'sqlite3'
-
+
s.dependency 'Bolts/Tasks', '~> 1.9'
end
@@ -104,7 +104,7 @@ Pod::Spec.new do |s|
s.dependency 'Parse/Core'
s.dependency 'Bolts', '~> 1.9'
- s.dependency 'FBSDKLoginKit', '~> 4.33'
+ s.dependency 'FBSDKLoginKit', '~> 5.2.1'
end
s.subspec 'FacebookUtils-tvOS' do |s|
@@ -126,8 +126,8 @@ Pod::Spec.new do |s|
s.dependency 'Parse/Core'
s.dependency 'Bolts', '~> 1.9'
- s.dependency 'FBSDKTVOSKit', '~> 4.33'
- s.dependency 'FBSDKShareKit', '~> 4.33'
+ s.dependency 'FBSDKTVOSKit', '~> 5.2.1'
+ s.dependency 'FBSDKShareKit', '~> 5.2.1'
end
s.subspec 'TwitterUtils' do |s|
diff --git a/Parse/Parse/PFConstants.h b/Parse/Parse/PFConstants.h
index b9543d326..d6b4b8964 100644
--- a/Parse/Parse/PFConstants.h
+++ b/Parse/Parse/PFConstants.h
@@ -13,7 +13,7 @@
#pragma mark - SDK Version
///--------------------------------------
-#define PARSE_VERSION @"1.17.2"
+#define PARSE_VERSION @"1.17.3"
///--------------------------------------
#pragma mark - Platform
diff --git a/Parse/Parse/Resources/Parse-OSX.Info.plist b/Parse/Parse/Resources/Parse-OSX.Info.plist
index c1c42fd29..5ee87e26b 100644
--- a/Parse/Parse/Resources/Parse-OSX.Info.plist
+++ b/Parse/Parse/Resources/Parse-OSX.Info.plist
@@ -13,10 +13,10 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
diff --git a/Parse/Parse/Resources/Parse-iOS.Info.plist b/Parse/Parse/Resources/Parse-iOS.Info.plist
index 9226f0453..8672b39f0 100644
--- a/Parse/Parse/Resources/Parse-iOS.Info.plist
+++ b/Parse/Parse/Resources/Parse-iOS.Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleSupportedPlatforms
@@ -22,7 +22,7 @@
iPhoneOS
CFBundleVersion
- 1.17.2
+ 1.17.3
MinimumOSVersion
6.0
diff --git a/Parse/Parse/Resources/Parse-tvOS.Info.plist b/Parse/Parse/Resources/Parse-tvOS.Info.plist
index 2d9a5770a..c90a388f4 100644
--- a/Parse/Parse/Resources/Parse-tvOS.Info.plist
+++ b/Parse/Parse/Resources/Parse-tvOS.Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
NSPrincipalClass
diff --git a/Parse/Parse/Resources/Parse-watchOS.Info.plist b/Parse/Parse/Resources/Parse-watchOS.Info.plist
index 2d9a5770a..c90a388f4 100644
--- a/Parse/Parse/Resources/Parse-watchOS.Info.plist
+++ b/Parse/Parse/Resources/Parse-watchOS.Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
NSPrincipalClass
diff --git a/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj b/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj
index df4e035e6..0d7d16019 100644
--- a/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj
+++ b/ParseFacebookUtils/ParseFacebookUtils.xcodeproj/project.pbxproj
@@ -1065,7 +1065,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if [ ! -d $SRCROOT/Vendor/tvOS ]; then\nmkdir $SRCROOT/Vendor/tvOS\nfi\n\ncd $SRCROOT/Vendor/tvOS\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKTVOSKit.framework\" ]]; then\nARCHIVE_NAME=FBSDK.zip\n\nARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=FacebookSDKs-tvOS-current.zip\"\ncurl $ARCHIVE_URL -o $ARCHIVE_NAME\n\nunzip $ARCHIVE_NAME -d fbsdk\nmv fbsdk/FBSDKCoreKit.framework .\nmv fbsdk/FBSDKTVOSKit.framework .\n\nrm $ARCHIVE_NAME\nrm -r fbsdk\nfi\n";
+ shellScript = "if [ ! -d $SRCROOT/Vendor/tvOS ]; then\nmkdir $SRCROOT/Vendor/tvOS\nfi\n\ncd $SRCROOT/Vendor/tvOS\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKTVOSKit.framework\" ]]; then\nARCHIVE_NAME=FBSDK.zip\n\nARCHIVE_URL=\"https://github.com/facebook/facebook-objc-sdk/releases/latest/download/FacebookSDK_Static.zip\"\ncurl -Lk $ARCHIVE_URL -o $ARCHIVE_NAME\n\nunzip $ARCHIVE_NAME -d fbsdk\nmv fbsdk/tv/FBSDKCoreKit.framework .\nmv fbsdk/tv/FBSDKTVOSKit.framework .\n\nrm $ARCHIVE_NAME\nrm -r fbsdk\nfi\n";
};
4A1351B220281814000F5FD5 /* Fetch Latest Dependencies */ = {
isa = PBXShellScriptBuildPhase;
@@ -1079,7 +1079,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\nmkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\nARCHIVE_NAME=FBSDK.zip\n\nARCHIVE_URL=\"https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip\"\ncurl $ARCHIVE_URL -o $ARCHIVE_NAME\n\nunzip $ARCHIVE_NAME -d fbsdk\nmv fbsdk/FBSDKCoreKit.framework .\nmv fbsdk/FBSDKLoginKit.framework .\n\nrm $ARCHIVE_NAME\nrm -r fbsdk\nfi\n";
+ shellScript = "if [ ! -d $SRCROOT/Vendor ]; then\nmkdir $SRCROOT/Vendor\nfi\n\ncd $SRCROOT/Vendor\n\nif [[ ! -d \"FBSDKCoreKit.framework\" || ! -d \"FBSDKLoginKit.framework\" ]]; then\nARCHIVE_NAME=FBSDK.zip\n\nARCHIVE_URL=\"https://github.com/facebook/facebook-objc-sdk/releases/latest/download/FacebookSDK_Static.zip\"\ncurl -Lk $ARCHIVE_URL -o $ARCHIVE_NAME\n\nunzip $ARCHIVE_NAME -d fbsdk\nmv fbsdk/FBSDKCoreKit.framework .\nmv fbsdk/FBSDKLoginKit.framework .\n\nrm $ARCHIVE_NAME\nrm -r fbsdk\nfi\n";
};
4A13525320282699000F5FD5 /* Cleanup Vendored Static lib */ = {
isa = PBXShellScriptBuildPhase;
@@ -1480,4 +1480,4 @@
/* End XCConfigurationList section */
};
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
-}
\ No newline at end of file
+}
diff --git a/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/iOS/PFFacebookMobileAuthenticationProvider.m b/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/iOS/PFFacebookMobileAuthenticationProvider.m
index f95a460dd..79e919d85 100644
--- a/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/iOS/PFFacebookMobileAuthenticationProvider.m
+++ b/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/iOS/PFFacebookMobileAuthenticationProvider.m
@@ -13,10 +13,8 @@
#import
#import
-#import
-#import
-
-#import
+#import
+#import
#import
@@ -45,16 +43,11 @@ - (instancetype)initWithApplication:(UIApplication *)application
- (BFTask*> *)authenticateAsyncWithReadPermissions:(nullable NSArray *)readPermissions
publishPermissions:(nullable NSArray *)publishPermissions
fromViewComtroller:(UIViewController *)viewController {
- if (readPermissions && publishPermissions) {
- NSString *description = @"Read permissions are not permitted to be requested with publish permissions.";
- NSError *error = [NSError errorWithDomain:PFParseErrorDomain
- code:kPFErrorFacebookInvalidSession
- userInfo:@{ NSLocalizedDescriptionKey: description }];
- return [BFTask taskWithError:error];
- }
-
+
+ NSArray *permissions = [readPermissions arrayByAddingObjectsFromArray:publishPermissions];
+
BFTaskCompletionSource *taskCompletionSource = [BFTaskCompletionSource taskCompletionSource];
- FBSDKLoginManagerRequestTokenHandler resultHandler = ^(FBSDKLoginManagerLoginResult *result, NSError *error) {
+ FBSDKLoginManagerLoginResultBlock resultHandler = ^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (result.isCancelled) {
[taskCompletionSource cancel];
} else if (error) {
@@ -63,15 +56,9 @@ - (instancetype)initWithApplication:(UIApplication *)application
taskCompletionSource.result = [PFFacebookPrivateUtilities userAuthenticationDataFromAccessToken:result.token];
}
};
- if (publishPermissions) {
- [self.loginManager logInWithPublishPermissions:publishPermissions
- fromViewController:viewController
- handler:resultHandler];
- } else {
- [self.loginManager logInWithReadPermissions:readPermissions
- fromViewController:viewController
- handler:resultHandler];
- }
+
+ [self.loginManager logInWithPermissions:permissions fromViewController:viewController handler:resultHandler];
+
return taskCompletionSource.task;
}
diff --git a/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/tvOS/PFFacebookDeviceAuthenticationProvider.m b/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/tvOS/PFFacebookDeviceAuthenticationProvider.m
index 0b9c5f9eb..b5239f7cf 100644
--- a/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/tvOS/PFFacebookDeviceAuthenticationProvider.m
+++ b/ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/tvOS/PFFacebookDeviceAuthenticationProvider.m
@@ -44,8 +44,8 @@ @implementation PFFacebookDeviceAuthenticationProvider
self->_loginTaskCompletionSource = [BFTaskCompletionSource taskCompletionSource];
self-> _loginViewController = [[FBSDKDeviceLoginViewController alloc] init];
self->_loginViewController.delegate = self;
- self->_loginViewController.readPermissions = readPermissions;
- self->_loginViewController.publishPermissions = publishPermissions;
+ NSArray *permissions = [readPermissions arrayByAddingObjectsFromArray:publishPermissions];
+ self->_loginViewController.permissions = permissions;
[viewController presentViewController:self->_loginViewController animated:YES completion:nil];
diff --git a/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.h b/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.h
index dec0e397a..940778f40 100644
--- a/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.h
+++ b/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.h
@@ -13,7 +13,7 @@
#import
#import
-#import
+#import
#import
diff --git a/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.m b/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.m
index 17011182e..a14c12a61 100644
--- a/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.m
+++ b/ParseFacebookUtils/ParseFacebookUtils/Internal/PFFacebookPrivateUtilities.m
@@ -9,7 +9,7 @@
#import "PFFacebookPrivateUtilities.h"
-#import
+#import
@implementation PFFacebookPrivateUtilities
@@ -50,14 +50,8 @@ + (nullable FBSDKAccessToken *)facebookAccessTokenFromUserAuthenticationData:(nu
return nil;
}
- NSDate *expirationDate = [[NSDateFormatter pffb_preciseDateFormatter] dateFromString:expirationDateString];
- FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:accessToken
- permissions:nil
- declinedPermissions:nil
- appID:[FBSDKSettings appID]
- userID:authData[@"id"]
- expirationDate:expirationDate
- refreshDate:nil];
+NSDate *expirationDate = [[NSDateFormatter pffb_preciseDateFormatter] dateFromString:expirationDateString];
+ FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString: accessToken permissions:@[] declinedPermissions:@[] expiredPermissions:@[] appID: [FBSDKSettings appID] userID: authData[@"id"] expirationDate: expirationDate refreshDate: nil dataAccessExpirationDate: nil];
return token;
}
diff --git a/ParseFacebookUtils/ParseFacebookUtils/PFFacebookUtils.h b/ParseFacebookUtils/ParseFacebookUtils/PFFacebookUtils.h
index 665cb349b..cec0a84cc 100644
--- a/ParseFacebookUtils/ParseFacebookUtils/PFFacebookUtils.h
+++ b/ParseFacebookUtils/ParseFacebookUtils/PFFacebookUtils.h
@@ -14,7 +14,7 @@
#import
#import
-#import
+#import
#if TARGET_OS_IOS
#import
diff --git a/ParseFacebookUtils/Resources/Info-iOS.plist b/ParseFacebookUtils/Resources/Info-iOS.plist
index f86e7ca7c..9b7d7c096 100644
--- a/ParseFacebookUtils/Resources/Info-iOS.plist
+++ b/ParseFacebookUtils/Resources/Info-iOS.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleSupportedPlatforms
@@ -22,7 +22,7 @@
iPhoneOS
CFBundleVersion
- 1.17.2
+ 1.17.3
MinimumOSVersion
6.0
diff --git a/ParseFacebookUtils/Resources/Info-tvOS.plist b/ParseFacebookUtils/Resources/Info-tvOS.plist
index 046bb9373..887eeb413 100644
--- a/ParseFacebookUtils/Resources/Info-tvOS.plist
+++ b/ParseFacebookUtils/Resources/Info-tvOS.plist
@@ -13,10 +13,10 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
diff --git a/ParseFacebookUtils/Tests/Unit/FacebookAuthenticationProviderTests.m b/ParseFacebookUtils/Tests/Unit/FacebookAuthenticationProviderTests.m
index a5061ab54..bd13a17a2 100644
--- a/ParseFacebookUtils/Tests/Unit/FacebookAuthenticationProviderTests.m
+++ b/ParseFacebookUtils/Tests/Unit/FacebookAuthenticationProviderTests.m
@@ -32,23 +32,26 @@ - (void)testAuthenticateRead {
id mockedLoginManager = PFStrictClassMock([FBSDKLoginManager class]);
- OCMStub([mockedLoginManager logInWithReadPermissions:@[ @"read" ]
+ OCMStub([mockedLoginManager logInWithPermissions:@[ @"read" ]
fromViewController:OCMOCK_ANY
handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
- __unsafe_unretained FBSDKLoginManagerRequestTokenHandler handler = nil;
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
[invocation getArgument:&handler atIndex:4];
FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:@"token"
permissions:@[ @"read" ]
- declinedPermissions:nil
+ declinedPermissions:@[]
+ expiredPermissions:@[]
appID:@"appId"
userID:@"fbId"
expirationDate:[NSDate dateWithTimeIntervalSince1970:1337]
- refreshDate:[NSDate dateWithTimeIntervalSince1970:1337]];
+ refreshDate:[NSDate dateWithTimeIntervalSince1970:1337]
+ dataAccessExpirationDate:nil];
+
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:token
isCancelled:NO
grantedPermissions:[NSSet setWithObject:@"read"]
- declinedPermissions:nil];
+ declinedPermissions:[NSSet setWithArray:@[]]];
handler(result, nil);
});
@@ -73,23 +76,26 @@ - (void)testAuthenticatePublish {
id mockedLoginManager = PFStrictClassMock([FBSDKLoginManager class]);
- OCMStub([mockedLoginManager logInWithPublishPermissions:@[ @"publish" ]
+ OCMStub([mockedLoginManager logInWithPermissions:@[ @"publish" ]
fromViewController:OCMOCK_ANY
handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
- __unsafe_unretained FBSDKLoginManagerRequestTokenHandler handler = nil;
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
[invocation getArgument:&handler atIndex:4];
FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:@"token"
permissions:@[ @"publish" ]
- declinedPermissions:nil
+ declinedPermissions:@[]
+ expiredPermissions:@[]
appID:@"appId"
userID:@"fbId"
expirationDate:[NSDate dateWithTimeIntervalSince1970:1337]
- refreshDate:[NSDate dateWithTimeIntervalSince1970:1337]];
+ refreshDate:[NSDate dateWithTimeIntervalSince1970:1337]
+ dataAccessExpirationDate:nil];
+
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:token
isCancelled:NO
grantedPermissions:[NSSet setWithObject:@"publish"]
- declinedPermissions:nil];
+ declinedPermissions:[NSSet setWithArray:@[]]];
handler(result, nil);
});
@@ -98,7 +104,7 @@ - (void)testAuthenticatePublish {
provider.loginManager = mockedLoginManager;
XCTestExpectation *expectation = [self currentSelectorTestExpectation];
- [[provider authenticateAsyncWithReadPermissions:nil
+ [[provider authenticateAsyncWithReadPermissions:@[]
publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
XCTAssertEqualObjects(task.result, expectedAuthData);
[expectation fulfill];
@@ -113,9 +119,33 @@ - (void)testAuthenticateBoth {
PFFacebookMobileAuthenticationProvider *provider = [[PFFacebookMobileAuthenticationProvider alloc] initWithApplication:[UIApplication sharedApplication] launchOptions:nil];
provider.loginManager = mockedLoginManager;
+ OCMStub([mockedLoginManager logInWithPermissions:(@[ @"read", @"publish" ])
+ fromViewController:OCMOCK_ANY
+ handler:OCMOCK_ANY]).andDo((^(NSInvocation *invocation) {
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
+ [invocation getArgument:&handler atIndex:4];
+
+ FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:@"token"
+ permissions:@[ @"read", @"publish" ]
+ declinedPermissions:@[]
+ expiredPermissions:@[]
+ appID:@"appId"
+ userID:@"fbId"
+ expirationDate:[NSDate dateWithTimeIntervalSince1970:1337]
+ refreshDate:[NSDate dateWithTimeIntervalSince1970:1337]
+ dataAccessExpirationDate:nil];
+
+ FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:token
+ isCancelled:NO
+ grantedPermissions:[NSSet setWithArray:@[ @"read", @"publish" ]]
+ declinedPermissions:[NSSet setWithArray:@[]]];
+
+ handler(result, nil);
+ }));
+
XCTestExpectation *expectation = [self currentSelectorTestExpectation];
[[provider authenticateAsyncWithReadPermissions:@[ @"read" ] publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
- XCTAssertNotNil(task.error);
+ XCTAssertNil(task.error);
[expectation fulfill];
return nil;
}];
@@ -125,15 +155,15 @@ - (void)testAuthenticateBoth {
- (void)testAuthenticateCancel {
id mockedLoginManager = PFStrictClassMock([FBSDKLoginManager class]);
- OCMStub([mockedLoginManager logInWithPublishPermissions:@[ @"publish" ]
+ OCMStub([mockedLoginManager logInWithPermissions:@[ @"publish" ]
fromViewController:OCMOCK_ANY
handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
- __unsafe_unretained FBSDKLoginManagerRequestTokenHandler handler = nil;
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
[invocation getArgument:&handler atIndex:4];
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:nil
isCancelled:YES
- grantedPermissions:nil
+ grantedPermissions:[NSSet setWithArray:@[]]
declinedPermissions:[NSSet setWithObject:@"publish"]];
handler(result, nil);
@@ -143,7 +173,7 @@ - (void)testAuthenticateCancel {
provider.loginManager = mockedLoginManager;
XCTestExpectation *expectation = [self currentSelectorTestExpectation];
- [[provider authenticateAsyncWithReadPermissions:nil publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
+ [[provider authenticateAsyncWithReadPermissions:@[] publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
XCTAssertTrue(task.cancelled);
[expectation fulfill];
return nil;
@@ -155,10 +185,10 @@ - (void)testAuthenticateError {
NSError *expectedError = [NSError errorWithDomain:@"FBSDK" code:1337 userInfo:nil];
id mockedLoginManager = PFStrictClassMock([FBSDKLoginManager class]);
- OCMStub([mockedLoginManager logInWithPublishPermissions:@[ @"publish" ]
+ OCMStub([mockedLoginManager logInWithPermissions:@[ @"publish" ]
fromViewController:OCMOCK_ANY
handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
- __unsafe_unretained FBSDKLoginManagerRequestTokenHandler handler = nil;
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
[invocation getArgument:&handler atIndex:4];
handler(nil, expectedError);
@@ -168,7 +198,7 @@ - (void)testAuthenticateError {
provider.loginManager = mockedLoginManager;
XCTestExpectation *expectation = [self currentSelectorTestExpectation];
- [[provider authenticateAsyncWithReadPermissions:nil publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
+ [[provider authenticateAsyncWithReadPermissions:@[] publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
XCTAssertEqualObjects(task.error, expectedError);
[expectation fulfill];
return nil;
@@ -179,32 +209,44 @@ - (void)testAuthenticateError {
- (void)testAuthenticateInvalidResults {
id mockedLoginManager = PFStrictClassMock([FBSDKLoginManager class]);
- OCMStub([mockedLoginManager logInWithPublishPermissions:@[ @"publish" ]
- fromViewController:OCMOCK_ANY
- handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
- __unsafe_unretained FBSDKLoginManagerRequestTokenHandler handler = nil;
- [invocation getArgument:&handler atIndex:4];
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wnonnull"
- FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:nil
+ // Test simulates invalid input with a nil user. User is nonnull in the interface. Disabling that warning here.
+
+ OCMStub([mockedLoginManager logInWithPermissions:@[ @"publish" ]
+ fromViewController:OCMOCK_ANY
+ handler:OCMOCK_ANY]).andDo(^(NSInvocation *invocation) {
+ __unsafe_unretained FBSDKLoginManagerLoginResultBlock handler = nil;
+ [invocation getArgument:&handler atIndex:4];
+
+ FBSDKAccessToken *token = [[FBSDKAccessToken alloc] initWithTokenString:@""
permissions:@[ @"publish" ]
- declinedPermissions:nil
+ declinedPermissions:@[]
+ expiredPermissions:@[]
appID:@"appId"
userID:nil
expirationDate:nil
- refreshDate:nil];
+ refreshDate:nil
+ dataAccessExpirationDate:nil];
+
FBSDKLoginManagerLoginResult *result = [[FBSDKLoginManagerLoginResult alloc] initWithToken:token
isCancelled:NO
grantedPermissions:[NSSet setWithObject:@"publish"]
- declinedPermissions:nil];
-
+ declinedPermissions:[NSSet setWithArray:@[]]];
+
handler(result, nil);
});
+
+#pragma GCC diagnostic pop
+
+
PFFacebookMobileAuthenticationProvider *provider = [[PFFacebookMobileAuthenticationProvider alloc] initWithApplication:[UIApplication sharedApplication] launchOptions:nil];
provider.loginManager = mockedLoginManager;
XCTestExpectation *expectation = [self currentSelectorTestExpectation];
- [[provider authenticateAsyncWithReadPermissions:nil publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
+ [[provider authenticateAsyncWithReadPermissions:@[] publishPermissions:@[ @"publish" ]] continueWithBlock:^id(BFTask *task) {
XCTAssertNil(task.result);
XCTAssertFalse(task.faulted);
[expectation fulfill];
diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist
index 7b0bf4861..9e974c032 100644
--- a/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist
+++ b/ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist
@@ -17,11 +17,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSMinimumSystemVersion
$(MACOSX_DEPLOYMENT_TARGET)
NSMainNibFile
diff --git a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist
index 2eb5fb6b9..7964628ec 100644
--- a/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist
+++ b/ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist
@@ -17,11 +17,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSMinimumSystemVersion
${MACOSX_DEPLOYMENT_TARGET}
NSMainNibFile
diff --git a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist
index 31aafd44a..1db1737c3 100644
--- a/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist
+++ b/ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSRequiresIPhoneOS
UILaunchStoryboardName
diff --git a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist
index 3f591675b..7fd5ac127 100644
--- a/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist
+++ b/ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist
@@ -19,11 +19,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSRequiresIPhoneOS
NSMainNibFile
diff --git a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist
index f4746e2a0..a516fa9dd 100644
--- a/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist
+++ b/ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSRequiresIPhoneOS
UIMainStoryboardFile
diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist
index 5f49783a1..08cd56987 100644
--- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist
+++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist
@@ -17,11 +17,11 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
NSExtension
NSExtensionAttributes
diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist
index d5f59b55c..d6dddf7b2 100644
--- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist
+++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist
@@ -17,11 +17,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
UISupportedInterfaceOrientations
UIInterfaceOrientationPortrait
diff --git a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist
index b0b79f067..e660298a9 100644
--- a/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist
+++ b/ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist
@@ -15,11 +15,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleVersion
- 1.17.2
+ 1.17.3
LSRequiresIPhoneOS
UIMainStoryboardFile
diff --git a/ParseTwitterUtils/Resources/Info.plist b/ParseTwitterUtils/Resources/Info.plist
index 68e82dffa..badd7ea3c 100644
--- a/ParseTwitterUtils/Resources/Info.plist
+++ b/ParseTwitterUtils/Resources/Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleSupportedPlatforms
@@ -22,7 +22,7 @@
iPhoneOS
CFBundleVersion
- 1.17.2
+ 1.17.3
MinimumOSVersion
6.0
diff --git a/ParseUI/Resources/Info.plist b/ParseUI/Resources/Info.plist
index 4bbc4fb3b..f6245e6c0 100644
--- a/ParseUI/Resources/Info.plist
+++ b/ParseUI/Resources/Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.17.2
+ 1.17.3
CFBundleSignature
????
CFBundleSupportedPlatforms
@@ -22,7 +22,7 @@
iPhoneOS
CFBundleVersion
- 1.17.2
+ 1.17.3
MinimumOSVersion
7.0
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit b/ParseUI/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit
deleted file mode 100644
index 875e42401..000000000
Binary files a/ParseUI/Vendor/FBSDKCoreKit.framework/FBSDKCoreKit and /dev/null differ
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
deleted file mode 100644
index ef54b1516..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
+++ /dev/null
@@ -1,173 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-#import
-#import
-
-/**
- Notification indicating that the `currentAccessToken` has changed.
-
- the userInfo dictionary of the notification will contain keys
- `FBSDKAccessTokenChangeOldKey` and
- `FBSDKAccessTokenChangeNewKey`.
- */
-FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeNotification;
-
-/**
- A key in the notification's userInfo that will be set
- if and only if the user ID changed between the old and new tokens.
-
- Token refreshes can occur automatically with the SDK
- which do not change the user. If you're only interested in user
- changes (such as logging out), you should check for the existence
- of this key. The value is a NSNumber with a boolValue.
-
- On a fresh start of the app where the SDK reads in the cached value
- of an access token, this key will also exist since the access token
- is moving from a null state (no user) to a non-null state (user).
- */
-FBSDK_EXTERN NSString *const FBSDKAccessTokenDidChangeUserID;
-
-/*
- key in notification's userInfo object for getting the old token.
-
- If there was no old token, the key will not be present.
- */
-FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeOldKey;
-
-/*
- key in notification's userInfo object for getting the new token.
-
- If there is no new token, the key will not be present.
- */
-FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey;
-
-
-/**
- Represents an immutable access token for using Facebook services.
- */
-@interface FBSDKAccessToken : NSObject
-
-/**
- Returns the app ID.
- */
-@property (readonly, copy, nonatomic) NSString *appID;
-
-/**
- Returns the known declined permissions.
- */
-@property (readonly, copy, nonatomic) NSSet *declinedPermissions;
-
-/**
- Returns the expiration date.
- */
-@property (readonly, copy, nonatomic) NSDate *expirationDate;
-
-/**
- Returns the known granted permissions.
- */
-@property (readonly, copy, nonatomic) NSSet *permissions;
-
-/**
- Returns the date the token was last refreshed.
-*/
-@property (readonly, copy, nonatomic) NSDate *refreshDate;
-
-/**
- Returns the opaque token string.
- */
-@property (readonly, copy, nonatomic) NSString *tokenString;
-
-/**
- Returns the user ID.
- */
-@property (readonly, copy, nonatomic) NSString *userID;
-
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
-
-/**
- Initializes a new instance.
- - Parameter tokenString: the opaque token string.
- - Parameter permissions: the granted permissions. Note this is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- - Parameter declinedPermissions: the declined permissions. Note this is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- - Parameter appID: the app ID.
- - Parameter userID: the user ID.
- - Parameter expirationDate: the optional expiration date (defaults to distantFuture).
- - Parameter refreshDate: the optional date the token was last refreshed (defaults to today).
-
- This initializer should only be used for advanced apps that
- manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager`
- along with `+currentAccessToken`.
- */
-- (instancetype)initWithTokenString:(NSString *)tokenString
- permissions:(NSArray *)permissions
- declinedPermissions:(NSArray *)declinedPermissions
- appID:(NSString *)appID
- userID:(NSString *)userID
- expirationDate:(NSDate *)expirationDate
- refreshDate:(NSDate *)refreshDate
-NS_DESIGNATED_INITIALIZER;
-
-/**
- Convenience getter to determine if a permission has been granted
- - Parameter permission: The permission to check.
- */
-- (BOOL)hasGranted:(NSString *)permission;
-
-/**
- Compares the receiver to another FBSDKAccessToken
- - Parameter token: The other token
- - Returns: YES if the receiver's values are equal to the other token's values; otherwise NO
- */
-- (BOOL)isEqualToAccessToken:(FBSDKAccessToken *)token;
-
-/**
- Returns the "global" access token that represents the currently logged in user.
-
- The `currentAccessToken` is a convenient representation of the token of the
- current user and is used by other SDK components (like `FBSDKLoginManager`).
- */
-+ (FBSDKAccessToken *)currentAccessToken;
-
-/**
- Sets the "global" access token that represents the currently logged in user.
- - Parameter token: The access token to set.
-
- This will broadcast a notification and save the token to the app keychain.
- */
-+ (void)setCurrentAccessToken:(FBSDKAccessToken *)token;
-
-/**
- Refresh the current access token's permission state and extend the token's expiration date,
- if possible.
- - Parameter completionHandler: an optional callback handler that can surface any errors related to permission refreshing.
-
- On a successful refresh, the currentAccessToken will be updated so you typically only need to
- observe the `FBSDKAccessTokenDidChangeNotification` notification.
-
- If a token is already expired, it cannot be refreshed.
- */
-+ (void)refreshCurrentAccessToken:(FBSDKGraphRequestHandler)completionHandler;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
deleted file mode 100644
index 71260ca8c..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h
+++ /dev/null
@@ -1,523 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-#import "FBSDKMacros.h"
-
-@class FBSDKAccessToken;
-@class FBSDKGraphRequest;
-
-/** NSNotificationCenter name indicating a result of a failed log flush attempt. The posted object will be an NSError instance. */
-FBSDK_EXTERN NSString *const FBSDKAppEventsLoggingResultNotification;
-
-/** optional plist key ("FacebookLoggingOverrideAppID") for setting `loggingOverrideAppID` */
-FBSDK_EXTERN NSString *const FBSDKAppEventsOverrideAppIDBundleKey;
-
-/**
-
- NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior)
-
- Specifies when `FBSDKAppEvents` sends log events to the server.
-
- */
-typedef NS_ENUM(NSUInteger, FBSDKAppEventsFlushBehavior)
-{
-
- /** Flush automatically: periodically (once a minute or every 100 logged events) and always at app reactivation. */
- FBSDKAppEventsFlushBehaviorAuto = 0,
-
- /** Only flush when the `flush` method is called. When an app is moved to background/terminated, the
- events are persisted and re-established at activation, but they will only be written with an
- explicit call to `flush`. */
- FBSDKAppEventsFlushBehaviorExplicitOnly,
-
-};
-
-/**
- @methodgroup Predefined event names for logging events common to many apps. Logging occurs through the `logEvent` family of methods on `FBSDKAppEvents`.
- Common event parameters are provided in the `FBSDKAppEventsParameterNames*` constants.
- */
-
-/** Log this event when the user has achieved a level in the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameAchievedLevel;
-
-/** Log this event when the user has entered their payment info. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedPaymentInfo;
-
-/** Log this event when the user has added an item to their cart. The valueToSum passed to logEvent should be the item's price. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedToCart;
-
-/** Log this event when the user has added an item to their wishlist. The valueToSum passed to logEvent should be the item's price. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameAddedToWishlist;
-
-/** Log this event when a user has completed registration with the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameCompletedRegistration;
-
-/** Log this event when the user has completed a tutorial in the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameCompletedTutorial;
-
-/** Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameInitiatedCheckout;
-
-/** Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameRated;
-
-/** Log this event when a user has performed a search within the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameSearched;
-
-/** Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameSpentCredits;
-
-/** Log this event when the user has unlocked an achievement in the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameUnlockedAchievement;
-
-/** Log this event when a user has viewed a form of content in the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventNameViewedContent;
-
-/**
- @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logEvent` family
- of methods on `FBSDKAppEvents`. Common event names are provided in the `FBAppEventName*` constants.
- */
-
- /**
- * Parameter key used to specify data for the one or more pieces of content being logged about.
- * Data should be a JSON encoded string.
- * Example:
- * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]"
- */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContent;
-
-/** Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContentID;
-
-/** Parameter key used to specify a generic content type/family for the logged event, e.g. "music", "photo", "video". Options to use will vary based upon what the app is all about. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContentType;
-
-/** Parameter key used to specify currency used with logged event. E.g. "USD", "EUR", "GBP". See ISO-4217 for specific values. One reference for these is . */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameCurrency;
-
-/** Parameter key used to specify a description appropriate to the event being logged. E.g., the name of the achievement unlocked in the `FBAppEventNameAchievementUnlocked` event. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameDescription;
-
-/** Parameter key used to specify the level achieved in a `FBAppEventNameAchieved` event. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameLevel;
-
-/** Parameter key used to specify the maximum rating available for the `FBAppEventNameRate` event. E.g., "5" or "10". */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameMaxRatingValue;
-
-/** Parameter key used to specify how many items are being processed for an `FBAppEventNameInitiatedCheckout` or `FBAppEventNamePurchased` event. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameNumItems;
-
-/** Parameter key used to specify whether payment info is available for the `FBAppEventNameInitiatedCheckout` event. `FBSDKAppEventParameterValueYes` and `FBSDKAppEventParameterValueNo` are good canonical values to use for this parameter. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNamePaymentInfoAvailable;
-
-/** Parameter key used to specify method user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameRegistrationMethod;
-
-/** Parameter key used to specify the string provided by the user for a search operation. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameSearchString;
-
-/** Parameter key used to specify whether the activity being logged about was successful or not. `FBSDKAppEventParameterValueYes` and `FBSDKAppEventParameterValueNo` are good canonical values to use for this parameter. */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameSuccess;
-
-/*
- @methodgroup Predefined values to assign to event parameters that accompany events logged through the `logEvent` family
- of methods on `FBSDKAppEvents`. Common event parameters are provided in the `FBSDKAppEventParameterName*` constants.
- */
-
-/** Yes-valued parameter value to be used with parameter keys that need a Yes/No value */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueYes;
-
-/** No-valued parameter value to be used with parameter keys that need a Yes/No value */
-FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo;
-
-
-/**
-
-
- Client-side event logging for specialized application analytics available through Facebook App Insights
- and for use with Facebook Ads conversion tracking and optimization.
-
-
-
- The `FBSDKAppEvents` static class has a few related roles:
-
- + Logging predefined and application-defined events to Facebook App Insights with a
- numeric value to sum across a large number of events, and an optional set of key/value
- parameters that define "segments" for this event (e.g., 'purchaserStatus' : 'frequent', or
- 'gamerLevel' : 'intermediate')
-
- + Logging events to later be used for ads optimization around lifetime value.
-
- + Methods that control the way in which events are flushed out to the Facebook servers.
-
- Here are some important characteristics of the logging mechanism provided by `FBSDKAppEvents`:
-
- + Events are not sent immediately when logged. They're cached and flushed out to the Facebook servers
- in a number of situations:
- - when an event count threshold is passed (currently 100 logged events).
- - when a time threshold is passed (currently 15 seconds).
- - when an app has gone to background and is then brought back to the foreground.
-
- + Events will be accumulated when the app is in a disconnected state, and sent when the connection is
- restored and one of the above 'flush' conditions are met.
-
- + The `FBSDKAppEvents` class is thread-safe in that events may be logged from any of the app's threads.
-
- + The developer can set the `flushBehavior` on `FBSDKAppEvents` to force the flushing of events to only
- occur on an explicit call to the `flush` method.
-
- + The developer can turn on console debug output for event logging and flushing to the server by using
- the `FBSDKLoggingBehaviorAppEvents` value in `[FBSettings setLoggingBehavior:]`.
-
- Some things to note when logging events:
-
- + There is a limit on the number of unique event names an app can use, on the order of 1000.
- + There is a limit to the number of unique parameter names in the provided parameters that can
- be used per event, on the order of 25. This is not just for an individual call, but for all
- invocations for that eventName.
- + Event names and parameter names (the keys in the NSDictionary) must be between 2 and 40 characters, and
- must consist of alphanumeric characters, _, -, or spaces.
- + The length of each parameter value can be no more than on the order of 100 characters.
-
- */
-@interface FBSDKAppEvents : NSObject
-
-/*
- * Basic event logging
- */
-
-/**
-
- Log an event with just an eventName.
-
- - Parameter eventName: The name of the event to record. Limitations on number of events and name length
- are given in the `FBSDKAppEvents` documentation.
-
- */
-+ (void)logEvent:(NSString *)eventName;
-
-/**
-
- Log an event with an eventName and a numeric value to be aggregated with other events of this name.
-
- - Parameter eventName: The name of the event to record. Limitations on number of events and name length
- are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants.
-
- - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report
- the cumulative and average value of this amount.
- */
-+ (void)logEvent:(NSString *)eventName
- valueToSum:(double)valueToSum;
-
-
-/**
-
- Log an event with an eventName and a set of key/value pairs in the parameters dictionary.
- Parameter limitations are described above.
-
- - Parameter eventName: The name of the event to record. Limitations on number of events and name construction
- are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants.
-
- - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
- be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of
- parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names
- are provided in `FBSDKAppEventParameterName*` constants.
- */
-+ (void)logEvent:(NSString *)eventName
- parameters:(NSDictionary *)parameters;
-
-/**
-
- Log an event with an eventName, a numeric value to be aggregated with other events of this name,
- and a set of key/value pairs in the parameters dictionary.
-
- - Parameter eventName: The name of the event to record. Limitations on number of events and name construction
- are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants.
-
- - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report
- the cumulative and average value of this amount.
-
- - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
- be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of
- parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names
- are provided in `FBSDKAppEventParameterName*` constants.
-
- */
-+ (void)logEvent:(NSString *)eventName
- valueToSum:(double)valueToSum
- parameters:(NSDictionary *)parameters;
-
-
-/**
-
- Log an event with an eventName, a numeric value to be aggregated with other events of this name,
- and a set of key/value pairs in the parameters dictionary. Providing session lets the developer
- target a particular . If nil is provided, then `[FBSession activeSession]` will be used.
-
- - Parameter eventName: The name of the event to record. Limitations on number of events and name construction
- are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants.
-
- - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report
- the cumulative and average value of this amount. Note that this is an NSNumber, and a value of `nil` denotes
- that this event doesn't have a value associated with it for summation.
-
- - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
- be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of
- parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names
- are provided in `FBSDKAppEventParameterName*` constants.
-
- - Parameter accessToken: The optional access token to log the event as.
- */
-+ (void)logEvent:(NSString *)eventName
- valueToSum:(NSNumber *)valueToSum
- parameters:(NSDictionary *)parameters
- accessToken:(FBSDKAccessToken *)accessToken;
-
-/*
- * Purchase logging
- */
-
-/**
-
- Log a purchase of the specified amount, in the specified currency.
-
- - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency. This value
- will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
-
- - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for
- specific values. One reference for these is .
-
-
- This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set
- to `FBSDKAppEventsFlushBehaviorExplicitOnly`.
-
- */
-+ (void)logPurchase:(double)purchaseAmount
- currency:(NSString *)currency;
-
-/**
-
- Log a purchase of the specified amount, in the specified currency, also providing a set of
- additional characteristics describing the purchase.
-
- - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency.This value
- will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
-
- - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for
- specific values. One reference for these is .
-
- - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
- be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of
- parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names
- are provided in `FBSDKAppEventParameterName*` constants.
-
-
- This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set
- to `FBSDKAppEventsFlushBehaviorExplicitOnly`.
-
- */
-+ (void)logPurchase:(double)purchaseAmount
- currency:(NSString *)currency
- parameters:(NSDictionary *)parameters;
-
-/**
-
- Log a purchase of the specified amount, in the specified currency, also providing a set of
- additional characteristics describing the purchase, as well as an to log to.
-
- - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency.This value
- will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346).
-
- - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for
- specific values. One reference for these is .
-
- - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must
- be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of
- parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names
- are provided in `FBSDKAppEventParameterName*` constants.
-
- - Parameter accessToken: The optional access token to log the event as.
-
-
- This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set
- to `FBSDKAppEventsFlushBehaviorExplicitOnly`.
-
- */
-+ (void)logPurchase:(double)purchaseAmount
- currency:(NSString *)currency
- parameters:(NSDictionary *)parameters
- accessToken:(FBSDKAccessToken *)accessToken;
-
-
-/*
- * Push Notifications Logging
- */
-
-/**
- Log an app event that tracks that the application was open via Push Notification.
-
- - Parameter payload: Notification payload received via `UIApplicationDelegate`.
- */
-+ (void)logPushNotificationOpen:(NSDictionary *)payload;
-
-/**
- Log an app event that tracks that a custom action was taken from a push notification.
-
- - Parameter payload: Notification payload received via `UIApplicationDelegate`.
- - Parameter action: Name of the action that was taken.
- */
-+ (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action;
-
-/**
-
- Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event.
- This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless
- one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file.
- In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it should typically be placed in the
- app delegates' `applicationDidBecomeActive:` method.
-
- This method also takes care of logging the event indicating the first time this app has been launched, which, among other things, is used to
- track user acquisition and app install ads conversions.
-
-
-
- `activateApp` will not log an event on every app launch, since launches happen every time the app is backgrounded and then foregrounded.
- "activated app" events will be logged when the app has not been active for more than 60 seconds. This method also causes a "deactivated app"
- event to be logged when sessions are "completed", and these events are logged with the session length, with an indication of how much
- time has elapsed between sessions, and with the number of background/foreground interruptions that session had. This data
- is all visible in your app's App Events Insights.
- */
-+ (void)activateApp;
-
-/*
- * Push Notifications Registration
- */
-
-/**
- Sets and sends device token to register the current application for push notifications.
-
-
-
- Sets and sends a device token from `NSData` representation that you get from `UIApplicationDelegate.-application:didRegisterForRemoteNotificationsWithDeviceToken:`.
-
- - Parameter deviceToken: Device token data.
- */
-+ (void)setPushNotificationsDeviceToken:(NSData *)deviceToken;
-
-/*
- * Control over event batching/flushing
- */
-
-/**
-
- Get the current event flushing behavior specifying when events are sent back to Facebook servers.
- */
-+ (FBSDKAppEventsFlushBehavior)flushBehavior;
-
-/**
-
- Set the current event flushing behavior specifying when events are sent back to Facebook servers.
-
- - Parameter flushBehavior: The desired `FBSDKAppEventsFlushBehavior` to be used.
- */
-+ (void)setFlushBehavior:(FBSDKAppEventsFlushBehavior)flushBehavior;
-
-/**
- Set the 'override' App ID for App Event logging.
-
-
-
- In some cases, apps want to use one Facebook App ID for login and social presence and another
- for App Event logging. (An example is if multiple apps from the same company share an app ID for login, but
- want distinct logging.) By default, this value is `nil`, and defers to the `FBSDKAppEventsOverrideAppIDBundleKey`
- plist value. If that's not set, it defaults to `[FBSDKSettings appID]`.
-
- This should be set before any other calls are made to `FBSDKAppEvents`. Thus, you should set it in your application
- delegate's `application:didFinishLaunchingWithOptions:` delegate.
-
- - Parameter appID: The Facebook App ID to be used for App Event logging.
- */
-+ (void)setLoggingOverrideAppID:(NSString *)appID;
-
-/**
- Get the 'override' App ID for App Event logging.
-
-
-- See:setLoggingOverrideAppID:
-
- */
-+ (NSString *)loggingOverrideAppID;
-
-
-/**
- Explicitly kick off flushing of events to Facebook. This is an asynchronous method, but it does initiate an immediate
- kick off. Server failures will be reported through the NotificationCenter with notification ID `FBSDKAppEventsLoggingResultNotification`.
- */
-+ (void)flush;
-
-/**
- Creates a request representing the Graph API call to retrieve a Custom Audience "third party ID" for the app's Facebook user.
- Callers will send this ID back to their own servers, collect up a set to create a Facebook Custom Audience with,
- and then use the resultant Custom Audience to target ads.
-
- - Parameter accessToken: The access token to use to establish the user's identity for users logged into Facebook through this app.
- If `nil`, then the `[FBSDKAccessToken currentAccessToken]` is used.
-
-
-
- The JSON in the request's response will include an "custom_audience_third_party_id" key/value pair, with the value being the ID retrieved.
- This ID is an encrypted encoding of the Facebook user's ID and the invoking Facebook app ID.
- Multiple calls with the same user will return different IDs, thus these IDs cannot be used to correlate behavior
- across devices or applications, and are only meaningful when sent back to Facebook for creating Custom Audiences.
-
- The ID retrieved represents the Facebook user identified in the following way: if the specified access token is valid,
- the ID will represent the user associated with that token; otherwise the ID will represent the user logged into the
- native Facebook app on the device. If there is no native Facebook app, no one is logged into it, or the user has opted out
- at the iOS level from ad tracking, then a `nil` ID will be returned.
-
- This method returns `nil` if either the user has opted-out (via iOS) from Ad Tracking, the app itself has limited event usage
- via the `[FBSDKSettings limitEventAndDataUsage]` flag, or a specific Facebook user cannot be identified.
- */
-+ (FBSDKGraphRequest *)requestForCustomAudienceThirdPartyIDWithAccessToken:(FBSDKAccessToken *)accessToken;
-
-/*
- Sets a custom user ID to associate with all app events.
-
- The userID is persisted until it is cleared by passing nil.
- */
-+ (void)setUserID:(NSString *)userID;
-
-/*
- Returns the set custom user ID.
- */
-+ (NSString *)userID;
-
-/*
- Sends a request to update the properties for the current user, set by `setUserID:`
-
- You must call `FBSDKAppEvents setUserID:` before making this call.
- - Parameter properties: the custom user properties
- - Parameter handler: the optional completion handler
- */
-+ (void)updateUserProperties:(NSDictionary *)properties handler:(FBSDKGraphRequestHandler)handler;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h
deleted file mode 100644
index c97b6b35d..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-@class BFTask;
-
-// Check if Bolts.framework is available for import
-#if __has_include()
-// Import it if it's available
-# import
-#else
-// Otherwise - redeclare BFAppLinkResolving protocol to resolve the problem of missing symbols
-// Please note: Bolts.framework is still required for AppLink resolving to work,
-// but this allows FBSDKCoreKit to weakly link Bolts.framework as well as this enables clang modulemaps to work.
-
-/**
- Implement this protocol to provide an alternate strategy for resolving
- App Links that may include pre-fetching, caching, or querying for App Link
- data from an index provided by a service provider.
- */
-@protocol BFAppLinkResolving
-
-/**
- Asynchronously resolves App Link data for a given URL.
-
- - Parameter url: The URL to resolve into an App Link.
- - Returns: A BFTask that will return a BFAppLink for the given URL.
- */
-- (BFTask *)appLinkFromURLInBackground:(NSURL *)url;
-
-@end
-
-#endif
-
-/**
-
- Provides an implementation of the BFAppLinkResolving protocol that uses the Facebook App Link
- Index API to resolve App Links given a URL. It also provides an additional helper method that can resolve
- multiple App Links in a single call.
-
-
-
- Usage of this type requires a client token. See `[FBSDKSettings setClientToken:]` and linking
- Bolts.framework
- */
-@interface FBSDKAppLinkResolver : NSObject
-
-/**
- Asynchronously resolves App Link data for multiple URLs.
-
- - Parameter urls: An array of NSURLs to resolve into App Links.
- - Returns: A BFTask that will return dictionary mapping input NSURLs to their
- corresponding BFAppLink.
-
-
-
- You should set the client token before making this call. See `[FBSDKSettings setClientToken:]`
- */
-- (BFTask *)appLinksFromURLsInBackground:(NSArray *)urls;
-
-/**
- Allocates and initializes a new instance of FBSDKAppLinkResolver.
- */
-+ (instancetype)resolver;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
deleted file mode 100644
index 1cc549a19..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- Describes the callback for fetchDeferredAppLink.
- - Parameter url: the url representing the deferred App Link
- - Parameter error: the error during the request, if any
-
-
- The url may also have a fb_click_time_utc query parameter that
- represents when the click occurred that caused the deferred App Link to be created.
- */
-typedef void (^FBSDKDeferredAppLinkHandler)(NSURL *url, NSError *error);
-
-
-/**
- Describes the callback for fetchOrganicDeferredAppLink.
- - Parameter url: the url representing the deferred App Link
- */
-typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url);
-
-
-/**
- Class containing App Links related utility methods.
- */
-@interface FBSDKAppLinkUtility : NSObject
-
-/**
- Call this method from the main thread to fetch deferred applink data if you use Mobile App
- Engagement Ads (https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement).
- This may require a network round trip. If successful, the handler is invoked with the link
- data (this will only return a valid URL once, and future calls will result in a nil URL
- value in the callback).
-
- - Parameter handler: the handler to be invoked if there is deferred App Link data
-
-
- The handler may contain an NSError instance to capture any errors. In the
- common case where there simply was no app link data, the NSError instance will be nil.
-
- This method should only be called from a location that occurs after any launching URL has
- been processed (e.g., you should call this method from your application delegate's
- applicationDidBecomeActive:).
- */
-+ (void)fetchDeferredAppLink:(FBSDKDeferredAppLinkHandler)handler;
-
-/**
-
-- Warning:This method is no longer available and will always return NO.
- */
-+ (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler
-__attribute__((deprecated("This method is no longer available.")));;
-
-/*
- Call this method to fetch promotion code from the url, if it's present. This function
- requires Bolts framework.
-
- Note: This throws an exception if Bolts.framework is not linked. Add '[BFURL class]' in intialize method
- of your AppDelegate.
-
- - Parameter url: App Link url that was passed to the app.
-
- - Returns: Promotion code string.
-
-
- Call this method to fetch App Invite Promotion Code from applink if present.
- This can be used to fetch the promotion code that was associated with the invite when it
- was created. This method should be called with the url from the openURL method.
-*/
-+ (NSString*)appInvitePromotionCodeFromURL:(NSURL*)url;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h
deleted file mode 100644
index ebaef4d38..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
-
- The FBSDKApplicationDelegate is designed to post process the results from Facebook Login
- or Facebook Dialogs (or any action that requires switching over to the native Facebook
- app or Safari).
-
-
-
- The methods in this class are designed to mirror those in UIApplicationDelegate, and you
- should call them in the respective methods in your AppDelegate implementation.
- */
-@interface FBSDKApplicationDelegate : NSObject
-
-/**
- Gets the singleton instance.
- */
-+ (instancetype)sharedInstance;
-
-/**
- Call this method from the [UIApplicationDelegate application:openURL:sourceApplication:annotation:] method
- of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction
- with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs.
-
- - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
-
- - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
-
- - Parameter sourceApplication: The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
-
- - Parameter annotation: The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:].
-
- - Returns: YES if the url was intended for the Facebook SDK, NO if not.
- */
-- (BOOL)application:(UIApplication *)application
- openURL:(NSURL *)url
- sourceApplication:(NSString *)sourceApplication
- annotation:(id)annotation;
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_9_0
-/**
- Call this method from the [UIApplicationDelegate application:openURL:options:] method
- of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction
- with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs.
-
- - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:options:].
-
- - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:options:].
-
- - Parameter options: The options dictionary as passed to [UIApplicationDelegate application:openURL:options:].
-
- - Returns: YES if the url was intended for the Facebook SDK, NO if not.
- */
-- (BOOL)application:(UIApplication *)application
- openURL:(NSURL *)url
- options:(NSDictionary *)options;
-#endif
-
-/**
- Call this method from the [UIApplicationDelegate application:didFinishLaunchingWithOptions:] method
- of the AppDelegate for your app. It should be invoked for the proper use of the Facebook SDK.
- As part of SDK initialization basic auto logging of app events will occur, this can be
-controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file.
-
- - Parameter application: The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
-
- - Parameter launchOptions: The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
-
- - Returns: YES if the url was intended for the Facebook SDK, NO if not.
- */
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h
deleted file mode 100644
index ca539660c..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKButton.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- A base class for common SDK buttons.
- */
-@interface FBSDKButton : UIButton
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
deleted file mode 100644
index 98cfd73c3..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKConstants.h
+++ /dev/null
@@ -1,225 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-/**
- The error domain for all errors from FBSDKCoreKit.
-
- Error codes from the SDK in the range 0-99 are reserved for this domain.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorDomain;
-
-/**
- NS_ENUM(NSInteger, FBSDKErrorCode)
- Error codes for FBSDKErrorDomain.
- */
-typedef NS_ENUM(NSInteger, FBSDKErrorCode)
-{
- /**
- Reserved.
- */
- FBSDKReservedErrorCode = 0,
-
- /**
- The error code for errors from invalid encryption on incoming encryption URLs.
- */
- FBSDKEncryptionErrorCode,
-
- /**
- The error code for errors from invalid arguments to SDK methods.
- */
- FBSDKInvalidArgumentErrorCode,
-
- /**
- The error code for unknown errors.
- */
- FBSDKUnknownErrorCode,
-
- /**
- A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve
- the error object from the NSURLConnection for more information.
- */
- FBSDKNetworkErrorCode,
-
- /**
- The error code for errors encountered during an App Events flush.
- */
- FBSDKAppEventsFlushErrorCode,
-
- /**
- An endpoint that returns a binary response was used with FBSDKGraphRequestConnection.
-
- Endpoints that return image/jpg, etc. should be accessed using NSURLRequest
- */
- FBSDKGraphRequestNonTextMimeTypeReturnedErrorCode,
-
- /**
- The operation failed because the server returned an unexpected response.
-
- You can get this error if you are not using the most recent SDK, or you are accessing a version of the
- Graph API incompatible with the current SDK.
- */
- FBSDKGraphRequestProtocolMismatchErrorCode,
-
- /**
- The Graph API returned an error.
-
- See below for useful userInfo keys (beginning with FBSDKGraphRequestError*)
- */
- FBSDKGraphRequestGraphAPIErrorCode,
-
- /**
- The specified dialog configuration is not available.
-
- This error may signify that the configuration for the dialogs has not yet been downloaded from the server
- or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded.
- */
- FBSDKDialogUnavailableErrorCode,
-
- /**
- Indicates an operation failed because a required access token was not found.
- */
- FBSDKAccessTokenRequiredErrorCode,
-
- /**
- Indicates an app switch (typically for a dialog) failed because the destination app is out of date.
- */
- FBSDKAppVersionUnsupportedErrorCode,
-
- /**
- Indicates an app switch to the browser (typically for a dialog) failed.
- */
- FBSDKBrowserUnavailableErrorCode,
-
- /**
-
-- Warning:use FBSDKBrowserUnavailableErrorCode instead
- */
- FBSDKBrowswerUnavailableErrorCode __attribute__ ((deprecated("use FBSDKBrowserUnavailableErrorCode instead"))) = FBSDKBrowserUnavailableErrorCode,
-};
-
-/**
- NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
- Describes the category of Facebook error. See `FBSDKGraphRequestErrorCategoryKey`.
- */
-typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
-{
- /** The default error category that is not known to be recoverable. Check `FBSDKLocalizedErrorDescriptionKey` for a user facing message. */
- FBSDKGraphRequestErrorCategoryOther = 0,
- /** Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert. */
- FBSDKGraphRequestErrorCategoryTransient = 1,
- /** Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action. */
- FBSDKGraphRequestErrorCategoryRecoverable = 2
-};
-
-/*
- @methodgroup error userInfo keys
- */
-
-/**
- The userInfo key for the invalid collection for errors with FBSDKInvalidArgumentErrorCode.
-
- If the invalid argument is a collection, the collection can be found with this key and the individual
- invalid item can be found with FBSDKErrorArgumentValueKey.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorArgumentCollectionKey;
-
-/**
- The userInfo key for the invalid argument name for errors with FBSDKInvalidArgumentErrorCode.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorArgumentNameKey;
-
-/**
- The userInfo key for the invalid argument value for errors with FBSDKInvalidArgumentErrorCode.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorArgumentValueKey;
-
-/**
- The userInfo key for the message for developers in NSErrors that originate from the SDK.
-
- The developer message will not be localized and is not intended to be presented within the app.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorDeveloperMessageKey;
-
-/**
- The userInfo key describing a localized description that can be presented to the user.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorLocalizedDescriptionKey;
-
-/**
- The userInfo key describing a localized title that can be presented to the user, used with `FBSDKLocalizedErrorDescriptionKey`.
- */
-FBSDK_EXTERN NSString *const FBSDKErrorLocalizedTitleKey;
-
-/*
- @methodgroup FBSDKGraphRequest error userInfo keys
- */
-
-/**
- The userInfo key describing the error category, for error recovery purposes.
-
- See `FBSDKGraphErrorRecoveryProcessor` and `[FBSDKGraphRequest disableErrorRecovery]`.
- */
-FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorCategoryKey;
-
-/*
- The userInfo key for the Graph API error code.
- */
-FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorCode;
-
-/*
- The userInfo key for the Graph API error subcode.
- */
-FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorGraphErrorSubcode;
-
-/*
- The userInfo key for the HTTP status code.
- */
-FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorHTTPStatusCodeKey;
-
-/*
- The userInfo key for the raw JSON response.
- */
-FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorParsedJSONResponseKey;
-
-/**
- a formal protocol very similar to the informal protocol NSErrorRecoveryAttempting
- */
-@protocol FBSDKErrorRecoveryAttempting
-
-/**
- attempt the recovery
- - Parameter error: the error
- - Parameter recoveryOptionIndex: the selected option index
- - Parameter delegate: the delegate
- - Parameter didRecoverSelector: the callback selector, see discussion.
- - Parameter contextInfo: context info to pass back to callback selector, see discussion.
-
-
- Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as:
-
- - (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo;
-
- The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise.
- */
-- (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(id)delegate didRecoverSelector:(SEL)didRecoverSelector contextInfo:(void *)contextInfo;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h
deleted file mode 100644
index c84975ca4..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCopying.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- Extension protocol for NSCopying that adds the copy method, which is implemented on NSObject.
-
- NSObject implicitly conforms to this protocol.
- */
-@protocol FBSDKCopying
-
-/**
- Implemented by NSObject as a convenience to copyWithZone:.
- - Returns: A copy of the receiver.
- */
-- (id)copy;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
deleted file mode 100644
index d32c553c9..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-#import
-
-#if !TARGET_OS_TV
-#import
-#import
-#import
-#import
-#import
-#import
-#else
-#import
-#import
-#endif
-
-#define FBSDK_VERSION_STRING @"4.29.0"
-#define FBSDK_TARGET_PLATFORM_VERSION @"v2.11"
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
deleted file mode 100644
index 658bc46ee..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import "FBSDKConstants.h"
-
-@class FBSDKGraphErrorRecoveryProcessor;
-@class FBSDKGraphRequest;
-
-/**
- Defines a delegate for `FBSDKGraphErrorRecoveryProcessor`.
- */
-@protocol FBSDKGraphErrorRecoveryProcessorDelegate
-
-/**
- Indicates the error recovery has been attempted.
- - Parameter processor: the processor instance.
- - Parameter didRecover: YES if the recovery was successful.
- - Parameter error: the error that that was attempted to be recovered from.
- */
-- (void)processorDidAttemptRecovery:(FBSDKGraphErrorRecoveryProcessor *)processor didRecover:(BOOL)didRecover error:(NSError *)error;
-
-@optional
-/**
- Indicates the processor is about to process the error.
- - Parameter processor: the processor instance.
- - Parameter error: the error is about to be processed.
-
- return NO if the processor should not process the error. For example,
- if you want to prevent alerts of localized messages but otherwise perform retries and recoveries,
- you could return NO for errors where userInfo[FBSDKGraphRequestErrorCategoryKey] equal to FBSDKGraphRequestErrorCategoryOther
- */
-- (BOOL)processorWillProcessError:(FBSDKGraphErrorRecoveryProcessor *)processor error:(NSError *)error;
-
-@end
-
-/**
- Defines a type that can process Facebook NSErrors with best practices.
-
- Facebook NSErrors can contain FBSDKErrorRecoveryAttempting instances to recover from errors, or
- localized messages to present to the user. This class will process the instances as follows:
-
- 1. If the error is temporary as indicated by FBSDKGraphRequestErrorCategoryKey, assume the recovery succeeded and
- notify the delegate.
- 2. If a FBSDKErrorRecoveryAttempting instance is available, display an alert (dispatched to main thread)
- with the recovery options and call the instance's [ attemptRecoveryFromError:optionIndex:...].
- 3. If a FBSDKErrorRecoveryAttempting is not available, check the userInfo for FBSDKLocalizedErrorDescriptionKey
- and present that in an alert (dispatched to main thread).
-
- By default, FBSDKGraphRequests use this type to process errors and retry the request upon a successful
- recovery.
-
- Note that Facebook recovery attempters can present UI or even cause app switches (such as to login). Any such
- work is dispatched to the main thread (therefore your request handlers may then run on the main thread).
-
- Login recovery requires FBSDKLoginKit. Login will use FBSDKLoginBehaviorNative and will prompt the user
- for all permissions last granted. If any are declined on the new request, the recovery is not successful but
- the `[FBSDKAccessToken currentAccessToken]` might still have been updated.
- .
- */
-@interface FBSDKGraphErrorRecoveryProcessor : NSObject
-
-/**
- Gets the delegate. Note this is a strong reference, and is nil'ed out after recovery is complete.
- */
-@property (nonatomic, strong, readonly) iddelegate;
-
-/**
- Attempts to process the error, return YES if the error can be processed.
- - Parameter error: the error to process.
- - Parameter request: the related request that may be reissued.
- - Parameter delegate: the delegate that will be retained until recovery is complete.
- */
-- (BOOL)processError:(NSError *)error request:(FBSDKGraphRequest *)request delegate:(id) delegate;
-
-/**
- The callback for FBSDKErrorRecoveryAttempting
- - Parameter didRecover: if the recovery succeeded
- - Parameter contextInfo: unused
- */
-- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
deleted file mode 100644
index 2743ec3ad..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
+++ /dev/null
@@ -1,123 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-@class FBSDKAccessToken;
-
-/**
- Represents a request to the Facebook Graph API.
-
-
- `FBSDKGraphRequest` encapsulates the components of a request (the
- Graph API path, the parameters, error recovery behavior) and should be
- used in conjunction with `FBSDKGraphRequestConnection` to issue the request.
-
- Nearly all Graph APIs require an access token. Unless specified, the
- `[FBSDKAccessToken currentAccessToken]` is used. Therefore, most requests
- will require login first (see `FBSDKLoginManager` in FBSDKLoginKit.framework).
-
- A `- start` method is provided for convenience for single requests.
-
- By default, FBSDKGraphRequest will attempt to recover any errors returned from
- Facebook. You can disable this via `disableErrorRecovery:`.
-
-- See:FBSDKGraphErrorRecoveryProcessor
- */
-@interface FBSDKGraphRequest : NSObject
-
-/**
- Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
- - Parameter graphPath: the graph path (e.g., @"me").
- - Parameter parameters: the optional parameters dictionary.
- */
-- (instancetype)initWithGraphPath:(NSString *)graphPath
- parameters:(NSDictionary *)parameters;
-
-/**
- Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
- - Parameter graphPath: the graph path (e.g., @"me").
- - Parameter parameters: the optional parameters dictionary.
- - Parameter HTTPMethod: the optional HTTP method. nil defaults to @"GET".
- */
-- (instancetype)initWithGraphPath:(NSString *)graphPath
- parameters:(NSDictionary *)parameters
- HTTPMethod:(NSString *)HTTPMethod;
-
-/**
- Initializes a new instance.
- - Parameter graphPath: the graph path (e.g., @"me").
- - Parameter parameters: the optional parameters dictionary.
- - Parameter tokenString: the token string to use. Specifying nil will cause no token to be used.
- - Parameter version: the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`.
- - Parameter HTTPMethod: the optional HTTP method (e.g., @"POST"). nil defaults to @"GET".
- */
-- (instancetype)initWithGraphPath:(NSString *)graphPath
- parameters:(NSDictionary *)parameters
- tokenString:(NSString *)tokenString
- version:(NSString *)version
- HTTPMethod:(NSString *)HTTPMethod
-NS_DESIGNATED_INITIALIZER;
-
-/**
- The request parameters.
- */
-@property (nonatomic, strong, readonly) NSMutableDictionary *parameters;
-
-/**
- The access token string used by the request.
- */
-@property (nonatomic, copy, readonly) NSString *tokenString;
-
-/**
- The Graph API endpoint to use for the request, for example "me".
- */
-@property (nonatomic, copy, readonly) NSString *graphPath;
-
-/**
- The HTTPMethod to use for the request, for example "GET" or "POST".
- */
-@property (nonatomic, copy, readonly) NSString *HTTPMethod;
-
-/**
- The Graph API version to use (e.g., "v2.0")
- */
-@property (nonatomic, copy, readonly) NSString *version;
-
-/**
- If set, disables the automatic error recovery mechanism.
- - Parameter disable: whether to disable the automatic error recovery mechanism
-
- By default, non-batched FBSDKGraphRequest instances will automatically try to recover
- from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that
- re-issues the request on successful recoveries. The re-issued request will call the same
- handler as the receiver but may occur with a different `FBSDKGraphRequestConnection` instance.
-
- This will override [FBSDKSettings setGraphErrorRecoveryDisabled:].
- */
-- (void)setGraphErrorRecoveryDisabled:(BOOL)disable;
-
-/**
- Starts a connection to the Graph API.
- - Parameter handler: The handler block to call when the request completes.
- */
-- (FBSDKGraphRequestConnection *)startWithCompletionHandler:(FBSDKGraphRequestHandler)handler;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h
deleted file mode 100644
index 3eca5840f..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h
+++ /dev/null
@@ -1,323 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-@class FBSDKGraphRequest;
-@class FBSDKGraphRequestConnection;
-
-/**
- FBSDKGraphRequestHandler
-
- A block that is passed to addRequest to register for a callback with the results of that
- request once the connection completes.
-
-
-
- Pass a block of this type when calling addRequest. This will be called once
- the request completes. The call occurs on the UI thread.
-
- - Parameter connection: The `FBSDKGraphRequestConnection` that sent the request.
-
- - Parameter result: The result of the request. This is a translation of
- JSON data to `NSDictionary` and `NSArray` objects. This
- is nil if there was an error.
-
- - Parameter error: The `NSError` representing any error that occurred.
-
- */
-typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection,
- id result,
- NSError *error);
-
-/**
- @protocol
-
- The `FBSDKGraphRequestConnectionDelegate` protocol defines the methods used to receive network
- activity progress information from a .
- */
-@protocol FBSDKGraphRequestConnectionDelegate
-
-@optional
-
-/**
- @method
-
- Tells the delegate the request connection will begin loading
-
-
-
- If the is created using one of the convenience factory methods prefixed with
- start, the object returned from the convenience method has already begun loading and this method
- will not be called when the delegate is set.
-
- - Parameter connection: The request connection that is starting a network request
- */
-- (void)requestConnectionWillBeginLoading:(FBSDKGraphRequestConnection *)connection;
-
-/**
- @method
-
- Tells the delegate the request connection finished loading
-
-
-
- If the request connection completes without a network error occurring then this method is called.
- Invocation of this method does not indicate success of every made, only that the
- request connection has no further activity. Use the error argument passed to the FBSDKGraphRequestHandler
- block to determine success or failure of each .
-
- This method is invoked after the completion handler for each .
-
- - Parameter connection: The request connection that successfully completed a network request
- */
-- (void)requestConnectionDidFinishLoading:(FBSDKGraphRequestConnection *)connection;
-
-/**
- @method
-
- Tells the delegate the request connection failed with an error
-
-
-
- If the request connection fails with a network error then this method is called. The `error`
- argument specifies why the network connection failed. The `NSError` object passed to the
- FBSDKGraphRequestHandler block may contain additional information.
-
- - Parameter connection: The request connection that successfully completed a network request
- - Parameter error: The `NSError` representing the network error that occurred, if any. May be nil
- in some circumstances. Consult the `NSError` for the for reliable
- failure information.
- */
-- (void)requestConnection:(FBSDKGraphRequestConnection *)connection
- didFailWithError:(NSError *)error;
-
-/**
- @method
-
- Tells the delegate how much data has been sent and is planned to send to the remote host
-
-
-
- The byte count arguments refer to the aggregated objects, not a particular .
-
- Like `NSURLConnection`, the values may change in unexpected ways if data needs to be resent.
-
- - Parameter connection: The request connection transmitting data to a remote host
- - Parameter bytesWritten: The number of bytes sent in the last transmission
- - Parameter totalBytesWritten: The total number of bytes sent to the remote host
- - Parameter totalBytesExpectedToWrite: The total number of bytes expected to send to the remote host
- */
-- (void)requestConnection:(FBSDKGraphRequestConnection *)connection
- didSendBodyData:(NSInteger)bytesWritten
- totalBytesWritten:(NSInteger)totalBytesWritten
-totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite;
-
-@end
-
-/**
-
- The `FBSDKGraphRequestConnection` represents a single connection to Facebook to service a request.
-
-
-
- The request settings are encapsulated in a reusable object. The
- `FBSDKGraphRequestConnection` object encapsulates the concerns of a single communication
- e.g. starting a connection, canceling a connection, or batching requests.
-
- */
-@interface FBSDKGraphRequestConnection : NSObject
-
-/**
- The delegate object that receives updates.
- */
-@property (nonatomic, weak) id delegate;
-
-/**
- Gets or sets the timeout interval to wait for a response before giving up.
- */
-@property (nonatomic) NSTimeInterval timeout;
-
-/**
- The raw response that was returned from the server. (readonly)
-
-
-
- This property can be used to inspect HTTP headers that were returned from
- the server.
-
- The property is nil until the request completes. If there was a response
- then this property will be non-nil during the FBSDKGraphRequestHandler callback.
- */
-@property (nonatomic, retain, readonly) NSHTTPURLResponse *URLResponse;
-
-/**
- @methodgroup Class methods
- */
-
-/**
- @method
-
- This method sets the default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds.
-
- - Parameter defaultConnectionTimeout: The timeout interval.
- */
-+ (void)setDefaultConnectionTimeout:(NSTimeInterval)defaultConnectionTimeout;
-
-/**
- @methodgroup Adding requests
- */
-
-/**
- @method
-
- This method adds an object to this connection.
-
- - Parameter request: A request to be included in the round-trip when start is called.
- - Parameter handler: A handler to call back when the round-trip completes or times out.
-
-
-
- The completion handler is retained until the block is called upon the
- completion or cancellation of the connection.
- */
-- (void)addRequest:(FBSDKGraphRequest *)request
- completionHandler:(FBSDKGraphRequestHandler)handler;
-
-/**
- @method
-
- This method adds an object to this connection.
-
- - Parameter request: A request to be included in the round-trip when start is called.
-
- - Parameter handler: A handler to call back when the round-trip completes or times out.
- The handler will be invoked on the main thread.
-
- - Parameter name: An optional name for this request. This can be used to feed
- the results of one request to the input of another in the same
- `FBSDKGraphRequestConnection` as described in
- [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ).
-
-
-
- The completion handler is retained until the block is called upon the
- completion or cancellation of the connection. This request can be named
- to allow for using the request's response in a subsequent request.
- */
-- (void)addRequest:(FBSDKGraphRequest *)request
- completionHandler:(FBSDKGraphRequestHandler)handler
- batchEntryName:(NSString *)name;
-
-/**
- @method
-
- This method adds an object to this connection.
-
- - Parameter request: A request to be included in the round-trip when start is called.
-
- - Parameter handler: A handler to call back when the round-trip completes or times out.
-
- - Parameter batchParameters: The optional dictionary of parameters to include for this request
- as described in [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ).
- Examples include "depends_on", "name", or "omit_response_on_success".
-
-
-
- The completion handler is retained until the block is called upon the
- completion or cancellation of the connection. This request can be named
- to allow for using the request's response in a subsequent request.
- */
-- (void)addRequest:(FBSDKGraphRequest *)request
- completionHandler:(FBSDKGraphRequestHandler)handler
- batchParameters:(NSDictionary *)batchParameters;
-
-/**
- @methodgroup Instance methods
- */
-
-/**
- @method
-
- Signals that a connection should be logically terminated as the
- application is no longer interested in a response.
-
-
-
- Synchronously calls any handlers indicating the request was cancelled. Cancel
- does not guarantee that the request-related processing will cease. It
- does promise that all handlers will complete before the cancel returns. A call to
- cancel prior to a start implies a cancellation of all requests associated
- with the connection.
- */
-- (void)cancel;
-
-/**
- @method
-
- This method starts a connection with the server and is capable of handling all of the
- requests that were added to the connection.
-
-
- By default, a connection is scheduled on the current thread in the default mode when it is created.
- See `setDelegateQueue:` for other options.
-
- This method cannot be called twice for an `FBSDKGraphRequestConnection` instance.
- */
-- (void)start;
-
-/**
- Determines the operation queue that is used to call methods on the connection's delegate.
- - Parameter queue: The operation queue to use when calling delegate methods.
-
- By default, a connection is scheduled on the current thread in the default mode when it is created.
- You cannot reschedule a connection after it has started.
-
- This is very similar to `[NSURLConnection setDelegateQueue:]`.
- */
-- (void)setDelegateQueue:(NSOperationQueue *)queue;
-
-/**
- @method
-
- Overrides the default version for a batch request
-
-
-
- The SDK automatically prepends a version part, such as "v2.0" to API paths in order to simplify API versioning
- for applications. If you want to override the version part while using batch requests on the connection, call
- this method to set the version for the batch request.
-
- - Parameter version: This is a string in the form @"v2.0" which will be used for the version part of an API path
- */
-- (void)overrideVersionPartWith:(NSString *)version;
-
-@end
-
-/**
- The key in the result dictionary for requests to old versions of the Graph API
- whose response is not a JSON object.
-
-
- When a request returns a non-JSON response (such as a "true" literal), that response
- will be wrapped into a dictionary using this const as the key. This only applies for very few Graph API
- prior to v2.1.
- */
-FBSDK_EXTERN NSString *const FBSDKNonJSONResponseProperty;
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h
deleted file mode 100644
index edf0f7815..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- A container class for data attachments so that additional metadata can be provided about the attachment.
- */
-@interface FBSDKGraphRequestDataAttachment : NSObject
-
-/**
- Initializes the receiver with the attachment data and metadata.
- - Parameter data: The attachment data (retained, not copied)
- - Parameter filename: The filename for the attachment
- - Parameter contentType: The content type for the attachment
- */
-- (instancetype)initWithData:(NSData *)data
- filename:(NSString *)filename
- contentType:(NSString *)contentType
-NS_DESIGNATED_INITIALIZER;
-
-/**
- The content type for the attachment.
- */
-@property (nonatomic, copy, readonly) NSString *contentType;
-
-/**
- The attachment data.
- */
-@property (nonatomic, strong, readonly) NSData *data;
-
-/**
- The filename for the attachment.
- */
-@property (nonatomic, copy, readonly) NSString *filename;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h
deleted file mode 100644
index fd2e2fff3..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMacros.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#ifdef __cplusplus
-#define FBSDK_EXTERN extern "C" __attribute__((visibility ("default")))
-#else
-#define FBSDK_EXTERN extern __attribute__((visibility ("default")))
-#endif
-
-#define FBSDK_STATIC_INLINE static inline
-
-#define FBSDK_NO_DESIGNATED_INITIALIZER() \
-@throw [NSException exceptionWithName:NSInvalidArgumentException \
- reason:[NSString stringWithFormat:@"unrecognized selector sent to instance %p", self] \
- userInfo:nil]
-
-#define FBSDK_NOT_DESIGNATED_INITIALIZER(DESIGNATED_INITIALIZER) \
-@throw [NSException exceptionWithName:NSInvalidArgumentException \
- reason:[NSString stringWithFormat:@"Please use the designated initializer [%p %@]", \
- self, \
- NSStringFromSelector(@selector(DESIGNATED_INITIALIZER))] \
- userInfo:nil]
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h
deleted file mode 100644
index 1b351dbdf..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-/**
- Extension protocol for NSMutableCopying that adds the mutableCopy method, which is implemented on NSObject.
-
- NSObject implicitly conforms to this protocol.
- */
-@protocol FBSDKMutableCopying
-
-/**
- Implemented by NSObject as a convenience to mutableCopyWithZone:.
- - Returns: A mutable copy of the receiver.
- */
-- (id)mutableCopy;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h
deleted file mode 100644
index 1f33f1689..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfile.h
+++ /dev/null
@@ -1,166 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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 "FBSDKMacros.h"
-#import "FBSDKProfilePictureView.h"
-
-/**
- Notification indicating that the `currentProfile` has changed.
-
- the userInfo dictionary of the notification will contain keys
- `FBSDKProfileChangeOldKey` and
- `FBSDKProfileChangeNewKey`.
- */
-FBSDK_EXTERN NSString *const FBSDKProfileDidChangeNotification;
-
-/* key in notification's userInfo object for getting the old profile.
-
- If there was no old profile, the key will not be present.
- */
-FBSDK_EXTERN NSString *const FBSDKProfileChangeOldKey;
-
-/* key in notification's userInfo object for getting the new profile.
-
- If there is no new profile, the key will not be present.
- */
-FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey;
-
-/**
- Represents an immutable Facebook profile
-
- This class provides a global "currentProfile" instance to more easily
- add social context to your application. When the profile changes, a notification is
- posted so that you can update relevant parts of your UI and is persisted to NSUserDefaults.
-
- Typically, you will want to call `enableUpdatesOnAccessTokenChange:YES` so that
- it automatically observes changes to the `[FBSDKAccessToken currentAccessToken]`.
-
- You can use this class to build your own `FBSDKProfilePictureView` or in place of typical requests to "/me".
- */
-@interface FBSDKProfile : NSObject
-
-/**
- initializes a new instance.
- - Parameter userID: the user ID
- - Parameter firstName: the user's first name
- - Parameter middleName: the user's middle name
- - Parameter lastName: the user's last name
- - Parameter name: the user's complete name
- - Parameter linkURL: the link for this profile
- - Parameter refreshDate: the optional date this profile was fetched. Defaults to [NSDate date].
- */
-- (instancetype)initWithUserID:(NSString *)userID
- firstName:(NSString *)firstName
- middleName:(NSString *)middleName
- lastName:(NSString *)lastName
- name:(NSString *)name
- linkURL:(NSURL *)linkURL
- refreshDate:(NSDate *)refreshDate NS_DESIGNATED_INITIALIZER;
-/**
- The user id
- */
-@property (nonatomic, copy, readonly) NSString *userID;
-/**
- The user's first name
- */
-@property (nonatomic, copy, readonly) NSString *firstName;
-/**
- The user's middle name
- */
-@property (nonatomic, copy, readonly) NSString *middleName;
-/**
- The user's last name
- */
-@property (nonatomic, copy, readonly) NSString *lastName;
-/**
- The user's complete name
- */
-@property (nonatomic, copy, readonly) NSString *name;
-/**
- A URL to the user's profile.
-
- Consider using Bolts and `FBSDKAppLinkResolver` to resolve this
- to an app link to link directly to the user's profile in the Facebook app.
- */
-@property (nonatomic, readonly) NSURL *linkURL;
-
-/**
- The last time the profile data was fetched.
- */
-@property (nonatomic, readonly) NSDate *refreshDate;
-
-/**
- Gets the current FBSDKProfile instance.
- */
-+ (FBSDKProfile *)currentProfile;
-
-/**
- Sets the current instance and posts the appropriate notification if the profile parameter is different
- than the receiver.
- - Parameter profile: the profile to set
-
- This persists the profile to NSUserDefaults.
- */
-+ (void)setCurrentProfile:(FBSDKProfile *)profile;
-
-/**
- Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications
- - Parameter enable: YES is observing
-
- If observing, this class will issue a graph request for public profile data when the current token's userID
- differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated.
-
- Note that if `[FBSDKAccessToken currentAccessToken]` is unset, the `currentProfile` instance remains. It's also possible
- for `currentProfile` to return nil until the data is fetched.
- */
-+ (void)enableUpdatesOnAccessTokenChange:(BOOL)enable;
-
-/**
- Loads the current profile and passes it to the completion block.
- - Parameter completion: The block to be executed once the profile is loaded
-
- If the profile is already loaded, this method will call the completion block synchronously, otherwise it
- will begin a graph request to update `currentProfile` and then call the completion block when finished.
- */
-+ (void)loadCurrentProfileWithCompletion:(void(^)(FBSDKProfile *profile, NSError *error))completion;
-
-/**
- A convenience method for returning a complete `NSURL` for retrieving the user's profile image.
- - Parameter mode: The picture mode
- - Parameter size: The height and width. This will be rounded to integer precision.
- */
-- (NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size;
-
-/**
- A convenience method for returning a Graph API path for retrieving the user's profile image.
-
-- Warning:use `imageURLForPictureMode:size:` instead
-
- You can pass this to a `FBSDKGraphRequest` instance to download the image.
- - Parameter mode: The picture mode
- - Parameter size: The height and width. This will be rounded to integer precision.
- */
-- (NSString *)imagePathForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size
-__attribute__ ((deprecated("use imageURLForPictureMode:size: instead")));
-
-/**
- Returns YES if the profile is equivalent to the receiver.
- - Parameter profile: the profile to compare to.
- */
-- (BOOL)isEqualToProfile:(FBSDKProfile *)profile;
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h
deleted file mode 100644
index aaf9bcaa7..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- FBSDKProfilePictureMode enum
- Defines the aspect ratio mode for the source image of the profile picture.
- */
-typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode)
-{
- /**
- A square cropped version of the image will be included in the view.
- */
- FBSDKProfilePictureModeSquare,
- /**
- The original picture's aspect ratio will be used for the source image in the view.
- */
- FBSDKProfilePictureModeNormal,
-};
-
-/**
- A view to display a profile picture.
- */
-@interface FBSDKProfilePictureView : UIView
-
-/**
- The mode for the receiver to determine the aspect ratio of the source image.
- */
-@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode;
-
-/**
- The profile ID to show the picture for.
- */
-@property (nonatomic, copy) NSString *profileID;
-
-/**
- Explicitly marks the receiver as needing to update the image.
-
- This method is called whenever any properties that affect the source image are modified, but this can also
- be used to trigger a manual update of the image if it needs to be re-downloaded.
- */
-- (void)setNeedsImageUpdate;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
deleted file mode 100644
index 22347b709..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKSettings.h
+++ /dev/null
@@ -1,244 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-/*
- * Constants defining logging behavior. Use with <[FBSDKSettings setLoggingBehavior]>.
- */
-
-/** Include access token in logging. */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAccessTokens;
-
-/** Log performance characteristics */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorPerformanceCharacteristics;
-
-/** Log FBSDKAppEvents interactions */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorAppEvents;
-
-/** Log Informational occurrences */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorInformational;
-
-/** Log cache errors. */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorCacheErrors;
-
-/** Log errors from SDK UI controls */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorUIControlErrors;
-
-/** Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorGraphAPIDebugWarning;
-
-/** Log warnings from API response, i.e. when requested feature will be deprecated in next version of API.
- Info is the lowest level of severity, using it will result in logging all previously mentioned levels.
- */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorGraphAPIDebugInfo;
-
-/** Log errors from SDK network requests */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorNetworkRequests;
-
-/** Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */
-FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors;
-
-@interface FBSDKSettings : NSObject
-
-/**
- Get the Facebook App ID used by the SDK.
-
- If not explicitly set, the default will be read from the application's plist (FacebookAppID).
- */
-+ (NSString *)appID;
-
-/**
- Set the Facebook App ID to be used by the SDK.
- - Parameter appID: The Facebook App ID to be used by the SDK.
- */
-+ (void)setAppID:(NSString *)appID;
-
-/**
- Get the default url scheme suffix used for sessions.
-
- If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix).
- */
-+ (NSString *)appURLSchemeSuffix;
-
-/**
- Set the app url scheme suffix used by the SDK.
- - Parameter appURLSchemeSuffix: The url scheme suffix to be used by the SDK.
- */
-+ (void)setAppURLSchemeSuffix:(NSString *)appURLSchemeSuffix;
-
-/**
- Retrieve the Client Token that has been set via [FBSDKSettings setClientToken].
-
- If not explicitly set, the default will be read from the application's plist (FacebookClientToken).
- */
-+ (NSString *)clientToken;
-
-/**
- Sets the Client Token for the Facebook App.
-
- This is needed for certain API calls when made anonymously, without a user-based access token.
- - Parameter clientToken: The Facebook App's "client token", which, for a given appid can be found in the Security
- section of the Advanced tab of the Facebook App settings found at
- */
-+ (void)setClientToken:(NSString *)clientToken;
-
-/**
- A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set.
- - Parameter disableGraphErrorRecovery: YES or NO.
- */
-+ (void)setGraphErrorRecoveryDisabled:(BOOL)disableGraphErrorRecovery;
-
-/**
- Get the Facebook Display Name used by the SDK.
-
- If not explicitly set, the default will be read from the application's plist (FacebookDisplayName).
- */
-+ (NSString *)displayName;
-
-/**
- Set the default Facebook Display Name to be used by the SDK.
-
- This should match the Display Name that has been set for the app with the corresponding Facebook App ID,
- in the Facebook App Dashboard.
- - Parameter displayName: The Facebook Display Name to be used by the SDK.
- */
-+ (void)setDisplayName:(NSString *)displayName;
-
-/**
- Get the Facebook domain part.
-
- If not explicitly set, the default will be read from the application's plist (FacebookDomainPart).
- */
-+ (NSString *)facebookDomainPart;
-
-/**
- Set the subpart of the Facebook domain.
-
- This can be used to change the Facebook domain (e.g. @"beta") so that requests will be sent to
- graph.beta.facebook.com
- - Parameter facebookDomainPart: The domain part to be inserted into facebook.com.
- */
-+ (void)setFacebookDomainPart:(NSString *)facebookDomainPart;
-
-/**
- The quality of JPEG images sent to Facebook from the SDK.
-
- If not explicitly set, the default is 0.9.
-
-- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
-+ (CGFloat)JPEGCompressionQuality;
-
-/**
- Set the quality of JPEG images sent to Facebook from the SDK.
- - Parameter JPEGCompressionQuality: The quality for JPEG images, expressed as a value from 0.0 to 1.0.
-
-- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */
-+ (void)setJPEGCompressionQuality:(CGFloat)JPEGCompressionQuality;
-
-/**
- Flag which controls the auto logging of basic app events, such as activateApp and deactivateApp.
- If not explicitly set, the default is 1 - true
- */
-+ (NSNumber *)autoLogAppEventsEnabled;
-
-/**
- Set the flag which controls the auto logging of basic app events, such as activateApp and deactivateApp.
- - Parameter AutoLogAppEventsEnabled: Flag value, expressed as a value from 0 - false or 1 - true.
- */
-+ (void)setAutoLogAppEventsEnabled:(NSNumber *)AutoLogAppEventsEnabled;
-
-/**
- Gets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches.
- */
-+ (BOOL)limitEventAndDataUsage;
-
-/**
- Sets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches.
-
- - Parameter limitEventAndDataUsage: The desired value.
- */
-+ (void)setLimitEventAndDataUsage:(BOOL)limitEventAndDataUsage;
-
-/**
- Retrieve the current iOS SDK version.
- */
-+ (NSString *)sdkVersion;
-
-/**
- Retrieve the current Facebook SDK logging behavior.
- */
-+ (NSSet *)loggingBehavior;
-
-/**
- Set the current Facebook SDK logging behavior. This should consist of strings defined as
- constants with FBSDKLoggingBehavior*.
-
- - Parameter loggingBehavior: A set of strings indicating what information should be logged. If nil is provided, the logging
- behavior is reset to the default set of enabled behaviors. Set to an empty set in order to disable all logging.
-
-
- You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLogginBehavior:
- */
-+ (void)setLoggingBehavior:(NSSet *)loggingBehavior;
-
-/**
- Enable a particular Facebook SDK logging behavior.
-
- - Parameter loggingBehavior: The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
- */
-+ (void)enableLoggingBehavior:(NSString *)loggingBehavior;
-
-/**
- Disable a particular Facebook SDK logging behavior.
-
- - Parameter loggingBehavior: The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*.
- */
-+ (void)disableLoggingBehavior:(NSString *)loggingBehavior;
-
-/**
- Set the user defaults key used by legacy token caches.
-
- - Parameter tokenInformationKeyName: the key used by legacy token caches.
-
-
- Use this only if you customized FBSessionTokenCachingStrategy in v3.x of
- the Facebook SDK for iOS.
-*/
-+ (void)setLegacyUserDefaultTokenInformationKeyName:(NSString *)tokenInformationKeyName;
-
-/**
- Get the user defaults key used by legacy token caches.
-*/
-+ (NSString *)legacyUserDefaultTokenInformationKeyName;
-
-/**
- Overrides the default Graph API version to use with `FBSDKGraphRequests`. This overrides `FBSDK_TARGET_PLATFORM_VERSION`.
-
- The string should be of the form `@"v2.7"`.
-*/
-+ (void)setGraphAPIVersion:(NSString *)version;
-
-/**
- Returns the default Graph API version. Defaults to `FBSDK_TARGET_PLATFORM_VERSION`
-*/
-+ (NSString *)graphAPIVersion;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h
deleted file mode 100644
index 3be95297e..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h
+++ /dev/null
@@ -1,101 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-@class FBSDKAccessToken;
-
-/**
-
- Callback block for returning an array of FBSDKAccessToken instances (and possibly `NSNull` instances); or an error.
- */
-typedef void (^FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)(NSArray *tokens, NSError *error) ;
-
-/**
-
- Callback block for removing a test user.
- */
-typedef void (^FBSDKTestUsersManagerRemoveTestAccountHandler)(NSError *error) ;
-
-
-/**
- Provides methods for managing test accounts for testing Facebook integration.
-
-
- Facebook allows developers to create test accounts for testing their applications'
- Facebook integration (see https://developers.facebook.com/docs/test_users/). This class
- simplifies use of these accounts for writing tests. It is not designed for use in
- production application code.
-
- This class will make Graph API calls on behalf of your app to manage test accounts and requires
- an app id and app secret. You will typically use this class to write unit or integration tests.
- Make sure you NEVER include your app secret in your production app.
- */
-@interface FBSDKTestUsersManager : NSObject
-
-/**
- construct or return the shared instance
- - Parameter appID: the Facebook app id
- - Parameter appSecret: the Facebook app secret
- */
-+ (instancetype)sharedInstanceForAppID:(NSString *)appID appSecret:(NSString *)appSecret;
-
-/**
- retrieve FBSDKAccessToken instances for test accounts with the specific permissions.
- - Parameter arraysOfPermissions: an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]]
- if you needed two test accounts with email and birthday permissions, respectively. You can pass in empty nested sets
- if you need two arbitrary test accounts. For convenience, passing nil is treated as @[ [NSSet set] ]
- for fetching a single test user.
- - Parameter createIfNotFound: if YES, new test accounts are created if no test accounts existed that fit the permissions
- requirement
- - Parameter handler: the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`.
- If param `createIfNotFound` is NO, the array may contain `[NSNull null]` instances.
-
-
- If you are requesting test accounts with differing number of permissions, try to order
- `arrayOfPermissionsArrays` so that the most number of permissions come first to minimize creation of new
- test accounts.
- */
-- (void)requestTestAccountTokensWithArraysOfPermissions:(NSArray *)arraysOfPermissions
- createIfNotFound:(BOOL)createIfNotFound
- completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler;
-
-/**
- add a test account with the specified permissions
- - Parameter permissions: the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"]
- - Parameter handler: the callback handler
- */
-- (void)addTestAccountWithPermissions:(NSSet *)permissions
- completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler;
-
-/**
- remove a test account for the given user id
- - Parameter userId: the user id
- - Parameter handler: the callback handler
- */
-- (void)removeTestAccount:(NSString *)userId completionHandler:(FBSDKTestUsersManagerRemoveTestAccountHandler)handler;
-
-/**
- Make two test users friends with each other.
- - Parameter first: the token of the first user
- - Parameter second: the token of the second user
- - Parameter callback: the callback handler
- */
-- (void)makeFriendsWithFirst:(FBSDKAccessToken *)first second:(FBSDKAccessToken *)second callback:(void (^)(NSError *))callback;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
deleted file mode 100644
index 1a240c8f0..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Headers/FBSDKUtility.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- Class to contain common utility methods.
- */
-@interface FBSDKUtility : NSObject
-
-/**
- Parses a query string into a dictionary.
- - Parameter queryString: The query string value.
- - Returns: A dictionary with the key/value pairs.
- */
-+ (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString;
-
-/**
- Constructs a query string from a dictionary.
- - Parameter dictionary: The dictionary with key/value pairs for the query string.
- - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem.
- - Returns: Query string representation of the parameters.
- */
-+ (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef;
-
-/**
- Decodes a value from an URL.
- - Parameter value: The value to decode.
- - Returns: The decoded value.
- */
-+ (NSString *)URLDecode:(NSString *)value;
-
-/**
- Encodes a value for an URL.
- - Parameter value: The value to encode.
- - Returns: The encoded value.
- */
-+ (NSString *)URLEncode:(NSString *)value;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Info.plist b/ParseUI/Vendor/FBSDKCoreKit.framework/Info.plist
deleted file mode 100644
index 36ebe94ad..000000000
Binary files a/ParseUI/Vendor/FBSDKCoreKit.framework/Info.plist and /dev/null differ
diff --git a/ParseUI/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap b/ParseUI/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap
deleted file mode 100644
index bc59c1a82..000000000
--- a/ParseUI/Vendor/FBSDKCoreKit.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FBSDKCoreKit {
- umbrella header "FBSDKCoreKit.h"
-
- export *
- module * { export * }
-}
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit b/ParseUI/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit
deleted file mode 100644
index cdd26e9b9..000000000
Binary files a/ParseUI/Vendor/FBSDKLoginKit.framework/FBSDKLoginKit and /dev/null differ
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
deleted file mode 100644
index adc7b9b09..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h
+++ /dev/null
@@ -1,131 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-#import
-
-#import "FBSDKTooltipView.h"
-
-@protocol FBSDKLoginButtonDelegate;
-
-/**
- NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior)
- Indicates the desired login tooltip behavior.
- */
-typedef NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior)
-{
- /** The default behavior. The tooltip will only be displayed if
- the app is eligible (determined by possible server round trip) */
- FBSDKLoginButtonTooltipBehaviorAutomatic = 0,
- /** Force display of the tooltip (typically for UI testing) */
- FBSDKLoginButtonTooltipBehaviorForceDisplay = 1,
- /** Force disable. In this case you can still exert more refined
- control by manually constructing a `FBSDKLoginTooltipView` instance. */
- FBSDKLoginButtonTooltipBehaviorDisable = 2
-};
-
-/**
- A button that initiates a log in or log out flow upon tapping.
-
- `FBSDKLoginButton` works with `[FBSDKAccessToken currentAccessToken]` to
- determine what to display, and automatically starts authentication when tapped (i.e.,
- you do not need to manually subscribe action targets).
-
- Like `FBSDKLoginManager`, you should make sure your app delegate is connected to
- `FBSDKApplicationDelegate` in order for the button's delegate to receive messages.
-
- `FBSDKLoginButton` has a fixed height of @c 30 pixels, but you may change the width. `initWithFrame:CGRectZero`
- will size the button to its minimum frame.
-*/
-@interface FBSDKLoginButton : FBSDKButton
-
-/**
- The default audience to use, if publish permissions are requested at login time.
- */
-@property (assign, nonatomic) FBSDKDefaultAudience defaultAudience;
-/**
- Gets or sets the delegate.
- */
-@property (weak, nonatomic) IBOutlet id delegate;
-/**
- Gets or sets the login behavior to use
- */
-@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior;
-/**
- The publish permissions to request.
-
-
- Use `defaultAudience` to specify the default audience to publish to.
- Note this is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- */
-@property (copy, nonatomic) NSArray *publishPermissions;
-/**
- The read permissions to request.
-
-
- Note, that if read permissions are specified, then publish permissions should not be specified. This is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- */
-@property (copy, nonatomic) NSArray *readPermissions;
-/**
- Gets or sets the desired tooltip behavior.
- */
-@property (assign, nonatomic) FBSDKLoginButtonTooltipBehavior tooltipBehavior;
-/**
- Gets or sets the desired tooltip color style.
- */
-@property (assign, nonatomic) FBSDKTooltipColorStyle tooltipColorStyle;
-
-@end
-
-/**
- @protocol
- A delegate for `FBSDKLoginButton`
- */
-@protocol FBSDKLoginButtonDelegate
-
-@required
-/**
- Sent to the delegate when the button was used to login.
- - Parameter loginButton: the sender
- - Parameter result: The results of the login
- - Parameter error: The error (if any) from the login
- */
-- (void)loginButton:(FBSDKLoginButton *)loginButton
-didCompleteWithResult:(FBSDKLoginManagerLoginResult *)result
- error:(NSError *)error;
-
-/**
- Sent to the delegate when the button was used to logout.
- - Parameter loginButton: The button that was clicked.
-*/
-- (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton;
-
-@optional
-/**
- Sent to the delegate when the button is about to login.
- - Parameter loginButton: the sender
- - Returns: YES if the login should be allowed to proceed, NO otherwise
- */
-- (BOOL) loginButtonWillLogin:(FBSDKLoginButton *)loginButton;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h
deleted file mode 100644
index 713d79858..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-/**
- The error domain for all errors from FBSDKLoginKit
-
- Error codes from the SDK in the range 300-399 are reserved for this domain.
- */
-FBSDK_EXTERN NSString *const FBSDKLoginErrorDomain;
-
-/**
- NS_ENUM(NSInteger, FBSDKLoginErrorCode)
- Error codes for FBSDKLoginErrorDomain.
- */
-typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode)
-{
- /**
- Reserved.
- */
- FBSDKLoginReservedErrorCode = 300,
- /**
- The error code for unknown errors.
- */
- FBSDKLoginUnknownErrorCode,
-
- /**
- The user's password has changed and must log in again
- */
- FBSDKLoginPasswordChangedErrorCode,
- /**
- The user must log in to their account on www.facebook.com to restore access
- */
- FBSDKLoginUserCheckpointedErrorCode,
- /**
- Indicates a failure to request new permissions because the user has changed.
- */
- FBSDKLoginUserMismatchErrorCode,
- /**
- The user must confirm their account with Facebook before logging in
- */
- FBSDKLoginUnconfirmedUserErrorCode,
-
- /**
- The Accounts framework failed without returning an error, indicating the
- app's slider in the iOS Facebook Settings (device Settings -> Facebook -> App Name) has
- been disabled.
- */
- FBSDKLoginSystemAccountAppDisabledErrorCode,
- /**
- An error occurred related to Facebook system Account store
- */
- FBSDKLoginSystemAccountUnavailableErrorCode,
- /**
- The login response was missing a valid challenge string.
- */
- FBSDKLoginBadChallengeString,
-};
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h
deleted file mode 100644
index 472394001..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-#import
-#import
-#import
-#import
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
deleted file mode 100644
index 5758325cc..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h
+++ /dev/null
@@ -1,208 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-#import
-#import
-
-@class FBSDKLoginManagerLoginResult;
-
-/**
- Describes the call back to the FBSDKLoginManager
- - Parameter result: the result of the authorization
- - Parameter error: the authorization error, if any.
- */
-typedef void (^FBSDKLoginManagerRequestTokenHandler)(FBSDKLoginManagerLoginResult *result, NSError *error);
-
-
-/**
- FBSDKDefaultAudience enum
-
- Passed to open to indicate which default audience to use for sessions that post data to Facebook.
-
-
-
- Certain operations such as publishing a status or publishing a photo require an audience. When the user
- grants an application permission to perform a publish operation, a default audience is selected as the
- publication ceiling for the application. This enumerated value allows the application to select which
- audience to ask the user to grant publish permission for.
- */
-typedef NS_ENUM(NSUInteger, FBSDKDefaultAudience)
-{
- /** Indicates that the user's friends are able to see posts made by the application */
- FBSDKDefaultAudienceFriends = 0,
- /** Indicates that only the user is able to see posts made by the application */
- FBSDKDefaultAudienceOnlyMe,
- /** Indicates that all Facebook users are able to see posts made by the application */
- FBSDKDefaultAudienceEveryone,
-};
-
-/**
- FBSDKLoginBehavior enum
-
- Passed to the \c FBSDKLoginManager to indicate how Facebook Login should be attempted.
-
-
-
- Facebook Login authorizes the application to act on behalf of the user, using the user's
- Facebook account. Usually a Facebook Login will rely on an account maintained outside of
- the application, by the native Facebook application, the browser, or perhaps the device
- itself. This avoids the need for a user to enter their username and password directly, and
- provides the most secure and lowest friction way for a user to authorize the application to
- interact with Facebook.
-
- The \c FBSDKLoginBehavior enum specifies which log-in methods may be used. The SDK
- will determine the best behavior based on the current device (such as iOS version).
- */
-typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior)
-{
- /**
- This is the default behavior, and indicates logging in through the native
- Facebook app may be used. The SDK may still use Safari instead.
- */
- FBSDKLoginBehaviorNative = 0,
- /**
- Attempts log in through the Safari or SFSafariViewController, if available.
- */
- FBSDKLoginBehaviorBrowser,
- /**
- Attempts log in through the Facebook account currently signed in through
- the device Settings.
- @note If the account is not available to the app (either not configured by user or
- as determined by the SDK) this behavior falls back to \c FBSDKLoginBehaviorNative.
- */
- FBSDKLoginBehaviorSystemAccount,
- /**
- Attempts log in through a modal \c UIWebView pop up
-
- @note This behavior is only available to certain types of apps. Please check the Facebook
- Platform Policy to verify your app meets the restrictions.
- */
- FBSDKLoginBehaviorWeb,
-};
-
-/**
- `FBSDKLoginManager` provides methods for logging the user in and out.
-
- `FBSDKLoginManager` works directly with `[FBSDKAccessToken currentAccessToken]` and
- sets the "currentAccessToken" upon successful authorizations (or sets `nil` in case of `logOut`).
-
- You should check `[FBSDKAccessToken currentAccessToken]` before calling logIn* to see if there is
- a cached token available (typically in your viewDidLoad).
-
- If you are managing your own token instances outside of "currentAccessToken", you will need to set
- "currentAccessToken" before calling logIn* to authorize further permissions on your tokens.
- */
-@interface FBSDKLoginManager : NSObject
-
-/**
- the default audience.
-
- you should set this if you intend to ask for publish permissions.
- */
-@property (assign, nonatomic) FBSDKDefaultAudience defaultAudience;
-
-/**
- the login behavior
- */
-@property (assign, nonatomic) FBSDKLoginBehavior loginBehavior;
-
-/**
-
-- Warning:use logInWithReadPermissions:fromViewController:handler: instead
- */
-- (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
-__attribute__ ((deprecated("use logInWithReadPermissions:fromViewController:handler: instead")));
-
-/**
-
-- Warning:use logInWithPublishPermissions:fromViewController:handler: instead
- */
-- (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler
-__attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:handler: instead")));
-
-/**
- Logs the user in or authorizes additional permissions.
- - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be
- automatically determined as best as possible.
- - Parameter handler: the callback.
-
- Use this method when asking for read permissions. You should only ask for permissions when they
- are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
- provide more information to the user if they decline permissions.
-
- This method will present UI the user. You typically should check if `[FBSDKAccessToken currentAccessToken]`
- already contains the permissions you need before asking to reduce unnecessary app switching. For example,
- you could make that check at viewDidLoad.
- You can only do one login call at a time. Calling a login method before the completion handler is called
- on a previous login will return an error.
- */
-- (void)logInWithReadPermissions:(NSArray *)permissions
- fromViewController:(UIViewController *)fromViewController
- handler:(FBSDKLoginManagerRequestTokenHandler)handler;
-
-/**
- Logs the user in or authorizes additional permissions.
- - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only
- an NSArray for the convenience of literal syntax.
- - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be
- automatically determined as best as possible.
- - Parameter handler: the callback.
-
- Use this method when asking for publish permissions. You should only ask for permissions when they
- are needed and explain the value to the user. You can inspect the result.declinedPermissions to also
- provide more information to the user if they decline permissions.
-
- This method will present UI the user. You typically should check if `[FBSDKAccessToken currentAccessToken]`
- already contains the permissions you need before asking to reduce unnecessary app switching. For example,
- you could make that check at viewDidLoad.
- You can only do one login call at a time. Calling a login method before the completion handler is called
- on a previous login will return an error.
- */
-- (void)logInWithPublishPermissions:(NSArray *)permissions
- fromViewController:(UIViewController *)fromViewController
- handler:(FBSDKLoginManagerRequestTokenHandler)handler;
-
-/**
- Logs the user out
-
- This calls [FBSDKAccessToken setCurrentAccessToken:nil] and [FBSDKProfile setCurrentProfile:nil].
- */
-- (void)logOut;
-
-/**
- @method
-
- Issues an asynchronous renewCredentialsForAccount call to the device's Facebook account store.
-
- - Parameter handler: The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread.
-
-
- This can be used to explicitly renew account credentials and is provided as a convenience wrapper around
- `[ACAccountStore renewCredentialsForAccount:completion]`. Note the method will not issue the renewal call if the the
- Facebook account has not been set on the device, or if access had not been granted to the account (though the handler
- wil receive an error).
-
- If the `[FBSDKAccessToken currentAccessToken]` was from the account store, a succesful renewal will also set
- a new "currentAccessToken".
- */
-+ (void)renewSystemCredentials:(void (^)(ACAccountCredentialRenewResult result, NSError *error))handler;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h
deleted file mode 100644
index 6148a0754..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-@class FBSDKAccessToken;
-
-/**
- Describes the result of a login attempt.
- */
-@interface FBSDKLoginManagerLoginResult : NSObject
-
-/**
- the access token.
- */
-@property (copy, nonatomic) FBSDKAccessToken *token;
-
-/**
- whether the login was cancelled by the user.
- */
-@property (readonly, nonatomic) BOOL isCancelled;
-
-/**
- the set of permissions granted by the user in the associated request.
-
- inspect the token's permissions set for a complete list.
- */
-@property (copy, nonatomic) NSSet *grantedPermissions;
-
-/**
- the set of permissions declined by the user in the associated request.
-
- inspect the token's permissions set for a complete list.
- */
-@property (copy, nonatomic) NSSet *declinedPermissions;
-
-/**
- Initializes a new instance.
- - Parameter token: the access token
- - Parameter isCancelled: whether the login was cancelled by the user
- - Parameter grantedPermissions: the set of granted permissions
- - Parameter declinedPermissions: the set of declined permissions
- */
-- (instancetype)initWithToken:(FBSDKAccessToken *)token
- isCancelled:(BOOL)isCancelled
- grantedPermissions:(NSSet *)grantedPermissions
- declinedPermissions:(NSSet *)declinedPermissions
-NS_DESIGNATED_INITIALIZER;
-@end
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h
deleted file mode 100644
index ad2c9d504..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-#import
-
-@protocol FBSDKLoginTooltipViewDelegate;
-
-/**
-
- Represents a tooltip to be displayed next to a Facebook login button
- to highlight features for new users.
-
-
- The `FBSDKLoginButton` may display this view automatically. If you do
- not use the `FBSDKLoginButton`, you can manually call one of the `present*` methods
- as appropriate and customize behavior via `FBSDKLoginTooltipViewDelegate` delegate.
-
- By default, the `FBSDKLoginTooltipView` is not added to the superview until it is
- determined the app has migrated to the new login experience. You can override this
- (e.g., to test the UI layout) by implementing the delegate or setting `forceDisplay` to YES.
-
- */
-@interface FBSDKLoginTooltipView : FBSDKTooltipView
-
-/** the delegate */
-@property (nonatomic, weak) id delegate;
-
-/** if set to YES, the view will always be displayed and the delegate's
- `loginTooltipView:shouldAppear:` will NOT be called. */
-@property (nonatomic, assign) BOOL forceDisplay;
-
-@end
-
-/**
- @protocol
-
- The `FBSDKLoginTooltipViewDelegate` protocol defines the methods used to receive event
- notifications from `FBSDKLoginTooltipView` objects.
- */
-@protocol FBSDKLoginTooltipViewDelegate
-
-@optional
-
-/**
- Asks the delegate if the tooltip view should appear
-
- - Parameter view: The tooltip view.
- - Parameter appIsEligible: The value fetched from the server identifying if the app
- is eligible for the new login experience.
-
-
- Use this method to customize display behavior.
- */
-- (BOOL)loginTooltipView:(FBSDKLoginTooltipView *)view shouldAppear:(BOOL)appIsEligible;
-
-/**
- Tells the delegate the tooltip view will appear, specifically after it's been
- added to the super view but before the fade in animation.
-
- - Parameter view: The tooltip view.
- */
-- (void)loginTooltipViewWillAppear:(FBSDKLoginTooltipView *)view;
-
-/**
- Tells the delegate the tooltip view will not appear (i.e., was not
- added to the super view).
-
- - Parameter view: The tooltip view.
- */
-- (void)loginTooltipViewWillNotAppear:(FBSDKLoginTooltipView *)view;
-
-
-@end
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
deleted file mode 100644
index 604c840c8..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
+++ /dev/null
@@ -1,136 +0,0 @@
-// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
-//
-// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
-// copy, modify, and distribute this software in source code or binary form for use
-// in connection with the web services and APIs provided by Facebook.
-//
-// As with any software that integrates with the Facebook platform, your use of
-// this software is subject to the Facebook Developer Principles and Policies
-// [http://developers.facebook.com/policy/]. This copyright notice shall be
-// included in all copies or substantial portions of the software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-// 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
-
-/**
- FBSDKTooltipViewArrowDirection enum
-
- Passed on construction to determine arrow orientation.
- */
-typedef NS_ENUM(NSUInteger, FBSDKTooltipViewArrowDirection)
-{
- /** View is located above given point, arrow is pointing down. */
- FBSDKTooltipViewArrowDirectionDown = 0,
- /** View is located below given point, arrow is pointing up. */
- FBSDKTooltipViewArrowDirectionUp = 1,
-};
-
-/**
- FBSDKTooltipColorStyle enum
-
- Passed on construction to determine color styling.
- */
-typedef NS_ENUM(NSUInteger, FBSDKTooltipColorStyle)
-{
- /** Light blue background, white text, faded blue close button. */
- FBSDKTooltipColorStyleFriendlyBlue = 0,
- /** Dark gray background, white text, light gray close button. */
- FBSDKTooltipColorStyleNeutralGray = 1,
-};
-
-/**
-
- Tooltip bubble with text in it used to display tips for UI elements,
- with a pointed arrow (to refer to the UI element).
-
-
-
- The tooltip fades in and will automatically fade out. See `displayDuration`.
- */
-@interface FBSDKTooltipView : UIView
-
-/**
- Gets or sets the amount of time in seconds the tooltip should be displayed.
- Set this to zero to make the display permanent until explicitly dismissed.
- Defaults to six seconds.
- */
-@property (nonatomic, assign) CFTimeInterval displayDuration;
-
-/**
- Gets or sets the color style after initialization.
- Defaults to value passed to -initWithTagline:message:colorStyle:.
- */
-@property (nonatomic, assign) FBSDKTooltipColorStyle colorStyle;
-
-/**
- Gets or sets the message.
- */
-@property (nonatomic, copy) NSString *message;
-
-/**
- Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently).
- */
-@property (nonatomic, copy) NSString *tagline;
-
-/**
- Designated initializer.
-
- - Parameter tagline: First part of the label, that will be highlighted with different color. Can be nil.
-
- - Parameter message: Main message to display.
-
- - Parameter colorStyle: Color style to use for tooltip.
-
-
-
- If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view.
-
-
-- See:FBSDKLoginTooltipView
- */
-- (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle;
-
-/**
- Show tooltip at the top or at the bottom of given view.
- Tooltip will be added to anchorView.window.rootViewController.view
-
- - Parameter anchorView: view to show at, must be already added to window view hierarchy, in order to decide
- where tooltip will be shown. (If there's not enough space at the top of the anchorView in window bounds -
- tooltip will be shown at the bottom of it)
-
-
-
- Use this method to present the tooltip with automatic positioning or
- use -presentInView:withArrowPosition:direction: for manual positioning
- If anchorView is nil or has no window - this method does nothing.
- */
-- (void)presentFromView:(UIView *)anchorView;
-
-/**
- Adds tooltip to given view, with given position and arrow direction.
-
- - Parameter view: View to be used as superview.
-
- - Parameter arrowPosition: Point in view's cordinates, where arrow will be pointing
-
- - Parameter arrowDirection: whenever arrow should be pointing up (message bubble is below the arrow) or
- down (message bubble is above the arrow).
- */
-- (void)presentInView:(UIView *)view withArrowPosition:(CGPoint)arrowPosition direction:(FBSDKTooltipViewArrowDirection)arrowDirection;
-
-/**
- Remove tooltip manually.
-
-
-
- Calling this method isn't necessary - tooltip will dismiss itself automatically after the `displayDuration`.
- */
-- (void)dismiss;
-
-@end
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Info.plist b/ParseUI/Vendor/FBSDKLoginKit.framework/Info.plist
deleted file mode 100644
index bb8c3706d..000000000
Binary files a/ParseUI/Vendor/FBSDKLoginKit.framework/Info.plist and /dev/null differ
diff --git a/ParseUI/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap b/ParseUI/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap
deleted file mode 100644
index 4b1d57bd3..000000000
--- a/ParseUI/Vendor/FBSDKLoginKit.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module FBSDKLoginKit {
- umbrella header "FBSDKLoginKit.h"
-
- export *
- module * { export * }
-}
diff --git a/Rakefile b/Rakefile
index be601b3e5..7bf9f3c82 100644
--- a/Rakefile
+++ b/Rakefile
@@ -165,14 +165,14 @@ namespace :build do
t.scheme = 'ParseFacebookUtilsV4-iOS'
t.configuration = 'Release'
end
-
+
result = task.execute
unless result
puts 'Failed to build iOS FacebookUtils Framework.'
exit(1)
end
end
-
+
desc 'Build tvOS FacebookUtils framework.'
task :tvos do
task = XCTask::BuildFrameworkTask.new do |t|
@@ -204,10 +204,10 @@ namespace :build do
t.scheme = 'ParseTwitterUtils-iOS'
t.configuration = 'Release'
end
-
+
result = task.execute
unless result
- puts 'Failed to build iOS FacebookUtils Framework.'
+ puts 'Failed to build iOS TwitterUtils Framework.'
exit(1)
end
end
@@ -243,11 +243,11 @@ namespace :build do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build ParseUI Demo.'
@@ -266,11 +266,11 @@ namespace :build do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build iOS ParseUI Swift Demo.'
@@ -328,7 +328,7 @@ namespace :package do
make_package(release_folder,
[ios_framework_path, bolts_path],
package_ios_name)
-
+
## Build tvOS Framework
Rake::Task['build:tvos'].invoke
bolts_path = File.join(bolts_build_folder, 'tvOS', 'Bolts.framework')
@@ -336,7 +336,7 @@ namespace :package do
make_package(release_folder,
[tvos_framework_path, bolts_path],
package_tvos_name)
-
+
## Build watchOS Framework
Rake::Task['build:watchos'].invoke
bolts_path = File.join(bolts_build_folder, 'watchOS', 'Bolts.framework')
@@ -344,11 +344,11 @@ namespace :package do
make_package(release_folder,
[watchos_framework_path, bolts_path],
package_watchos_name)
-
+
Rake::Task['build:facebook_utils:ios'].invoke
ios_fb_utils_framework_path = File.join(build_folder, 'iOS', 'ParseFacebookUtilsV4.framework')
make_package(release_folder, [ios_fb_utils_framework_path], 'ParseFacebookUtils-iOS.zip')
-
+
Rake::Task['build:twitter_utils:ios'].invoke
ios_tw_utils_framework_path = File.join(build_folder, 'iOS', 'ParseTwitterUtils.framework')
make_package(release_folder, [ios_tw_utils_framework_path], 'ParseTwitterUtils-iOS.zip')
@@ -516,11 +516,11 @@ namespace :test do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::TEST]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build iOS FacebookUtils Framework.'
@@ -542,11 +542,11 @@ namespace :test do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::TEST]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build iOS FacebookUtils Framework.'
@@ -556,11 +556,11 @@ namespace :test do
end
namespace :parseui do
- task :all do
+ task :all do
Rake::Task['test:parseui:framework'].invoke
Rake::Task['test:parseui:demo_objc'].invoke
end
-
+
task :framework do
task = XCTask::BuildTask.new do |t|
t.directory = script_folder
@@ -570,7 +570,7 @@ namespace :test do
t.sdk = 'iphonesimulator'
t.destinations = ["\"platform=iOS Simulator,OS=12.2,name=iPhone X\"",]
t.configuration = 'Debug'
-
+
t.actions = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
@@ -593,11 +593,11 @@ namespace :test do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build ParseUI Demo.'
@@ -616,11 +616,11 @@ namespace :test do
t.configuration = 'Debug'
t.additional_options = { "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS" => "YES",
"GCC_GENERATE_TEST_COVERAGE_FILES" => "YES" }
-
+
t.actions = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD]
t.formatter = XCTask::BuildFormatter::XCPRETTY
end
-
+
result = task.execute
unless result
puts 'Failed to build iOS ParseUI Swift Demo.'
@@ -729,4 +729,4 @@ namespace :test do
exit(1)
end
end
-end
\ No newline at end of file
+end
diff --git a/Scripts/build_third_party.rb b/Scripts/build_third_party.rb
index c4319c34e..507b7078d 100755
--- a/Scripts/build_third_party.rb
+++ b/Scripts/build_third_party.rb
@@ -14,7 +14,7 @@
if framework_path.nil? || build_script.nil?
puts "Use this script to build a third party framework for iOS/OSX."
puts "It is intended to support building Bolts.framework and FacebookSDK.framework"
- puts "Usage: 'build_third_party.sh "
+ puts "Usage: 'build_third_party.rb "
exit(1)
end
diff --git a/Vendor/xctoolchain b/Vendor/xctoolchain
index 1131699c5..690787abf 160000
--- a/Vendor/xctoolchain
+++ b/Vendor/xctoolchain
@@ -1 +1 @@
-Subproject commit 1131699c5e6faa94692d4c1f4e983242ba726111
+Subproject commit 690787abfa21eea11095adf662f6e71154b3b0c8