Skip to content

Commit c30c6c7

Browse files
authored
Merge pull request #228 from pusher/consistent_deployment_targets
Consistent deployment targets
2 parents b024ada + b6419f2 commit c30c6c7

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

Cartfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# CryptoSwift versions 0.9 - 0.10 inclusive have iOS deployment
2+
# target "9.0" set in the Xcode project (but not in the Podspec).
3+
# PusherSwift has target "8.0" therefore the version in this
4+
# file can't match PusherSwift's Podspec's minimum CryptoSwift
5+
# version currently.
16
github "krzyzanowskim/CryptoSwift" ~> 0.15.0
27
github "ashleymills/Reachability.swift" == 4.3.0
38
github "daltoniam/Starscream" == 3.0.6

PusherSwift.xcodeproj/project.pbxproj

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
developmentRegion = English;
254254
hasScannedForEncodings = 0;
255255
knownRegions = (
256+
English,
256257
en,
257258
);
258259
mainGroup = 33831C491A9CEDF800B124F1;
@@ -384,11 +385,11 @@
384385
GCC_WARN_UNUSED_FUNCTION = YES;
385386
GCC_WARN_UNUSED_VARIABLE = YES;
386387
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
387-
MACOSX_DEPLOYMENT_TARGET = 10.11;
388+
MACOSX_DEPLOYMENT_TARGET = 10.10;
388389
ONLY_ACTIVE_ARCH = YES;
389390
SDKROOT = "";
390391
SUPPORTED_PLATFORMS = "macosx appletvos iphoneos appletvsimulator iphonesimulator";
391-
SWIFT_VERSION = 4.0;
392+
SWIFT_VERSION = 4.2;
392393
TVOS_DEPLOYMENT_TARGET = 9.0;
393394
};
394395
name = Debug;
@@ -424,11 +425,11 @@
424425
GCC_WARN_UNUSED_FUNCTION = YES;
425426
GCC_WARN_UNUSED_VARIABLE = YES;
426427
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
427-
MACOSX_DEPLOYMENT_TARGET = 10.11;
428+
MACOSX_DEPLOYMENT_TARGET = 10.10;
428429
SDKROOT = "";
429430
SUPPORTED_PLATFORMS = "macosx appletvos iphoneos appletvsimulator iphonesimulator";
430431
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
431-
SWIFT_VERSION = 4.0;
432+
SWIFT_VERSION = 4.2;
432433
TVOS_DEPLOYMENT_TARGET = 9.0;
433434
};
434435
name = Release;
@@ -477,9 +478,9 @@
477478
GCC_WARN_UNUSED_VARIABLE = YES;
478479
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
479480
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
480-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
481+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
481482
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
482-
MACOSX_DEPLOYMENT_TARGET = 10.11;
483+
MACOSX_DEPLOYMENT_TARGET = 10.10;
483484
MTL_ENABLE_DEBUG_INFO = YES;
484485
ONLY_ACTIVE_ARCH = YES;
485486
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
@@ -536,9 +537,9 @@
536537
GCC_WARN_UNUSED_VARIABLE = YES;
537538
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
538539
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
539-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
540+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
540541
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
541-
MACOSX_DEPLOYMENT_TARGET = 10.11;
542+
MACOSX_DEPLOYMENT_TARGET = 10.10;
542543
MTL_ENABLE_DEBUG_INFO = NO;
543544
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
544545
PRODUCT_NAME = PusherSwift;
@@ -593,10 +594,10 @@
593594
GCC_WARN_UNUSED_FUNCTION = YES;
594595
GCC_WARN_UNUSED_VARIABLE = YES;
595596
INFOPLIST_FILE = Tests/Info.plist;
596-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
597+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
597598
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
598599
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
599-
MACOSX_DEPLOYMENT_TARGET = 10.11;
600+
MACOSX_DEPLOYMENT_TARGET = 10.10;
600601
MTL_ENABLE_DEBUG_INFO = YES;
601602
ONLY_ACTIVE_ARCH = YES;
602603
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
@@ -641,10 +642,10 @@
641642
GCC_WARN_UNUSED_FUNCTION = YES;
642643
GCC_WARN_UNUSED_VARIABLE = YES;
643644
INFOPLIST_FILE = Tests/Info.plist;
644-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
645+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
645646
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
646647
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
647-
MACOSX_DEPLOYMENT_TARGET = 10.11;
648+
MACOSX_DEPLOYMENT_TARGET = 10.10;
648649
MTL_ENABLE_DEBUG_INFO = NO;
649650
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
650651
PRODUCT_NAME = PusherSwiftTests;

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ This is the [Pusher Channels](https://pusher.com/channels) websocket client, Pus
1212

1313
For tutorials and more in-depth information about Pusher Channels, visit our [official docs](https://pusher.com/docs/channels).
1414

15+
## Supported platforms
16+
- Swift 4.2 and above (can be used with Swift 5)
17+
- Xcode 10.0 and above
18+
- Can be used with Objective-C
19+
20+
### Deployment targets
21+
- iOS 8.0 and above
22+
- macOS (OS X) 10.10 and above
23+
- tvOS 9.0 and above
24+
- Not currently compatible with watchOS
25+
1526
## I just want to copy and paste some code to get me started
1627

1728
What else would you want? Head over to one of our example apps:

0 commit comments

Comments
 (0)