From cd8e83113e1e1d7e70db3e17348b411d04864e9b Mon Sep 17 00:00:00 2001 From: Nikhil Nigade Date: Fri, 4 Sep 2015 22:37:26 +0530 Subject: [PATCH] latest PromiseKit & OMGHTTPURLRQ --- Cartfile | 2 +- Cartfile.resolved | 4 ++-- DZNetworking.xcodeproj/project.pbxproj | 7 ++++++- .../xcshareddata/xcschemes/DZNetworking.xcscheme | 13 ++++++++----- DZNetworking/Core/DZURLSession.m | 16 ++++++++-------- DZNetworking/Core/DZUploadSession.m | 2 +- DZNetworking/Info.plist | 2 +- DZNetworkingTests/Info.plist | 2 +- 8 files changed, 28 insertions(+), 20 deletions(-) diff --git a/Cartfile b/Cartfile index 1e39756..ea1e0e7 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ github "mxcl/PromiseKit" "swift-2.0-beta5" -github "mxcl/OMGHTTPURLRQ" ~> 2.1.3 +github "mxcl/OMGHTTPURLRQ" diff --git a/Cartfile.resolved b/Cartfile.resolved index 6a21978..48b56a1 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,2 +1,2 @@ -github "mxcl/OMGHTTPURLRQ" "2.1.3" -github "mxcl/PromiseKit" "2.1.1" +github "mxcl/OMGHTTPURLRQ" "3.0.0" +github "mxcl/PromiseKit" "0881d5c09d7c8bbdb4b3b83151032bd18d27eed9" diff --git a/DZNetworking.xcodeproj/project.pbxproj b/DZNetworking.xcodeproj/project.pbxproj index 5ec1601..963f460 100644 --- a/DZNetworking.xcodeproj/project.pbxproj +++ b/DZNetworking.xcodeproj/project.pbxproj @@ -276,7 +276,7 @@ F0FC8E471B4FB1D300FDA46C /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0640; + LastUpgradeCheck = 0700; ORGANIZATIONNAME = "Dezine Zync Studios LLP."; TargetAttributes = { F0FC8E4F1B4FB1D300FDA46C = { @@ -411,6 +411,7 @@ CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -501,6 +502,7 @@ ); ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = "-ObjC"; + PRODUCT_BUNDLE_IDENTIFIER = "com.dezinezync.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; }; @@ -529,6 +531,7 @@ "$(SDKROOT)/usr/lib/system", ); OTHER_LDFLAGS = "-ObjC"; + PRODUCT_BUNDLE_IDENTIFIER = "com.dezinezync.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; }; @@ -551,6 +554,7 @@ ); INFOPLIST_FILE = DZNetworkingTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.dezinezync.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -568,6 +572,7 @@ ); INFOPLIST_FILE = DZNetworkingTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.dezinezync.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; diff --git a/DZNetworking.xcodeproj/xcshareddata/xcschemes/DZNetworking.xcscheme b/DZNetworking.xcodeproj/xcshareddata/xcschemes/DZNetworking.xcscheme index fa8364f..dd0ad0f 100644 --- a/DZNetworking.xcodeproj/xcshareddata/xcschemes/DZNetworking.xcscheme +++ b/DZNetworking.xcodeproj/xcshareddata/xcschemes/DZNetworking.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -62,15 +62,18 @@ ReferencedContainer = "container:DZNetworking.xcodeproj"> + + CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.dezinezync.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/DZNetworkingTests/Info.plist b/DZNetworkingTests/Info.plist index fa38ea6..ba72822 100644 --- a/DZNetworkingTests/Info.plist +++ b/DZNetworkingTests/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.dezinezync.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName