Skip to content

Commit c135c90

Browse files
author
Edward Smith
committed
Version 0.24.2. Updated some tests.
1 parent da96d6a commit c135c90

File tree

10 files changed

+37
-35
lines changed

10 files changed

+37
-35
lines changed

Branch-SDK/Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
BOOL const BNC_API_PINNED = YES;
1313
NSString * const BNC_API_VERSION = @"v1";
1414
NSString * const BNC_LINK_URL = @"https://bnc.lt";
15-
NSString * const BNC_SDK_VERSION = @"0.24.1";
15+
NSString * const BNC_SDK_VERSION = @"0.24.2";

Branch-TestBed/Branch-SDK-Tests/BNCKeyChain.Test.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ - (void)testKeyChain {
2828

2929
error = [BNCKeyChain removeValuesForService:nil key:nil];
3030
if (systemVersion >= 10.0 && systemVersion < 11.0)
31-
{ XCTAssertTrue(error.code == -34018); }
31+
{ XCTAssertTrue(error == nil || error.code == -34018); }
3232
else
3333
{ XCTAssertTrue(error == nil); }
3434

Branch-TestBed/Framework-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.24.1</string>
20+
<string>0.24.2</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.24.1</string>
24+
<string>0.24.2</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSHumanReadableCopyright</key>

Branch.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Branch"
3-
s.version = "0.24.1"
3+
s.version = "0.24.2"
44
s.summary = "Create an HTTP URL for any piece of content in your app"
55
s.description = <<-DESC
66
- Want the highest possible conversions on your sharing feature?

ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Branch iOS SDK Change Log
22

33
- v0.24.2
4-
* _*Master Release*_ - April 20, 2018
4+
* _*Master Release*_ - April 21, 2018
55
* Fixed a bug where a opening a blacklisted URI scheme would cause an HTTP status 400 for each
66
Branch open until the app was opened with a universal link (DEVEX-341).
77
- After opening a blacklisted scheme, the app would not open other schemes until a https URL was opened.
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- Branch (0.24.0):
3-
- Branch/Core (= 0.24.0)
4-
- Branch/Core (0.24.0)
2+
- Branch (0.24.1):
3+
- Branch/Core (= 0.24.1)
4+
- Branch/Core (0.24.1)
55
- Cartography (3.0.1)
66
- MBProgressHUD (1.1.0)
77

@@ -10,15 +10,20 @@ DEPENDENCIES:
1010
- Cartography
1111
- MBProgressHUD
1212

13+
SPEC REPOS:
14+
https://github.com/CocoaPods/Specs.git:
15+
- Cartography
16+
- MBProgressHUD
17+
1318
EXTERNAL SOURCES:
1419
Branch:
15-
:path: ../..
20+
:path: "../.."
1621

1722
SPEC CHECKSUMS:
18-
Branch: b4e9cfd1d75e230df3d4fb8d738b290c94e7a576
23+
Branch: 1bc7254a71cc47d2a9edccfb6a308c11e6a8e7af
1924
Cartography: f8c899bb0f5cf20758644a8eea59a75e98a03a5d
2025
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
2126

2227
PODFILE CHECKSUM: 11c87f21f32687c987839149b04678394af64cd8
2328

24-
COCOAPODS: 1.4.0
29+
COCOAPODS: 1.5.0

Examples/WebViewExample/WebViewExample.xcodeproj/project.pbxproj

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180
7B3B977D1E8C1B650089C04B /* Frameworks */,
181181
7B3B977E1E8C1B650089C04B /* Resources */,
182182
B83EB663911AC8B2CA5E28B1 /* [CP] Embed Pods Frameworks */,
183-
DF74DA356D0CBFBBC39E6377 /* [CP] Copy Pods Resources */,
184183
);
185184
buildRules = (
186185
);
@@ -287,21 +286,6 @@
287286
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
288287
showEnvVarsInLog = 0;
289288
};
290-
DF74DA356D0CBFBBC39E6377 /* [CP] Copy Pods Resources */ = {
291-
isa = PBXShellScriptBuildPhase;
292-
buildActionMask = 2147483647;
293-
files = (
294-
);
295-
inputPaths = (
296-
);
297-
name = "[CP] Copy Pods Resources";
298-
outputPaths = (
299-
);
300-
runOnlyForDeploymentPostprocessing = 0;
301-
shellPath = /bin/sh;
302-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WebViewExample/Pods-WebViewExample-resources.sh\"\n";
303-
showEnvVarsInLog = 0;
304-
};
305289
/* End PBXShellScriptBuildPhase section */
306290

307291
/* Begin PBXSourcesBuildPhase section */

carthage-files/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.24.1</string>
18+
<string>0.24.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>0.24.1</string>
22+
<string>0.24.2</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

scripts/test-unit-tests

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ stressTest=0
4343
# stressPhone="iPhone 4s"
4444
# stressOS="8.3"
4545
stressPhone="iPhone 7 Plus"
46-
stressOS="latest"
46+
if [ "$(xcodebuild -version | head -n1)" = "Xcode 9.3" ]
47+
then
48+
stressOS="latest"
49+
else
50+
stressOS="10.3.1"
51+
fi
4752

4853
function testSimulatorStress() {
4954
if (( $stressTest == 0 )); then
@@ -93,15 +98,23 @@ fi
9398

9499
cleanAll
95100
analyzeBuild
101+
printf "${textBlue}Running stress test with $stressPhone $stressOS.${textNormal}\n"
96102
for i in {1..5}
97103
do
98104
testSimulatorStress
99105
done
100-
testSimulatorVersion "iPhone X" latest
101-
testSimulatorVersion "iPhone SE" latest
106+
if [ "$(xcodebuild -version | head -n1)" = "Xcode 9.3" ]
107+
then
108+
testSimulatorVersion "iPhone X" latest
109+
fi
110+
testSimulatorVersion "iPhone SE" "$stressOS"
102111
testSimulatorVersion "iPhone 6s" 10.0
103112
testSimulatorVersion "iPhone 5" 9.3
104-
testSimulatorVersion "iPhone 4s" 8.4
113+
# xctest doesn't work for iOS 8.4 in Xcode 9.3. Bummer.
114+
if [ "$(xcodebuild -version | head -n1)" != "Xcode 9.3" ]
115+
then
116+
testSimulatorVersion "iPhone 4s" 8.4
117+
fi
105118

106119
elapsed=$(date -jur$SECONDS +%H:%M:%S)
107120
printf "${textBlue}All tests completed successfully. Elapsed: %s.${textNormal}\n" "$elapsed"

scripts/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Options:
3131
USAGE
3232
}
3333

34-
version=0.24.1
34+
version=0.24.2
3535

3636
if (( $# == 0 )); then
3737
echo $version

0 commit comments

Comments
 (0)