Skip to content

Commit

Permalink
- Fix some issues with security ssl
Browse files Browse the repository at this point in the history
- update cocoapods
  • Loading branch information
Cris Uy committed Sep 15, 2017
1 parent 6c2958b commit 916e69d
Show file tree
Hide file tree
Showing 59 changed files with 3,427 additions and 1,600 deletions.
4 changes: 2 additions & 2 deletions CSFramework.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

Pod::Spec.new do |s|
s.name = 'CSFramework'
s.version = '0.2.4'
s.summary = '0.2.4'
s.version = '0.2.6'
s.summary = '0.2.6'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
Expand Down
1 change: 1 addition & 0 deletions CSFramework/Classes/CSRequestManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ - (void)initializeHTTPManagerAuthenticated:(BOOL)authenticated {
}

self.httpManager = [AFHTTPSessionManager manager];
self.httpManager.securityPolicy.allowInvalidCertificates = NO;

self.httpManager.requestSerializer = [AFHTTPRequestSerializer serializer]; // HTTP Request
self.httpManager.responseSerializer = [AFJSONResponseSerializer serializer]; // JSON Response
Expand Down
22 changes: 20 additions & 2 deletions Example/CSFramework.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,16 @@
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-CSFramework_Tests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
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";
showEnvVarsInLog = 0;
};
3BA19BB822F04609B9CEE93A /* [CP] Embed Pods Frameworks */ = {
Expand All @@ -318,9 +321,18 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-CSFramework_Example/Pods-CSFramework_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
"${BUILT_PRODUCTS_DIR}/CSFramework/CSFramework.framework",
"${BUILT_PRODUCTS_DIR}/Socket.IO-Client-Swift/SocketIO.framework",
"${BUILT_PRODUCTS_DIR}/StarscreamSocketIO/StarscreamSocketIO.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CSFramework.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SocketIO.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/StarscreamSocketIO.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -348,9 +360,12 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-CSFramework_Tests/Pods-CSFramework_Tests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Kiwi/Kiwi.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kiwi.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -378,13 +393,16 @@
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-CSFramework_Example-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
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";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down
13 changes: 8 additions & 5 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ PODS:
- AFNetworking/Serialization (3.1.0)
- AFNetworking/UIKit (3.1.0):
- AFNetworking/NSURLSession
- CSFramework (0.0.9):
- CSFramework (0.2.5):
- AFNetworking
- Socket.IO-Client-Swift
- Kiwi (2.4.0)
- Socket.IO-Client-Swift (10.0.0)
- Socket.IO-Client-Swift (11.1.2):
- StarscreamSocketIO (~> 8.0.5)
- StarscreamSocketIO (8.0.5)

DEPENDENCIES:
- AFNetworking
Expand All @@ -32,10 +34,11 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
CSFramework: 9703a7d19fcf10041713c6ed4187d3dc1e221e7e
CSFramework: b58bdcd84098c994dbbe743c1c2a0abbcae8b39a
Kiwi: f49c9d54b28917df5928fe44968a39ed198cb8a8
Socket.IO-Client-Swift: 9c5b4e5e76e30e1b9a1804c40e11dad0a002b1a4
Socket.IO-Client-Swift: 2283d3d333cc6b24c4e7ba191a8a7907d35ac42b
StarscreamSocketIO: b56993332d3cd74885a7486e183ff0cd9541b3f3

PODFILE CHECKSUM: cadd32128817923e8d08a4a6cd068759ead766e4

COCOAPODS: 1.2.1
COCOAPODS: 1.3.1
11 changes: 8 additions & 3 deletions Example/Pods/Local Podspecs/CSFramework.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 916e69d

Please sign in to comment.