Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed55b19

Browse files
authored
PubNub SDK 4.7.8 Release (#371)
* . replaced fastlane with custom build script * . test matrix env variables re-configuration * . updated travis file to reduce number of destinations and use latest OS versions * ^ added listeners collection access serialization on queue to prevent access to property during non-atomic store (CE-3232) (#370) * . suppressed implicit _self_ from blocks
1 parent 85d7b28 commit ed55b19

22 files changed

Lines changed: 154 additions & 193 deletions

File tree

.pubnub.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
---
22
name: objective-c
33
scm: github.com/pubnub/objective-c
4-
version: "4.7.7"
4+
version: "4.7.8"
55
schema: 1
66
changelog:
7+
-
8+
changes:
9+
-
10+
text: "Added listeners collection access serialization on queue to prevent access to property during non-atomic store"
11+
type: bug
12+
-
13+
text: "Silenced implicit self usage in blocks."
14+
type: improvement
15+
date: May 7, 18
16+
version: v4.7.8
717
-
818
changes:
919
-

.travis.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: objective-c
22
sudo: true
3-
osx_image: xcode9.2
3+
osx_image: xcode9.3
44
cache:
55
- bundler
66
- cocoapods
@@ -10,29 +10,22 @@ env:
1010
global:
1111
- LC_CTYPE=en_US.UTF-8
1212
- LANG=en_US.UTF-8
13-
addons:
14-
srcclr: true
15-
13+
1614
matrix:
1715
include:
18-
- env: NAME="[ObjC] iOS 9.3 32bit" FASTLANE_LANE=test_ios FASTLANE_ENV=ios93x32 PN_TEST_LANG="ObjC"
19-
- env: NAME="[ObjC] iOS 9.3 64bit" FASTLANE_LANE=test_ios FASTLANE_ENV=ios93x64 PN_TEST_LANG="ObjC"
20-
- env: NAME="[ObjC] iOS 10.2 64bit" FASTLANE_LANE=test_ios FASTLANE_ENV=ios102x64 PN_TEST_LANG="ObjC"
21-
- env: NAME="[ObjC] tvOS 9.2" FASTLANE_LANE=test_tvos FASTLANE_ENV=tvos92 PN_TEST_LANG="ObjC"
22-
- env: NAME="[ObjC] tvOS 10.1" FASTLANE_LANE=test_tvos FASTLANE_ENV=tvos101 PN_TEST_LANG="ObjC"
23-
- env: NAME="[ObjC] macOS" FASTLANE_LANE=test_macos FASTLANE_ENV=macos PN_TEST_LANG="ObjC"
16+
- env: NAME='[ObjC] iOS' SCHEME='iOS Tests (ObjC)' DESTINATION='platform=iOS Simulator,name=iPhone 7 Plus,OS=11.3'
17+
- env: NAME='[ObjC] tvOS' SCHEME='tvOS Tests (ObjC)' DESTINATION='platform=tvOS Simulator,name=Apple TV 4K (at 1080p),OS=11.3'
18+
- env: NAME='[ObjC] macOS' SCHEME='OSX Tests (ObjC)' DESTINATION='platform=macOS'
2419

2520
before_install:
26-
- sudo gem install cocoapods -v '1.3.1'
27-
- sudo gem install fastlane -NV
21+
- sudo gem install cocoapods -v '1.5.0'
22+
- sudo gem install xcpretty
23+
- sudo gem install xcpretty-travis-formatter
2824

2925
script:
30-
- set -o pipefail
31-
- fastlane $FASTLANE_LANE configuration:Release language:$PN_TEST_LANG --env $FASTLANE_ENV
26+
- set -o pipefail && xcodebuild -workspace ./PubNub.xcworkspace -scheme "${SCHEME}" -destination "${DESTINATION}" clean build test | xcpretty -f `xcpretty-travis-formatter`
3227

3328
after_failure:
34-
- cat -n fastlane/report.xml
35-
- cat -n ~/Library/Logs/scan/*
3629
- cat -n $TMPDIR/com.apple.dt.XCTest-status/Session*.log
3730
- cat -n ~/Library/Logs/DiagnosticReports/xctest*.crash
3831

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
07-05-2017 - 545935b - 4.7.8
2+
. added listeners collection access serialization on queue to prevent access to property during non-atomic store.
3+
. silenced implicit self usage in blocks.
4+
15
14-02-2018 - 0e9968f - 4.7.7
26
. fixed issue because of which channel(s) and/or group(s) wasn't able to maintain user's presence with heartbeat.
37
. fixed log file attributes to prevent their backup locally or to iCloud.

Example/PubNub Example.xcodeproj/project.pbxproj

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@
207207
511725D11BE92F7B008F069E /* Frameworks */,
208208
511725D21BE92F7B008F069E /* Resources */,
209209
C72A9617749671FFC3BCD85C /* [CP] Embed Pods Frameworks */,
210-
5B561DF6CFA772D41AB7AF40 /* [CP] Copy Pods Resources */,
211210
);
212211
buildRules = (
213212
);
@@ -227,7 +226,6 @@
227226
6003F587195388D20070C39A /* Frameworks */,
228227
6003F588195388D20070C39A /* Resources */,
229228
C2AC181EE46AADCD5FA2C23A /* [CP] Embed Pods Frameworks */,
230-
24C18AFFE7BD46CBB740BFDA /* [CP] Copy Pods Resources */,
231229
);
232230
buildRules = (
233231
);
@@ -301,21 +299,6 @@
301299
/* End PBXResourcesBuildPhase section */
302300

