Skip to content

Commit a4eaa6a

Browse files
author
Edward Smith
committed
Ignore SafariViewController availability in the TestBed example.
1 parent 4f2cde1 commit a4eaa6a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Branch-TestBed/Branch-TestBed.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@
12941294
GCC_PRECOMPILE_PREFIX_HEADER = YES;
12951295
GCC_PREFIX_HEADER = "Branch-TestBed/Branch-TestBed-Prefix.pch";
12961296
INFOPLIST_FILE = "Branch-TestBed/Branch-TestBed-Info.plist";
1297-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1297+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
12981298
PRODUCT_BUNDLE_IDENTIFIER = "io.branch.sdk.Branch-TestBed";
12991299
PRODUCT_NAME = "$(TARGET_NAME)";
13001300
PROVISIONING_PROFILE = "";
@@ -1315,7 +1315,7 @@
13151315
GCC_PRECOMPILE_PREFIX_HEADER = YES;
13161316
GCC_PREFIX_HEADER = "Branch-TestBed/Branch-TestBed-Prefix.pch";
13171317
INFOPLIST_FILE = "Branch-TestBed/Branch-TestBed-Info.plist";
1318-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1318+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
13191319
PRODUCT_BUNDLE_IDENTIFIER = "io.branch.sdk.Branch-TestBed";
13201320
PRODUCT_NAME = "$(TARGET_NAME)";
13211321
PROVISIONING_PROFILE = "";

Branch-TestBed/Branch-TestBed/AppDelegate.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#import "BNCEncodingUtils.h"
1616
@import SafariServices;
1717

18+
// Ignore Safari availability for iOS 8 and lower in this example.
19+
#pragma clang diagnostic ignored "-Wpartial-availability"
20+
1821
@interface AppDelegate() <SFSafariViewControllerDelegate>
1922
@property (nonatomic, strong) SFSafariViewController *onboardingVC;
2023
@end

0 commit comments

Comments
 (0)