Removed Cocoapods from ignore file
to store it repository. See also: http://stackoverflow.com/a/34558516
This commit is contained in:
parent
455d752dd5
commit
2ec0ed9213
|
@ -86,8 +86,8 @@ xcuserdata
|
||||||
# you should judge for yourself, the pros and cons are mentioned at:
|
# you should judge for yourself, the pros and cons are mentioned at:
|
||||||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
||||||
|
|
||||||
Pods/
|
# Pods/
|
||||||
Podfile.lock
|
# Podfile.lock
|
||||||
|
|
||||||
# Carthage
|
# Carthage
|
||||||
#
|
#
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
011751B3D4AD9735349867C6 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF41A9979A4CFCFF60FAB4EB /* Pods.framework */; };
|
|
||||||
9441AFBD1CA3920400A7D593 /* MKHCustomAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 9441AFBC1CA3920400A7D593 /* MKHCustomAPI.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
9441AFBD1CA3920400A7D593 /* MKHCustomAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 9441AFBC1CA3920400A7D593 /* MKHCustomAPI.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
9441AFC41CA3920400A7D593 /* MKHCustomAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9441AFB91CA3920400A7D593 /* MKHCustomAPI.framework */; };
|
9441AFC41CA3920400A7D593 /* MKHCustomAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9441AFB91CA3920400A7D593 /* MKHCustomAPI.framework */; };
|
||||||
9441AFC91CA3920400A7D593 /* MKHCustomAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFC81CA3920400A7D593 /* MKHCustomAPITests.swift */; };
|
9441AFC91CA3920400A7D593 /* MKHCustomAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFC81CA3920400A7D593 /* MKHCustomAPITests.swift */; };
|
||||||
9441AFD51CA392E200A7D593 /* Main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFD41CA392E200A7D593 /* Main.swift */; };
|
9441AFD51CA392E200A7D593 /* Main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFD41CA392E200A7D593 /* Main.swift */; };
|
||||||
9441AFD71CA3A2FC00A7D593 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFD61CA3A2FC00A7D593 /* ParameterEncoding.swift */; };
|
9441AFD71CA3A2FC00A7D593 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9441AFD61CA3A2FC00A7D593 /* ParameterEncoding.swift */; };
|
||||||
|
E718176CB7C611129FD103A1 /* Pods_MKHCustomAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BEFDB12B527DB8C6B12CA2F /* Pods_MKHCustomAPI.framework */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
|
@ -26,6 +26,8 @@
|
||||||
/* End PBXContainerItemProxy section */
|
/* End PBXContainerItemProxy section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
52DB679835E63A839ECBC0E9 /* Pods-MKHCustomAPI.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MKHCustomAPI.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
|
6BEFDB12B527DB8C6B12CA2F /* Pods_MKHCustomAPI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MKHCustomAPI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
75F9DEB43EAE5DF1714B1192 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
|
75F9DEB43EAE5DF1714B1192 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
9441AFB91CA3920400A7D593 /* MKHCustomAPI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MKHCustomAPI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
9441AFB91CA3920400A7D593 /* MKHCustomAPI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MKHCustomAPI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
9441AFBC1CA3920400A7D593 /* MKHCustomAPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MKHCustomAPI.h; sourceTree = "<group>"; };
|
9441AFBC1CA3920400A7D593 /* MKHCustomAPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MKHCustomAPI.h; sourceTree = "<group>"; };
|
||||||
|
@ -35,7 +37,7 @@
|
||||||
9441AFCA1CA3920400A7D593 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
9441AFCA1CA3920400A7D593 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
9441AFD41CA392E200A7D593 /* Main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Main.swift; sourceTree = "<group>"; };
|
9441AFD41CA392E200A7D593 /* Main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Main.swift; sourceTree = "<group>"; };
|
||||||
9441AFD61CA3A2FC00A7D593 /* ParameterEncoding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParameterEncoding.swift; sourceTree = "<group>"; };
|
9441AFD61CA3A2FC00A7D593 /* ParameterEncoding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParameterEncoding.swift; sourceTree = "<group>"; };
|
||||||
BF41A9979A4CFCFF60FAB4EB /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
B5973DCC8F448DFBD94A92B6 /* Pods-MKHCustomAPI.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MKHCustomAPI.release.xcconfig"; path = "Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.release.xcconfig"; sourceTree = "<group>"; };
|
||||||
F5E32346E9438EFEB946A32A /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
|
F5E32346E9438EFEB946A32A /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
@ -44,7 +46,7 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
011751B3D4AD9735349867C6 /* Pods.framework in Frameworks */,
|
E718176CB7C611129FD103A1 /* Pods_MKHCustomAPI.framework in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
@ -64,6 +66,8 @@
|
||||||
children = (
|
children = (
|
||||||
75F9DEB43EAE5DF1714B1192 /* Pods.debug.xcconfig */,
|
75F9DEB43EAE5DF1714B1192 /* Pods.debug.xcconfig */,
|
||||||
F5E32346E9438EFEB946A32A /* Pods.release.xcconfig */,
|
F5E32346E9438EFEB946A32A /* Pods.release.xcconfig */,
|
||||||
|
52DB679835E63A839ECBC0E9 /* Pods-MKHCustomAPI.debug.xcconfig */,
|
||||||
|
B5973DCC8F448DFBD94A92B6 /* Pods-MKHCustomAPI.release.xcconfig */,
|
||||||
);
|
);
|
||||||
name = Pods;
|
name = Pods;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -120,7 +124,7 @@
|
||||||
EB367F4940462A1CB8A8184B /* Frameworks */ = {
|
EB367F4940462A1CB8A8184B /* Frameworks */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
BF41A9979A4CFCFF60FAB4EB /* Pods.framework */,
|
6BEFDB12B527DB8C6B12CA2F /* Pods_MKHCustomAPI.framework */,
|
||||||
);
|
);
|
||||||
name = Frameworks;
|
name = Frameworks;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -143,12 +147,12 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 9441AFCD1CA3920400A7D593 /* Build configuration list for PBXNativeTarget "MKHCustomAPI" */;
|
buildConfigurationList = 9441AFCD1CA3920400A7D593 /* Build configuration list for PBXNativeTarget "MKHCustomAPI" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
B946F46EC1FA4E38059930C7 /* Check Pods Manifest.lock */,
|
79A4E0D52E410523084F7C76 /* 📦 Check Pods Manifest.lock */,
|
||||||
9441AFB41CA3920400A7D593 /* Sources */,
|
9441AFB41CA3920400A7D593 /* Sources */,
|
||||||
9441AFB51CA3920400A7D593 /* Frameworks */,
|
9441AFB51CA3920400A7D593 /* Frameworks */,
|
||||||
9441AFB61CA3920400A7D593 /* Headers */,
|
9441AFB61CA3920400A7D593 /* Headers */,
|
||||||
9441AFB71CA3920400A7D593 /* Resources */,
|
9441AFB71CA3920400A7D593 /* Resources */,
|
||||||
F923213378C66EE010E82754 /* Copy Pods Resources */,
|
96F903E162E064FC934A8065 /* 📦 Copy Pods Resources */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -231,14 +235,14 @@
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
B946F46EC1FA4E38059930C7 /* Check Pods Manifest.lock */ = {
|
79A4E0D52E410523084F7C76 /* 📦 Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
);
|
);
|
||||||
inputPaths = (
|
inputPaths = (
|
||||||
);
|
);
|
||||||
name = "Check Pods Manifest.lock";
|
name = "📦 Check Pods Manifest.lock";
|
||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
@ -246,19 +250,19 @@
|
||||||
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
|
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
F923213378C66EE010E82754 /* Copy Pods Resources */ = {
|
96F903E162E064FC934A8065 /* 📦 Copy Pods Resources */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
);
|
);
|
||||||
inputPaths = (
|
inputPaths = (
|
||||||
);
|
);
|
||||||
name = "Copy Pods Resources";
|
name = "📦 Copy Pods Resources";
|
||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
|
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-resources.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
@ -385,7 +389,7 @@
|
||||||
};
|
};
|
||||||
9441AFCE1CA3920400A7D593 /* Debug */ = {
|
9441AFCE1CA3920400A7D593 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = 75F9DEB43EAE5DF1714B1192 /* Pods.debug.xcconfig */;
|
baseConfigurationReference = 52DB679835E63A839ECBC0E9 /* Pods-MKHCustomAPI.debug.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
DEFINES_MODULE = YES;
|
DEFINES_MODULE = YES;
|
||||||
|
@ -404,7 +408,7 @@
|
||||||
};
|
};
|
||||||
9441AFCF1CA3920400A7D593 /* Release */ = {
|
9441AFCF1CA3920400A7D593 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = F5E32346E9438EFEB946A32A /* Pods.release.xcconfig */;
|
baseConfigurationReference = B5973DCC8F448DFBD94A92B6 /* Pods-MKHCustomAPI.release.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
DEFINES_MODULE = YES;
|
DEFINES_MODULE = YES;
|
||||||
|
|
|
@ -3,8 +3,12 @@ source 'https://github.com/CocoaPods/Specs.git'
|
||||||
platform :ios, '8.0'
|
platform :ios, '8.0'
|
||||||
|
|
||||||
workspace 'MKHCustomAPI'
|
workspace 'MKHCustomAPI'
|
||||||
xcodeproj 'MKHCustomAPI'
|
project 'MKHCustomAPI'
|
||||||
|
|
||||||
use_frameworks!
|
use_frameworks!
|
||||||
|
|
||||||
pod 'MKHSyncSession', :git => 'https://github.com/maximkhatskevich/MKHSyncSession.git'
|
target 'MKHCustomAPI' do
|
||||||
|
|
||||||
|
pod 'MKHSyncSession', :git => 'https://github.com/maximkhatskevich/MKHSyncSession.git'
|
||||||
|
|
||||||
|
end
|
|
@ -1,5 +1,5 @@
|
||||||
PODS:
|
PODS:
|
||||||
- MKHSyncSession (1.1.0)
|
- MKHSyncSession (1.2.0)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- MKHSyncSession (from `https://github.com/maximkhatskevich/MKHSyncSession.git`)
|
- MKHSyncSession (from `https://github.com/maximkhatskevich/MKHSyncSession.git`)
|
||||||
|
@ -10,10 +10,12 @@ EXTERNAL SOURCES:
|
||||||
|
|
||||||
CHECKOUT OPTIONS:
|
CHECKOUT OPTIONS:
|
||||||
MKHSyncSession:
|
MKHSyncSession:
|
||||||
:commit: ccd5032fb93a30478d487bbb3aeda9e09daae914
|
:commit: 1d40fd8aa983e52727b0f2c76f930917709059d5
|
||||||
:git: https://github.com/maximkhatskevich/MKHSyncSession.git
|
:git: https://github.com/maximkhatskevich/MKHSyncSession.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
MKHSyncSession: e2289593f44171b74bb36715a1d0a7b3eb484047
|
MKHSyncSession: 52631ae816f27af4106340909fa762abe6bd7b65
|
||||||
|
|
||||||
COCOAPODS: 0.39.0
|
PODFILE CHECKSUM: 6698edfa37faf9ebd19a752347e043d5b95599c2
|
||||||
|
|
||||||
|
COCOAPODS: 1.0.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "MKHSyncSession",
|
"name": "MKHSyncSession",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"summary": "Tiny extension for NSURLSession that enables synchronous task execution written in Swift.",
|
"summary": "Tiny extension for NSURLSession that enables synchronous task execution written in Swift.",
|
||||||
"homepage": "https://github.com/maximkhatskevich/#{s.name}",
|
"homepage": "https://github.com/maximkhatskevich/#{s.name}",
|
||||||
"license": {
|
"license": {
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
|
|
||||||
public
|
public
|
||||||
typealias DataTaskResult =
|
typealias DataTaskResult =
|
||||||
(data: NSData?, response: NSURLResponse?, error: NSError?)
|
(data: NSData?, response: NSHTTPURLResponse?, error: NSError?)
|
||||||
|
|
||||||
public
|
public
|
||||||
typealias UploadTaskResult = DataTaskResult
|
typealias UploadTaskResult =
|
||||||
|
(data: NSData?, response: NSURLResponse?, error: NSError?)
|
||||||
|
|
||||||
public
|
public
|
||||||
typealias DownloadTaskResult =
|
typealias DownloadTaskResult =
|
||||||
|
@ -42,7 +43,7 @@ extension NSURLSession
|
||||||
request,
|
request,
|
||||||
completionHandler: { (data, response, error) in
|
completionHandler: { (data, response, error) in
|
||||||
|
|
||||||
result = (data, response, error)
|
result = (data, response as? NSHTTPURLResponse, error)
|
||||||
|
|
||||||
//===
|
//===
|
||||||
|
|
||||||
|
@ -189,32 +190,3 @@ extension NSURLSession
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension NSURLSession {
|
|
||||||
/*
|
|
||||||
* data task convenience methods. These methods create tasks that
|
|
||||||
* bypass the normal delegate calls for response and data delivery,
|
|
||||||
* and provide a simple cancelable asynchronous interface to receiving
|
|
||||||
* data. Errors will be returned in the NSURLErrorDomain,
|
|
||||||
* see <Foundation/NSURLError.h>. The delegate, if any, will still be
|
|
||||||
* called for authentication challenges.
|
|
||||||
*/
|
|
||||||
// public func dataTaskWithRequest(request: NSURLRequest, completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask
|
|
||||||
// public func dataTaskWithURL(url: NSURL, completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDataTask
|
|
||||||
//
|
|
||||||
// /*
|
|
||||||
// * upload convenience method.
|
|
||||||
// */
|
|
||||||
// public func uploadTaskWithRequest(request: NSURLRequest, fromFile fileURL: NSURL, completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask
|
|
||||||
// public func uploadTaskWithRequest(request: NSURLRequest, fromData bodyData: NSData?, completionHandler: (NSData?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionUploadTask
|
|
||||||
//
|
|
||||||
// /*
|
|
||||||
// * download task convenience methods. When a download successfully
|
|
||||||
// * completes, the NSURL will point to a file that must be read or
|
|
||||||
// * copied during the invocation of the completion routine. The file
|
|
||||||
// * will be removed automatically.
|
|
||||||
// */
|
|
||||||
// public func downloadTaskWithRequest(request: NSURLRequest, completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
|
|
||||||
// public func downloadTaskWithURL(url: NSURL, completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
|
|
||||||
// public func downloadTaskWithResumeData(resumeData: NSData, completionHandler: (NSURL?, NSURLResponse?, NSError?) -> Void) -> NSURLSessionDownloadTask
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
PODS:
|
PODS:
|
||||||
- MKHSyncSession (1.1.0)
|
- MKHSyncSession (1.2.0)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- MKHSyncSession (from `https://github.com/maximkhatskevich/MKHSyncSession.git`)
|
- MKHSyncSession (from `https://github.com/maximkhatskevich/MKHSyncSession.git`)
|
||||||
|
@ -10,10 +10,12 @@ EXTERNAL SOURCES:
|
||||||
|
|
||||||
CHECKOUT OPTIONS:
|
CHECKOUT OPTIONS:
|
||||||
MKHSyncSession:
|
MKHSyncSession:
|
||||||
:commit: ccd5032fb93a30478d487bbb3aeda9e09daae914
|
:commit: 1d40fd8aa983e52727b0f2c76f930917709059d5
|
||||||
:git: https://github.com/maximkhatskevich/MKHSyncSession.git
|
:git: https://github.com/maximkhatskevich/MKHSyncSession.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
MKHSyncSession: e2289593f44171b74bb36715a1d0a7b3eb484047
|
MKHSyncSession: 52631ae816f27af4106340909fa762abe6bd7b65
|
||||||
|
|
||||||
COCOAPODS: 0.39.0
|
PODFILE CHECKSUM: 6698edfa37faf9ebd19a752347e043d5b95599c2
|
||||||
|
|
||||||
|
COCOAPODS: 1.0.0
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -7,7 +7,7 @@
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>${EXECUTABLE_NAME}</string>
|
<string>${EXECUTABLE_NAME}</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
|
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.1.0</string>
|
<string>1.2.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
|
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MKHSyncSession
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MKHSyncSession" "${PODS_ROOT}/Headers/Public"
|
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
|
||||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||||
|
PODS_BUILD_DIR = $BUILD_DIR
|
||||||
|
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||||
PODS_ROOT = ${SRCROOT}
|
PODS_ROOT = ${SRCROOT}
|
||||||
SKIP_INSTALL = YES
|
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||||
|
SKIP_INSTALL = YES
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>${EXECUTABLE_NAME}</string>
|
<string>${EXECUTABLE_NAME}</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
|
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
|
@ -25,4 +25,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
Generated by CocoaPods - http://cocoapods.org
|
Generated by CocoaPods - https://cocoapods.org
|
|
@ -43,7 +43,7 @@ SOFTWARE.
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>FooterText</key>
|
<key>FooterText</key>
|
||||||
<string>Generated by CocoaPods - http://cocoapods.org</string>
|
<string>Generated by CocoaPods - https://cocoapods.org</string>
|
||||||
<key>Title</key>
|
<key>Title</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
<key>Type</key>
|
<key>Type</key>
|
5
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-dummy.m
generated
Normal file
5
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-dummy.m
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
@interface PodsDummy_Pods_MKHCustomAPI : NSObject
|
||||||
|
@end
|
||||||
|
@implementation PodsDummy_Pods_MKHCustomAPI
|
||||||
|
@end
|
|
@ -16,7 +16,7 @@ install_framework()
|
||||||
local source="$1"
|
local source="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||||
|
|
||||||
if [ -L "${source}" ]; then
|
if [ -L "${source}" ]; then
|
||||||
echo "Symlinked..."
|
echo "Symlinked..."
|
||||||
|
@ -59,8 +59,8 @@ code_sign_if_enabled() {
|
||||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||||
# Use the current code_sign_identitiy
|
# Use the current code_sign_identitiy
|
||||||
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
|
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
|
||||||
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\""
|
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\""
|
||||||
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
|
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,8 +84,8 @@ strip_invalid_archs() {
|
||||||
|
|
||||||
|
|
||||||
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||||
install_framework "Pods/MKHSyncSession.framework"
|
install_framework "$BUILT_PRODUCTS_DIR/MKHSyncSession/MKHSyncSession.framework"
|
||||||
fi
|
fi
|
||||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||||
install_framework "Pods/MKHSyncSession.framework"
|
install_framework "$BUILT_PRODUCTS_DIR/MKHSyncSession/MKHSyncSession.framework"
|
||||||
fi
|
fi
|
102
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-resources.sh
generated
Executable file
102
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-resources.sh
generated
Executable file
|
@ -0,0 +1,102 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
|
||||||
|
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||||
|
> "$RESOURCES_TO_COPY"
|
||||||
|
|
||||||
|
XCASSET_FILES=()
|
||||||
|
|
||||||
|
case "${TARGETED_DEVICE_FAMILY}" in
|
||||||
|
1,2)
|
||||||
|
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||||
|
;;
|
||||||
|
1)
|
||||||
|
TARGET_DEVICE_ARGS="--target-device iphone"
|
||||||
|
;;
|
||||||
|
2)
|
||||||
|
TARGET_DEVICE_ARGS="--target-device ipad"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
TARGET_DEVICE_ARGS="--target-device mac"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
realpath() {
|
||||||
|
DIRECTORY="$(cd "${1%/*}" && pwd)"
|
||||||
|
FILENAME="${1##*/}"
|
||||||
|
echo "$DIRECTORY/$FILENAME"
|
||||||
|
}
|
||||||
|
|
||||||
|
install_resource()
|
||||||
|
{
|
||||||
|
if [[ "$1" = /* ]] ; then
|
||||||
|
RESOURCE_PATH="$1"
|
||||||
|
else
|
||||||
|
RESOURCE_PATH="${PODS_ROOT}/$1"
|
||||||
|
fi
|
||||||
|
if [[ ! -e "$RESOURCE_PATH" ]] ; then
|
||||||
|
cat << EOM
|
||||||
|
error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
|
||||||
|
EOM
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
case $RESOURCE_PATH in
|
||||||
|
*.storyboard)
|
||||||
|
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||||
|
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||||
|
;;
|
||||||
|
*.xib)
|
||||||
|
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT}"
|
||||||
|
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}"
|
||||||
|
;;
|
||||||
|
*.framework)
|
||||||
|
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||||
|
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||||
|
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||||
|
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||||
|
;;
|
||||||
|
*.xcdatamodel)
|
||||||
|
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||||
|
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||||
|
;;
|
||||||
|
*.xcdatamodeld)
|
||||||
|
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||||
|
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||||
|
;;
|
||||||
|
*.xcmappingmodel)
|
||||||
|
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||||
|
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||||
|
;;
|
||||||
|
*.xcassets)
|
||||||
|
ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH")
|
||||||
|
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$RESOURCE_PATH"
|
||||||
|
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
|
||||||
|
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
fi
|
||||||
|
rm -f "$RESOURCES_TO_COPY"
|
||||||
|
|
||||||
|
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
|
||||||
|
then
|
||||||
|
# Find all other xcassets (this unfortunately includes those of path pods and other targets).
|
||||||
|
OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
|
||||||
|
while read line; do
|
||||||
|
if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
|
||||||
|
XCASSET_FILES+=("$line")
|
||||||
|
fi
|
||||||
|
done <<<"$OTHER_XCASSETS"
|
||||||
|
|
||||||
|
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||||
|
fi
|
6
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-umbrella.h
generated
Normal file
6
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI-umbrella.h
generated
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
|
||||||
|
FOUNDATION_EXPORT double Pods_MKHCustomAPIVersionNumber;
|
||||||
|
FOUNDATION_EXPORT const unsigned char Pods_MKHCustomAPIVersionString[];
|
||||||
|
|
10
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.debug.xcconfig
generated
Normal file
10
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.debug.xcconfig
generated
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
|
||||||
|
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MKHSyncSession"
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||||
|
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MKHSyncSession/MKHSyncSession.framework/Headers"
|
||||||
|
OTHER_LDFLAGS = $(inherited) -framework "MKHSyncSession"
|
||||||
|
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||||
|
PODS_BUILD_DIR = $BUILD_DIR
|
||||||
|
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||||
|
PODS_ROOT = ${SRCROOT}/Pods
|
6
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.modulemap
generated
Normal file
6
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.modulemap
generated
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
framework module Pods_MKHCustomAPI {
|
||||||
|
umbrella header "Pods-MKHCustomAPI-umbrella.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
}
|
10
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.release.xcconfig
generated
Normal file
10
Framework/Pods/Target Support Files/Pods-MKHCustomAPI/Pods-MKHCustomAPI.release.xcconfig
generated
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
|
||||||
|
FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/MKHSyncSession"
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
|
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||||
|
OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/MKHSyncSession/MKHSyncSession.framework/Headers"
|
||||||
|
OTHER_LDFLAGS = $(inherited) -framework "MKHSyncSession"
|
||||||
|
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||||
|
PODS_BUILD_DIR = $BUILD_DIR
|
||||||
|
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||||
|
PODS_ROOT = ${SRCROOT}/Pods
|
|
@ -1,5 +0,0 @@
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
@interface PodsDummy_Pods : NSObject
|
|
||||||
@end
|
|
||||||
@implementation PodsDummy_Pods
|
|
||||||
@end
|
|
|
@ -1,95 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
|
|
||||||
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
|
||||||
> "$RESOURCES_TO_COPY"
|
|
||||||
|
|
||||||
XCASSET_FILES=()
|
|
||||||
|
|
||||||
realpath() {
|
|
||||||
DIRECTORY="$(cd "${1%/*}" && pwd)"
|
|
||||||
FILENAME="${1##*/}"
|
|
||||||
echo "$DIRECTORY/$FILENAME"
|
|
||||||
}
|
|
||||||
|
|
||||||
install_resource()
|
|
||||||
{
|
|
||||||
case $1 in
|
|
||||||
*.storyboard)
|
|
||||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
|
|
||||||
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
|
|
||||||
;;
|
|
||||||
*.xib)
|
|
||||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
|
|
||||||
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
|
|
||||||
;;
|
|
||||||
*.framework)
|
|
||||||
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
||||||
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
||||||
echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
||||||
rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
||||||
;;
|
|
||||||
*.xcdatamodel)
|
|
||||||
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
|
|
||||||
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
|
|
||||||
;;
|
|
||||||
*.xcdatamodeld)
|
|
||||||
echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
|
|
||||||
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
|
|
||||||
;;
|
|
||||||
*.xcmappingmodel)
|
|
||||||
echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
|
|
||||||
xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
|
|
||||||
;;
|
|
||||||
*.xcassets)
|
|
||||||
ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
|
|
||||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
|
||||||
;;
|
|
||||||
/*)
|
|
||||||
echo "$1"
|
|
||||||
echo "$1" >> "$RESOURCES_TO_COPY"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "${PODS_ROOT}/$1"
|
|
||||||
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
|
|
||||||
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
fi
|
|
||||||
rm -f "$RESOURCES_TO_COPY"
|
|
||||||
|
|
||||||
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
|
|
||||||
then
|
|
||||||
case "${TARGETED_DEVICE_FAMILY}" in
|
|
||||||
1,2)
|
|
||||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
|
||||||
;;
|
|
||||||
1)
|
|
||||||
TARGET_DEVICE_ARGS="--target-device iphone"
|
|
||||||
;;
|
|
||||||
2)
|
|
||||||
TARGET_DEVICE_ARGS="--target-device ipad"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
TARGET_DEVICE_ARGS="--target-device mac"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Find all other xcassets (this unfortunately includes those of path pods and other targets).
|
|
||||||
OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
|
|
||||||
while read line; do
|
|
||||||
if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
|
|
||||||
XCASSET_FILES+=("$line")
|
|
||||||
fi
|
|
||||||
done <<<"$OTHER_XCASSETS"
|
|
||||||
|
|
||||||
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
|
||||||
fi
|
|
|
@ -1,6 +0,0 @@
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
|
|
||||||
FOUNDATION_EXPORT double PodsVersionNumber;
|
|
||||||
FOUNDATION_EXPORT const unsigned char PodsVersionString[];
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
|
||||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MKHSyncSession.framework/Headers"
|
|
||||||
OTHER_LDFLAGS = $(inherited) -framework "MKHSyncSession"
|
|
||||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
|
||||||
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
|
|
||||||
PODS_ROOT = ${SRCROOT}/Pods
|
|
|
@ -1,6 +0,0 @@
|
||||||
framework module Pods {
|
|
||||||
umbrella header "Pods-umbrella.h"
|
|
||||||
|
|
||||||
export *
|
|
||||||
module * { export * }
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
|
||||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/MKHSyncSession.framework/Headers"
|
|
||||||
OTHER_LDFLAGS = $(inherited) -framework "MKHSyncSession"
|
|
||||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
|
||||||
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
|
|
||||||
PODS_ROOT = ${SRCROOT}/Pods
|
|
Loading…
Reference in New Issue