Skip to content

Commit 8ab49ff

Browse files
committed
Merge pull request #27 from pusher-community/carthage-fixes
Carthage fixes
2 parents 5108d81 + ee77a0d commit 8ab49ff

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Pods/
4444
# Carthage
4545
#
4646
# Add this line if you want to avoid checking in source code from Carthage dependencies.
47-
# Carthage/Checkouts
47+
Carthage/Checkouts
4848

4949
Carthage/Build
5050

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,17 @@ script:
3434
else
3535
xcodebuild -workspace PusherSwift.xcworkspace -scheme "$SCHEME" -destination "$DESTINATION" -sdk "$SDK" test -enableCodeCoverage YES | xcpretty -tc;
3636
fi
37+
before_script:
38+
- carthage bootstrap
3739
before_deploy:
3840
- carthage build --no-skip-current --verbose
3941
- carthage archive PusherSwift
4042
deploy:
4143
provider: releases
4244
api_key:
43-
secure: JX093TPx+8Rvgd58s5KkmQQM0/i2cwSiSfRydqFHmN96wny5DHxxF0GOj/4kERHMS7R/gQYXCDtAoEAe0OP0ULD9PLH9D51G6KZQ1LKQPpzOK4ydJc3o9/CvcSrJpWmgSoGquOH0EITXxR4xaP3QrvmFx5mV48XHuZbMRjUlR8I=
44-
file:
45-
- "PusherSwift.framework.zip"
45+
secure: cjodA0I5fTEU60M+W1NNCj18EpL7yt3uxLN1aeexN33HfRoo153oi4jV/FWlPtQ4QC5FhFF+Nbc69V2paOSrI4iht+UB2Hb0jYTuHWv8ecYa33GFksl7zD9BCf8D3RZqIagTzJC7Vf0FqKKlspZMwIMAL02Z5uwsp5h4Zjrq8lo=
46+
file: PusherSwift.framework.zip
4647
skip_cleanup: true
4748
on:
4849
repo: pusher-community/pusher-websocket-swift
49-
tags: true
50+
tags: true

Cartfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github "ashleymills/Reachability.swift"
2+
github "krzyzanowskim/CryptoSwift"
3+
github "daltoniam/Starscream"

Cartfile.resolved

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github "krzyzanowskim/CryptoSwift" "0.2.2"
2+
github "ashleymills/Reachability.swift" "v2.3.3"
3+
github "daltoniam/Starscream" "1.1.1"

PusherSwift.xcodeproj/project.pbxproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@
903903
CLANG_WARN_UNREACHABLE_CODE = YES;
904904
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
905905
CODE_SIGN_IDENTITY = "iPhone Developer";
906-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
906+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
907907
COPY_PHASE_STRIP = NO;
908908
CURRENT_PROJECT_VERSION = 1;
909909
DEBUG_INFORMATION_FORMAT = dwarf;
@@ -930,6 +930,8 @@
930930
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
931931
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
932932
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
933+
MACH_O_TYPE = mh_dylib;
934+
MACOSX_DEPLOYMENT_TARGET = 10.11;
933935
MTL_ENABLE_DEBUG_INFO = YES;
934936
ONLY_ACTIVE_ARCH = YES;
935937
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
@@ -938,7 +940,7 @@
938940
SKIP_INSTALL = YES;
939941
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
940942
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
941-
TARGETED_DEVICE_FAMILY = "1,2";
943+
TARGETED_DEVICE_FAMILY = 3;
942944
TVOS_DEPLOYMENT_TARGET = 9.1;
943945
VERSIONING_SYSTEM = "apple-generic";
944946
VERSION_INFO_PREFIX = "";
@@ -964,7 +966,7 @@
964966
CLANG_WARN_UNREACHABLE_CODE = YES;
965967
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
966968
CODE_SIGN_IDENTITY = "iPhone Developer";
967-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
969+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
968970
COPY_PHASE_STRIP = NO;
969971
CURRENT_PROJECT_VERSION = 1;
970972
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
@@ -985,13 +987,15 @@
985987
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
986988
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
987989
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
990+
MACH_O_TYPE = mh_dylib;
991+
MACOSX_DEPLOYMENT_TARGET = 10.11;
988992
MTL_ENABLE_DEBUG_INFO = NO;
989993
PRODUCT_BUNDLE_IDENTIFIER = "com.pusher.$(PRODUCT_NAME:rfc1034identifier)";
990994
PRODUCT_NAME = PusherSwift;
991995
SDKROOT = appletvos;
992996
SKIP_INSTALL = YES;
993997
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
994-
TARGETED_DEVICE_FAMILY = "1,2";
998+
TARGETED_DEVICE_FAMILY = 3;
995999
TVOS_DEPLOYMENT_TARGET = 9.1;
9961000
VALIDATE_PRODUCT = YES;
9971001
VERSIONING_SYSTEM = "apple-generic";

0 commit comments

Comments
 (0)