303301
/* Begin PBXShellScriptBuildPhase section */
304-
24C18AFFE7BD46CBB740BFDA /* [CP] Copy Pods Resources */ = {
305-
isa = PBXShellScriptBuildPhase;
306-
buildActionMask = 2147483647;
307-
files = (
308-
);
309-
inputPaths = (
310-
);
311-
name = "[CP] Copy Pods Resources";
312-
outputPaths = (
313-
);
314-
runOnlyForDeploymentPostprocessing = 0;
315-
shellPath = /bin/sh;
316-
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-PubNub_Example/Pods-PubNub_Example-resources.sh\"\n";
317-
showEnvVarsInLog = 0;
318-
};
319302
33E53E38A0578CD78050A7F4 /* [CP] Check Pods Manifest.lock */ = {
320303
isa = PBXShellScriptBuildPhase;
321304
buildActionMask = 2147483647;
@@ -334,21 +317,6 @@
334317
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";
335318
showEnvVarsInLog = 0;
336319
};
337-
5B561DF6CFA772D41AB7AF40 /* [CP] Copy Pods Resources */ = {
338-
isa = PBXShellScriptBuildPhase;
339-
buildActionMask = 2147483647;
340-
files = (
341-
);
342-
inputPaths = (
343-
);
344-
name = "[CP] Copy Pods Resources";
345-
outputPaths = (
346-
);
347-
runOnlyForDeploymentPostprocessing = 0;
348-
shellPath = /bin/sh;
349-
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-PubNub Mac Example/Pods-PubNub Mac Example-resources.sh\"\n";
350-
showEnvVarsInLog = 0;
351-
};
352320
75CCA5F7F989D174E95F5E53 /* [CP] Check Pods Manifest.lock */ = {
353321
isa = PBXShellScriptBuildPhase;
354322
buildActionMask = 2147483647;

Framework/PubNub Framework.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5056,6 +5056,7 @@
50565056
CLANG_WARN_ENUM_CONVERSION = YES;
50575057
CLANG_WARN_INFINITE_RECURSION = YES;
50585058
CLANG_WARN_INT_CONVERSION = YES;
5059+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
50595060
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
50605061
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
50615062
CLANG_WARN_STRICT_PROTOTYPES = YES;
@@ -5108,6 +5109,7 @@
51085109
CLANG_WARN_ENUM_CONVERSION = YES;
51095110
CLANG_WARN_INFINITE_RECURSION = YES;
51105111
CLANG_WARN_INT_CONVERSION = YES;
5112+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
51115113
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
51125114
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
51135115
CLANG_WARN_STRICT_PROTOTYPES = YES;

Framework/PubNub/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>PubNub</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>4.7.7</string>
10+
<string>4.7.8</string>
1111
<key>CFBundleIdentifier</key>
1212
<string>com.pubnub.pubnub-objc</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.7.7</string>
20+
<string>4.7.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>4.7.7</string>
24+
<string>4.7.8</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>© 2010 - 2018 PubNub, Inc.</string>
2727
<key>NSPrincipalClass</key>

Framework/PubNub/PubNub-Fabric-Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>PubNub</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>4.7.7</string>
10+
<string>4.7.8</string>
1111
<key>CFBundleIdentifier</key>
1212
<string>com.pubnub.pubnub-objc</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.7.7</string>
20+
<string>4.7.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>4.7.7</string>
24+
<string>4.7.8</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>© 2010 - 2018 PubNub, Inc.</string>
2727
<key>NSPrincipalClass</key>

Framework/PubNub/PubNub-iOS-Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>PubNub</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>4.7.7</string>
10+
<string>4.7.8</string>
1111
<key>CFBundleIdentifier</key>
1212
<string>com.pubnub.pubnub-objc</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.7.7</string>
20+
<string>4.7.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>4.7.7</string>
24+
<string>4.7.8</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>© 2010 - 2018 PubNub, Inc.</string>
2727
<key>NSPrincipalClass</key>

Framework/PubNub/PubNub-tvOS-Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>PubNub</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>4.7.7</string>
10+
<string>4.7.8</string>
1111
<key>CFBundleIdentifier</key>
1212
<string>com.pubnub.pubnub-objc</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.7.7</string>
20+
<string>4.7.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>4.7.7</string>
24+
<string>4.7.8</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>© 2010 - 2018 PubNub, Inc.</string>
2727
<key>NSPrincipalClass</key>

Framework/PubNub/PubNub-watchOS-Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>PubNub</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>4.7.7</string>
10+
<string>4.7.8</string>
1111
<key>CFBundleIdentifier</key>
1212
<string>com.pubnub.pubnub-objc</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.7.7</string>
20+
<string>4.7.8</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>4.7.7</string>
24+
<string>4.7.8</string>
2525
<key>NSHumanReadableCopyright</key>
2626
<string>© 2010 - 2018 PubNub, Inc.</string>
2727
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)