upgrade deps
This commit is contained in:
parent
d75620ef48
commit
be1fe28e2c
@ -158,6 +158,7 @@
|
|||||||
4981C88C216BAE4A008CC14A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
|
4981C88C216BAE4A008CC14A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||||
4981C88E216BAE4D008CC14A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
4981C88E216BAE4D008CC14A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||||
49862F9F218418C600A1D5EC /* ClashRule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClashRule.swift; sourceTree = "<group>"; };
|
49862F9F218418C600A1D5EC /* ClashRule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClashRule.swift; sourceTree = "<group>"; };
|
||||||
|
498960722340F21C00AFB7EC /* com.west2online.ClashX.ProxyConfigHelper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = com.west2online.ClashX.ProxyConfigHelper.entitlements; sourceTree = "<group>"; };
|
||||||
4989F98320D02D200001E564 /* Country.mmdb */ = {isa = PBXFileReference; lastKnownFileType = file; path = Country.mmdb; sourceTree = "<group>"; };
|
4989F98320D02D200001E564 /* Country.mmdb */ = {isa = PBXFileReference; lastKnownFileType = file; path = Country.mmdb; sourceTree = "<group>"; };
|
||||||
4989F98D20D0AE990001E564 /* sampleConfig.yaml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.yaml; path = sampleConfig.yaml; sourceTree = "<group>"; };
|
4989F98D20D0AE990001E564 /* sampleConfig.yaml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.yaml; path = sampleConfig.yaml; sourceTree = "<group>"; };
|
||||||
4997732320D251A60009B136 /* SWBApplication.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SWBApplication.m; sourceTree = "<group>"; };
|
4997732320D251A60009B136 /* SWBApplication.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SWBApplication.m; sourceTree = "<group>"; };
|
||||||
@ -440,6 +441,7 @@
|
|||||||
F9A7C06A2306E874007163C7 /* ProxyConfigHelper */ = {
|
F9A7C06A2306E874007163C7 /* ProxyConfigHelper */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
498960722340F21C00AFB7EC /* com.west2online.ClashX.ProxyConfigHelper.entitlements */,
|
||||||
F9A7C06B2306E874007163C7 /* main.m */,
|
F9A7C06B2306E874007163C7 /* main.m */,
|
||||||
F935B2F12307C802009E4D33 /* Helper-Launchd.plist */,
|
F935B2F12307C802009E4D33 /* Helper-Launchd.plist */,
|
||||||
F935B2EA2307B6BA009E4D33 /* Helper-Info.plist */,
|
F935B2EA2307B6BA009E4D33 /* Helper-Info.plist */,
|
||||||
@ -994,11 +996,14 @@
|
|||||||
F9A7C06E2306E874007163C7 /* Debug */ = {
|
F9A7C06E2306E874007163C7 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CODE_SIGN_ENTITLEMENTS = ProxyConfigHelper/com.west2online.ClashX.ProxyConfigHelper.entitlements;
|
||||||
CODE_SIGN_IDENTITY = "Developer ID Application";
|
CODE_SIGN_IDENTITY = "Developer ID Application";
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
DEVELOPMENT_TEAM = MEWHFZ92DY;
|
DEVELOPMENT_TEAM = MEWHFZ92DY;
|
||||||
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
INFOPLIST_FILE = "$(SRCROOT)/ProxyConfigHelper/Helper-Info.plist";
|
INFOPLIST_FILE = "$(SRCROOT)/ProxyConfigHelper/Helper-Info.plist";
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||||
|
MARKETING_VERSION = 1.2;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
@ -1020,11 +1025,14 @@
|
|||||||
F9A7C06F2306E874007163C7 /* Release */ = {
|
F9A7C06F2306E874007163C7 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CODE_SIGN_ENTITLEMENTS = ProxyConfigHelper/com.west2online.ClashX.ProxyConfigHelper.entitlements;
|
||||||
CODE_SIGN_IDENTITY = "Developer ID Application";
|
CODE_SIGN_IDENTITY = "Developer ID Application";
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
DEVELOPMENT_TEAM = MEWHFZ92DY;
|
DEVELOPMENT_TEAM = MEWHFZ92DY;
|
||||||
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
INFOPLIST_FILE = "$(SRCROOT)/ProxyConfigHelper/Helper-Info.plist";
|
INFOPLIST_FILE = "$(SRCROOT)/ProxyConfigHelper/Helper-Info.plist";
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||||
|
MARKETING_VERSION = 1.2;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"-sectcreate",
|
"-sectcreate",
|
||||||
|
2
Podfile
2
Podfile
@ -21,7 +21,7 @@ target 'ClashX' do
|
|||||||
pod 'CocoaLumberjack/Swift'
|
pod 'CocoaLumberjack/Swift'
|
||||||
pod 'WebViewJavascriptBridge'
|
pod 'WebViewJavascriptBridge'
|
||||||
pod 'Yams'
|
pod 'Yams'
|
||||||
pod 'Starscream', '~> 3.0.2'
|
pod 'Starscream',:git=>'https://github.com/daltoniam/Starscream.git', :branch => 'master'
|
||||||
pod 'Fabric'
|
pod 'Fabric'
|
||||||
pod 'Crashlytics'
|
pod 'Crashlytics'
|
||||||
|
|
||||||
|
19
Podfile.lock
19
Podfile.lock
@ -13,7 +13,7 @@ PODS:
|
|||||||
- RxRelay (5.0.0):
|
- RxRelay (5.0.0):
|
||||||
- RxSwift (~> 5)
|
- RxSwift (~> 5)
|
||||||
- RxSwift (5.0.0)
|
- RxSwift (5.0.0)
|
||||||
- Starscream (3.0.6)
|
- Starscream (3.1.0)
|
||||||
- SwiftyJSON (5.0.0)
|
- SwiftyJSON (5.0.0)
|
||||||
- WebViewJavascriptBridge (6.0.3)
|
- WebViewJavascriptBridge (6.0.3)
|
||||||
- Yams (2.0.0)
|
- Yams (2.0.0)
|
||||||
@ -26,7 +26,7 @@ DEPENDENCIES:
|
|||||||
- LetsMove
|
- LetsMove
|
||||||
- RxCocoa
|
- RxCocoa
|
||||||
- RxSwift
|
- RxSwift
|
||||||
- Starscream (~> 3.0.2)
|
- Starscream (from `https://github.com/daltoniam/Starscream.git`, branch `master`)
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
- WebViewJavascriptBridge
|
- WebViewJavascriptBridge
|
||||||
- Yams
|
- Yams
|
||||||
@ -41,11 +41,20 @@ SPEC REPOS:
|
|||||||
- RxCocoa
|
- RxCocoa
|
||||||
- RxRelay
|
- RxRelay
|
||||||
- RxSwift
|
- RxSwift
|
||||||
- Starscream
|
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
- WebViewJavascriptBridge
|
- WebViewJavascriptBridge
|
||||||
- Yams
|
- Yams
|
||||||
|
|
||||||
|
EXTERNAL SOURCES:
|
||||||
|
Starscream:
|
||||||
|
:branch: master
|
||||||
|
:git: https://github.com/daltoniam/Starscream.git
|
||||||
|
|
||||||
|
CHECKOUT OPTIONS:
|
||||||
|
Starscream:
|
||||||
|
:commit: a2ed45c0b2f996cb8c335c4f270ecc68c3bd4c0f
|
||||||
|
:git: https://github.com/daltoniam/Starscream.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
Alamofire: f9450d3c7f6bea2ad62e7a541c3e9b186c7991d6
|
Alamofire: f9450d3c7f6bea2ad62e7a541c3e9b186c7991d6
|
||||||
CocoaLumberjack: 2f44e60eb91c176d471fdba43b9e3eae6a721947
|
CocoaLumberjack: 2f44e60eb91c176d471fdba43b9e3eae6a721947
|
||||||
@ -55,11 +64,11 @@ SPEC CHECKSUMS:
|
|||||||
RxCocoa: fcf32050ac00d801f34a7f71d5e8e7f23026dcd8
|
RxCocoa: fcf32050ac00d801f34a7f71d5e8e7f23026dcd8
|
||||||
RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18
|
RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18
|
||||||
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f
|
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f
|
||||||
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
|
Starscream: 5cbf3d36bf5af6906d1362bba4ce326bb011d4cc
|
||||||
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
|
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
|
||||||
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
|
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
|
||||||
Yams: cb96472112d99e4b368f8dae9ab62e8a3eb8a3f9
|
Yams: cb96472112d99e4b368f8dae9ab62e8a3eb8a3f9
|
||||||
|
|
||||||
PODFILE CHECKSUM: 71df0e7274f61bf9b1045f3f9117edbb65ed746a
|
PODFILE CHECKSUM: fc789f2f0510efcbeb2cbc20a292a19ff82d9c60
|
||||||
|
|
||||||
COCOAPODS: 1.7.5
|
COCOAPODS: 1.7.5
|
||||||
|
25
Pods/Local Podspecs/Starscream.podspec.json
generated
Normal file
25
Pods/Local Podspecs/Starscream.podspec.json
generated
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"name": "Starscream",
|
||||||
|
"version": "3.1.0",
|
||||||
|
"summary": "A conforming WebSocket RFC 6455 client library in Swift.",
|
||||||
|
"homepage": "https://github.com/daltoniam/Starscream",
|
||||||
|
"license": "Apache License, Version 2.0",
|
||||||
|
"authors": {
|
||||||
|
"Dalton Cherry": "http://daltoniam.com",
|
||||||
|
"Austin Cherry": "http://austincherry.me"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"git": "https://github.com/daltoniam/Starscream.git",
|
||||||
|
"tag": "3.1.0"
|
||||||
|
},
|
||||||
|
"social_media_url": "http://twitter.com/daltoniam",
|
||||||
|
"platforms": {
|
||||||
|
"ios": "8.0",
|
||||||
|
"osx": "10.10",
|
||||||
|
"tvos": "9.0",
|
||||||
|
"watchos": "2.0"
|
||||||
|
},
|
||||||
|
"source_files": "Sources/**/*.swift",
|
||||||
|
"swift_versions": "5.0",
|
||||||
|
"swift_version": "5.0"
|
||||||
|
}
|
19
Pods/Manifest.lock
generated
19
Pods/Manifest.lock
generated
@ -13,7 +13,7 @@ PODS:
|
|||||||
- RxRelay (5.0.0):
|
- RxRelay (5.0.0):
|
||||||
- RxSwift (~> 5)
|
- RxSwift (~> 5)
|
||||||
- RxSwift (5.0.0)
|
- RxSwift (5.0.0)
|
||||||
- Starscream (3.0.6)
|
- Starscream (3.1.0)
|
||||||
- SwiftyJSON (5.0.0)
|
- SwiftyJSON (5.0.0)
|
||||||
- WebViewJavascriptBridge (6.0.3)
|
- WebViewJavascriptBridge (6.0.3)
|
||||||
- Yams (2.0.0)
|
- Yams (2.0.0)
|
||||||
@ -26,7 +26,7 @@ DEPENDENCIES:
|
|||||||
- LetsMove
|
- LetsMove
|
||||||
- RxCocoa
|
- RxCocoa
|
||||||
- RxSwift
|
- RxSwift
|
||||||
- Starscream (~> 3.0.2)
|
- Starscream (from `https://github.com/daltoniam/Starscream.git`, branch `master`)
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
- WebViewJavascriptBridge
|
- WebViewJavascriptBridge
|
||||||
- Yams
|
- Yams
|
||||||
@ -41,11 +41,20 @@ SPEC REPOS:
|
|||||||
- RxCocoa
|
- RxCocoa
|
||||||
- RxRelay
|
- RxRelay
|
||||||
- RxSwift
|
- RxSwift
|
||||||
- Starscream
|
|
||||||
- SwiftyJSON
|
- SwiftyJSON
|
||||||
- WebViewJavascriptBridge
|
- WebViewJavascriptBridge
|
||||||
- Yams
|
- Yams
|
||||||
|
|
||||||
|
EXTERNAL SOURCES:
|
||||||
|
Starscream:
|
||||||
|
:branch: master
|
||||||
|
:git: https://github.com/daltoniam/Starscream.git
|
||||||
|
|
||||||
|
CHECKOUT OPTIONS:
|
||||||
|
Starscream:
|
||||||
|
:commit: a2ed45c0b2f996cb8c335c4f270ecc68c3bd4c0f
|
||||||
|
:git: https://github.com/daltoniam/Starscream.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
Alamofire: f9450d3c7f6bea2ad62e7a541c3e9b186c7991d6
|
Alamofire: f9450d3c7f6bea2ad62e7a541c3e9b186c7991d6
|
||||||
CocoaLumberjack: 2f44e60eb91c176d471fdba43b9e3eae6a721947
|
CocoaLumberjack: 2f44e60eb91c176d471fdba43b9e3eae6a721947
|
||||||
@ -55,11 +64,11 @@ SPEC CHECKSUMS:
|
|||||||
RxCocoa: fcf32050ac00d801f34a7f71d5e8e7f23026dcd8
|
RxCocoa: fcf32050ac00d801f34a7f71d5e8e7f23026dcd8
|
||||||
RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18
|
RxRelay: 4f7409406a51a55cd88483f21ed898c234d60f18
|
||||||
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f
|
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f
|
||||||
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
|
Starscream: 5cbf3d36bf5af6906d1362bba4ce326bb011d4cc
|
||||||
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
|
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
|
||||||
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
|
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
|
||||||
Yams: cb96472112d99e4b368f8dae9ab62e8a3eb8a3f9
|
Yams: cb96472112d99e4b368f8dae9ab62e8a3eb8a3f9
|
||||||
|
|
||||||
PODFILE CHECKSUM: 71df0e7274f61bf9b1045f3f9117edbb65ed746a
|
PODFILE CHECKSUM: fc789f2f0510efcbeb2cbc20a292a19ff82d9c60
|
||||||
|
|
||||||
COCOAPODS: 1.7.5
|
COCOAPODS: 1.7.5
|
||||||
|
84
Pods/Pods.xcodeproj/project.pbxproj
generated
84
Pods/Pods.xcodeproj/project.pbxproj
generated
@ -3207,7 +3207,7 @@
|
|||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
2DBC401072E6A755AEB99CD100042416 /* Debug */ = {
|
31F51B2907001BB396582CC610E0DCFB /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = D1CEF0227E8F30D655ADB74E7BF2C12E /* Starscream.xcconfig */;
|
baseConfigurationReference = D1CEF0227E8F30D655ADB74E7BF2C12E /* Starscream.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
@ -3239,7 +3239,7 @@
|
|||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
||||||
SWIFT_VERSION = 4.2;
|
SWIFT_VERSION = 5.0;
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
VERSION_INFO_PREFIX = "";
|
VERSION_INFO_PREFIX = "";
|
||||||
};
|
};
|
||||||
@ -3738,44 +3738,6 @@
|
|||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
924BBDF28F7D59024EBFCC2EC98D711D /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
baseConfigurationReference = D1CEF0227E8F30D655ADB74E7BF2C12E /* Starscream.xcconfig */;
|
|
||||||
buildSettings = {
|
|
||||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
|
||||||
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
|
||||||
DEFINES_MODULE = YES;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
|
||||||
DYLIB_CURRENT_VERSION = 1;
|
|
||||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
|
||||||
FRAMEWORK_VERSION = A;
|
|
||||||
GCC_PREFIX_HEADER = "Target Support Files/Starscream/Starscream-prefix.pch";
|
|
||||||
INFOPLIST_FILE = "Target Support Files/Starscream/Starscream-Info.plist";
|
|
||||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"@executable_path/../Frameworks",
|
|
||||||
"@loader_path/Frameworks",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
|
||||||
MODULEMAP_FILE = "Target Support Files/Starscream/Starscream.modulemap";
|
|
||||||
PRODUCT_MODULE_NAME = Starscream;
|
|
||||||
PRODUCT_NAME = Starscream;
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
|
||||||
SWIFT_VERSION = 4.2;
|
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
|
||||||
VERSION_INFO_PREFIX = "";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
AF406933D427D9AE231B34EC374A1567 /* Release */ = {
|
AF406933D427D9AE231B34EC374A1567 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = 1D891C4053BD93D2C467B6D4122BF57E /* LetsMove.xcconfig */;
|
baseConfigurationReference = 1D891C4053BD93D2C467B6D4122BF57E /* LetsMove.xcconfig */;
|
||||||
@ -3964,6 +3926,44 @@
|
|||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
DBE5625922C7A4D341A212402EB255F2 /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = D1CEF0227E8F30D655ADB74E7BF2C12E /* Starscream.xcconfig */;
|
||||||
|
buildSettings = {
|
||||||
|
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||||
|
CLANG_ENABLE_OBJC_WEAK = NO;
|
||||||
|
CODE_SIGN_IDENTITY = "";
|
||||||
|
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
||||||
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
||||||
|
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
||||||
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
|
DEFINES_MODULE = YES;
|
||||||
|
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||||
|
DYLIB_CURRENT_VERSION = 1;
|
||||||
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||||
|
FRAMEWORK_VERSION = A;
|
||||||
|
GCC_PREFIX_HEADER = "Target Support Files/Starscream/Starscream-prefix.pch";
|
||||||
|
INFOPLIST_FILE = "Target Support Files/Starscream/Starscream-Info.plist";
|
||||||
|
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"@executable_path/../Frameworks",
|
||||||
|
"@loader_path/Frameworks",
|
||||||
|
);
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||||
|
MODULEMAP_FILE = "Target Support Files/Starscream/Starscream.modulemap";
|
||||||
|
PRODUCT_MODULE_NAME = Starscream;
|
||||||
|
PRODUCT_NAME = Starscream;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
SKIP_INSTALL = YES;
|
||||||
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
||||||
|
SWIFT_VERSION = 5.0;
|
||||||
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
|
VERSION_INFO_PREFIX = "";
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
EADBE94060815557A311FFD4FEE1046C /* Release */ = {
|
EADBE94060815557A311FFD4FEE1046C /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = 4B0212A63C916B5675093E3820E057F6 /* RxRelay.xcconfig */;
|
baseConfigurationReference = 4B0212A63C916B5675093E3820E057F6 /* RxRelay.xcconfig */;
|
||||||
@ -4180,8 +4180,8 @@
|
|||||||
ED5C15C705AB67930733A7E237A0A33A /* Build configuration list for PBXNativeTarget "Starscream" */ = {
|
ED5C15C705AB67930733A7E237A0A33A /* Build configuration list for PBXNativeTarget "Starscream" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
2DBC401072E6A755AEB99CD100042416 /* Debug */,
|
31F51B2907001BB396582CC610E0DCFB /* Debug */,
|
||||||
924BBDF28F7D59024EBFCC2EC98D711D /* Release */,
|
DBE5625922C7A4D341A212402EB255F2 /* Release */,
|
||||||
);
|
);
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationName = Release;
|
||||||
|
27
Pods/Starscream/README.md
generated
27
Pods/Starscream/README.md
generated
@ -311,6 +311,29 @@ To integrate Starscream into your Xcode project using Carthage, specify it in yo
|
|||||||
github "daltoniam/Starscream" >= 3.0.2
|
github "daltoniam/Starscream" >= 3.0.2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Accio
|
||||||
|
|
||||||
|
Check out the [Accio](https://github.com/JamitLabs/Accio) docs on how to add a install.
|
||||||
|
|
||||||
|
Add the following to your Package.swift:
|
||||||
|
|
||||||
|
```swift
|
||||||
|
.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "3.1.0")),
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, add `Starscream` to your App targets dependencies like so:
|
||||||
|
|
||||||
|
```swift
|
||||||
|
.target(
|
||||||
|
name: "App",
|
||||||
|
dependencies: [
|
||||||
|
"Starscream",
|
||||||
|
]
|
||||||
|
),
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run `accio update`.
|
||||||
|
|
||||||
### Rogue
|
### Rogue
|
||||||
|
|
||||||
First see the [installation docs](https://github.com/acmacalister/Rogue) for how to install Rogue.
|
First see the [installation docs](https://github.com/acmacalister/Rogue) for how to install Rogue.
|
||||||
@ -385,6 +408,10 @@ func websocketHttpUpgrade(socket: WebSocketClient, response: CFHTTPMessage) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Swift versions
|
||||||
|
|
||||||
|
* Swift 4.2 - 3.0.6
|
||||||
|
|
||||||
## KNOWN ISSUES
|
## KNOWN ISSUES
|
||||||
- WatchOS does not have the the CFNetwork String constants to modify the stream's SSL behavior. It will be the default Foundation SSL behavior. This means watchOS CANNOT use `SSLCiphers`, `disableSSLCertValidation`, or SSL pinning. All these values set on watchOS will do nothing.
|
- WatchOS does not have the the CFNetwork String constants to modify the stream's SSL behavior. It will be the default Foundation SSL behavior. This means watchOS CANNOT use `SSLCiphers`, `disableSSLCertValidation`, or SSL pinning. All these values set on watchOS will do nothing.
|
||||||
- Linux does not have the security framework, so it CANNOT use SSL pinning or `SSLCiphers` either.
|
- Linux does not have the security framework, so it CANNOT use SSL pinning or `SSLCiphers` either.
|
||||||
|
10
Pods/Starscream/Sources/Starscream/WebSocket.swift
generated
10
Pods/Starscream/Sources/Starscream/WebSocket.swift
generated
@ -135,7 +135,7 @@ public protocol WSStream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
open class FoundationStream : NSObject, WSStream, StreamDelegate {
|
open class FoundationStream : NSObject, WSStream, StreamDelegate {
|
||||||
private static let sharedWorkQueue = DispatchQueue(label: "com.vluxe.starscream.websocket", attributes: [])
|
private let workQueue = DispatchQueue(label: "com.vluxe.starscream.websocket", attributes: [])
|
||||||
private var inputStream: InputStream?
|
private var inputStream: InputStream?
|
||||||
private var outputStream: OutputStream?
|
private var outputStream: OutputStream?
|
||||||
public weak var delegate: WSStreamDelegate?
|
public weak var delegate: WSStreamDelegate?
|
||||||
@ -210,13 +210,13 @@ open class FoundationStream : NSObject, WSStream, StreamDelegate {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
CFReadStreamSetDispatchQueue(inStream, FoundationStream.sharedWorkQueue)
|
CFReadStreamSetDispatchQueue(inStream, workQueue)
|
||||||
CFWriteStreamSetDispatchQueue(outStream, FoundationStream.sharedWorkQueue)
|
CFWriteStreamSetDispatchQueue(outStream, workQueue)
|
||||||
inStream.open()
|
inStream.open()
|
||||||
outStream.open()
|
outStream.open()
|
||||||
|
|
||||||
var out = timeout// wait X seconds before giving up
|
var out = timeout// wait X seconds before giving up
|
||||||
FoundationStream.sharedWorkQueue.async { [weak self] in
|
workQueue.async { [weak self] in
|
||||||
while !outStream.hasSpaceAvailable {
|
while !outStream.hasSpaceAvailable {
|
||||||
usleep(100) // wait until the socket is ready
|
usleep(100) // wait until the socket is ready
|
||||||
out -= 100
|
out -= 100
|
||||||
@ -475,7 +475,7 @@ open class WebSocket : NSObject, StreamDelegate, WebSocketClient, WSStreamDelega
|
|||||||
}
|
}
|
||||||
self.request.setValue(origin, forHTTPHeaderField: headerOriginName)
|
self.request.setValue(origin, forHTTPHeaderField: headerOriginName)
|
||||||
}
|
}
|
||||||
if let protocols = protocols {
|
if let protocols = protocols, !protocols.isEmpty {
|
||||||
self.request.setValue(protocols.joined(separator: ","), forHTTPHeaderField: headerWSProtocolName)
|
self.request.setValue(protocols.joined(separator: ","), forHTTPHeaderField: headerWSProtocolName)
|
||||||
}
|
}
|
||||||
writeQueue.maxConcurrentOperationCount = 1
|
writeQueue.maxConcurrentOperationCount = 1
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>3.0.6</string>
|
<string>3.1.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>com.west2online.ClashX.ProxyConfigHelper</string>
|
<string>com.west2online.ClashX.ProxyConfigHelper</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.1</string>
|
<string>$(MARKETING_VERSION)</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2</string>
|
<string>2</string>
|
||||||
<key>SMAuthorizedClients</key>
|
<key>SMAuthorizedClients</key>
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict/>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue
Block a user