Initial commit
This commit is contained in:
parent
fe49865c57
commit
69d20eaab7
|
@ -22,7 +22,6 @@ DerivedData
|
|||
# Bundler
|
||||
.bundle
|
||||
|
||||
Carthage
|
||||
# We recommend against adding the Pods directory to your .gitignore. However
|
||||
# you should judge for yourself, the pros and cons are mentioned at:
|
||||
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
platform :osx, '10.10'
|
||||
source 'https://github.com/CocoaPods/Specs.git'
|
||||
use_frameworks!
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
PODS:
|
||||
- SwiftScriptRunner (0.1.0)
|
||||
|
||||
DEPENDENCIES:
|
||||
- SwiftScriptRunner (from `../`)
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
SwiftScriptRunner:
|
||||
:path: "../"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
SwiftScriptRunner: f2e166de0c469c6693048c213b973c1ffde2d352
|
||||
|
||||
COCOAPODS: 0.38.2
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "SwiftScriptRunner",
|
||||
"version": "0.1.0",
|
||||
"summary": "A helper class for running Swift scripts with asynchronous callbacks.",
|
||||
"description": "A helper class for running Swift scripts with asynchronous callbacks.\n * Initialize runner, lock before each async call and unlock once it's done.\n * Wait for all locks to unlock at the end of the script.",
|
||||
"homepage": "https://github.com/mgrebenets/SwiftScriptRunner",
|
||||
"license": "MIT",
|
||||
"authors": {
|
||||
"Maksym Grebenets": "mgrebenets@gmail.com"
|
||||
},
|
||||
"source": {
|
||||
"git": "https://github.com/mgrebenets/SwiftScriptRunner.git",
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"social_media_url": "https://twitter.com/mgrebenets",
|
||||
"platforms": {
|
||||
"osx": "10.10"
|
||||
},
|
||||
"requires_arc": true,
|
||||
"source_files": "Pod/Classes/**/*",
|
||||
"frameworks": "Foundation"
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
PODS:
|
||||
- SwiftScriptRunner (0.1.0)
|
||||
|
||||
DEPENDENCIES:
|
||||
- SwiftScriptRunner (from `../`)
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
SwiftScriptRunner:
|
||||
:path: "../"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
SwiftScriptRunner: f2e166de0c469c6693048c213b973c1ffde2d352
|
||||
|
||||
COCOAPODS: 0.38.2
|
|
@ -0,0 +1,525 @@
|
|||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
20C3D5A18869EF4FDFFB62F6D4954928 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6896430FB049FF41A722C59154D3C1B9 /* Foundation.framework */; };
|
||||
2418E58B1E40EA46979B69EDEFA765ED /* Pods-SwiftScriptRunner_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C3ED7AD2CE012ED237FD1E15E4442EEC /* Pods-SwiftScriptRunner_Tests-dummy.m */; };
|
||||
2ABE8A5E930294620D1D16F0CAF0F779 /* Pods-SwiftScriptRunner_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 39AD9FA7ADAB1FAF09919EC99A9BE301 /* Pods-SwiftScriptRunner_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
3E1045BB4541202E94A81A537EA79A53 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E2E49399F0758F6D5A37F54A2B57C89 /* Cocoa.framework */; };
|
||||
3FEBB2CD2EF15B7A20EB691C27962830 /* SwiftScriptRunner-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D8867D82E0ECC0B0227B6DDD67E2BBC /* SwiftScriptRunner-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
65E7C40341BC291F67FD6F611D8BD36A /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E2E49399F0758F6D5A37F54A2B57C89 /* Cocoa.framework */; };
|
||||
716DA2EFE9D1B5EF7F47FAB346BA0657 /* SwiftScriptRunner.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD40B38E38F8643B13B1641CD65B845A /* SwiftScriptRunner.swift */; };
|
||||
810D5D48E0C5C6CA04C5BCE5C0CD8FF8 /* SwiftScriptRunner-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 50095187B680FFC2B7F963740678CCC2 /* SwiftScriptRunner-dummy.m */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
78366EEA7B193E3780284E79BAEC4534 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 550E1FDEBB51F3FBE1F7BE157C4040D0;
|
||||
remoteInfo = SwiftScriptRunner;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
0A673AE2DAD5CFA2E741DB872899E086 /* Pods_SwiftScriptRunner_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftScriptRunner_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
29BE3727408EC492A170D418E0DA3760 /* SwiftScriptRunner.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = SwiftScriptRunner.modulemap; sourceTree = "<group>"; };
|
||||
39AD9FA7ADAB1FAF09919EC99A9BE301 /* Pods-SwiftScriptRunner_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwiftScriptRunner_Tests-umbrella.h"; sourceTree = "<group>"; };
|
||||
3E2E49399F0758F6D5A37F54A2B57C89 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; };
|
||||
4F9983F6A115B771F39DB2A23BB6A3FD /* Pods-SwiftScriptRunner_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwiftScriptRunner_Tests-resources.sh"; sourceTree = "<group>"; };
|
||||
50095187B680FFC2B7F963740678CCC2 /* SwiftScriptRunner-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SwiftScriptRunner-dummy.m"; sourceTree = "<group>"; };
|
||||
5640C8B090589FCBE975F62FBE71C3C4 /* Pods-SwiftScriptRunner_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwiftScriptRunner_Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
|
||||
6896430FB049FF41A722C59154D3C1B9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
|
||||
6D8867D82E0ECC0B0227B6DDD67E2BBC /* SwiftScriptRunner-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftScriptRunner-umbrella.h"; sourceTree = "<group>"; };
|
||||
7428D0A9EAB6403CD38E2C4FE47E55D8 /* Pods-SwiftScriptRunner_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftScriptRunner_Tests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
76FD26F99C1198EA5C58509A46F8D410 /* SwiftScriptRunner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftScriptRunner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
777EDA903D05F7111C0109FAACA80D86 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
7E79E5EE61CA03ACFC0B9A013037CCBF /* Pods-SwiftScriptRunner_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-SwiftScriptRunner_Tests.modulemap"; sourceTree = "<group>"; };
|
||||
894ACBF732656324ED1BC0497EF28FB7 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
95DC568B6F6428B6278EC7EC8D9F5B55 /* SwiftScriptRunner-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "SwiftScriptRunner-Private.xcconfig"; sourceTree = "<group>"; };
|
||||
982FB328A374322957F558092E6647F3 /* Pods-SwiftScriptRunner_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftScriptRunner_Tests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
B702E32462A8B98BBB7CF78AB0579C8C /* Pods-SwiftScriptRunner_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwiftScriptRunner_Tests-frameworks.sh"; sourceTree = "<group>"; };
|
||||
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
||||
C3ED7AD2CE012ED237FD1E15E4442EEC /* Pods-SwiftScriptRunner_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwiftScriptRunner_Tests-dummy.m"; sourceTree = "<group>"; };
|
||||
CD40B38E38F8643B13B1641CD65B845A /* SwiftScriptRunner.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SwiftScriptRunner.swift; sourceTree = "<group>"; };
|
||||
DA4610115038ED43C45A7D3A847F8B34 /* SwiftScriptRunner-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftScriptRunner-prefix.pch"; sourceTree = "<group>"; };
|
||||
DC4A06C1FBDE20DE587F8C99496F2DF7 /* SwiftScriptRunner.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftScriptRunner.xcconfig; sourceTree = "<group>"; };
|
||||
ECD72E0ECF7829CA970FFB4006374AC5 /* Pods-SwiftScriptRunner_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftScriptRunner_Tests-acknowledgements.plist"; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
12277A9DAC008A71CB97AB71B84F0EC4 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
3E1045BB4541202E94A81A537EA79A53 /* Cocoa.framework in Frameworks */,
|
||||
20C3D5A18869EF4FDFFB62F6D4954928 /* Foundation.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
CBB88AE4FC1BCFE1DA35B45ED0FD7B42 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
65E7C40341BC291F67FD6F611D8BD36A /* Cocoa.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
032C8EAE0DD2AE98697E541516467B52 /* Pods-SwiftScriptRunner_Tests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
894ACBF732656324ED1BC0497EF28FB7 /* Info.plist */,
|
||||
7E79E5EE61CA03ACFC0B9A013037CCBF /* Pods-SwiftScriptRunner_Tests.modulemap */,
|
||||
5640C8B090589FCBE975F62FBE71C3C4 /* Pods-SwiftScriptRunner_Tests-acknowledgements.markdown */,
|
||||
ECD72E0ECF7829CA970FFB4006374AC5 /* Pods-SwiftScriptRunner_Tests-acknowledgements.plist */,
|
||||
C3ED7AD2CE012ED237FD1E15E4442EEC /* Pods-SwiftScriptRunner_Tests-dummy.m */,
|
||||
B702E32462A8B98BBB7CF78AB0579C8C /* Pods-SwiftScriptRunner_Tests-frameworks.sh */,
|
||||
4F9983F6A115B771F39DB2A23BB6A3FD /* Pods-SwiftScriptRunner_Tests-resources.sh */,
|
||||
39AD9FA7ADAB1FAF09919EC99A9BE301 /* Pods-SwiftScriptRunner_Tests-umbrella.h */,
|
||||
982FB328A374322957F558092E6647F3 /* Pods-SwiftScriptRunner_Tests.debug.xcconfig */,
|
||||
7428D0A9EAB6403CD38E2C4FE47E55D8 /* Pods-SwiftScriptRunner_Tests.release.xcconfig */,
|
||||
);
|
||||
name = "Pods-SwiftScriptRunner_Tests";
|
||||
path = "Target Support Files/Pods-SwiftScriptRunner_Tests";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
0BDB3FEFD99587C00AC8E7ABCA0C84C7 /* Targets Support Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
032C8EAE0DD2AE98697E541516467B52 /* Pods-SwiftScriptRunner_Tests */,
|
||||
);
|
||||
name = "Targets Support Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
0D435EDBC799DB7A1EBA851C1373503F /* Pod */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
E4102DBB591541135AF906E6FFA76C1F /* Classes */,
|
||||
);
|
||||
path = Pod;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
52590BF62EC718B3501E9CD51A0043E1 /* SwiftScriptRunner */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0D435EDBC799DB7A1EBA851C1373503F /* Pod */,
|
||||
F6DB939B9F3CCD67B25E8F6AE3F7C4ED /* Support Files */,
|
||||
);
|
||||
name = SwiftScriptRunner;
|
||||
path = ../..;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
75F3419C041E075650D2BF3251582D28 /* Development Pods */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
52590BF62EC718B3501E9CD51A0043E1 /* SwiftScriptRunner */,
|
||||
);
|
||||
name = "Development Pods";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7DB346D0F39D3F0E887471402A8071AB = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
|
||||
75F3419C041E075650D2BF3251582D28 /* Development Pods */,
|
||||
D648CE86F139C7CCFD55D5B8A03BE74B /* Frameworks */,
|
||||
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
|
||||
0BDB3FEFD99587C00AC8E7ABCA0C84C7 /* Targets Support Files */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A3D165204A0DBBB177C0D01935B3D0B7 /* OS X */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3E2E49399F0758F6D5A37F54A2B57C89 /* Cocoa.framework */,
|
||||
6896430FB049FF41A722C59154D3C1B9 /* Foundation.framework */,
|
||||
);
|
||||
name = "OS X";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0A673AE2DAD5CFA2E741DB872899E086 /* Pods_SwiftScriptRunner_Tests.framework */,
|
||||
76FD26F99C1198EA5C58509A46F8D410 /* SwiftScriptRunner.framework */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
D648CE86F139C7CCFD55D5B8A03BE74B /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A3D165204A0DBBB177C0D01935B3D0B7 /* OS X */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E4102DBB591541135AF906E6FFA76C1F /* Classes */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
CD40B38E38F8643B13B1641CD65B845A /* SwiftScriptRunner.swift */,
|
||||
);
|
||||
path = Classes;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F6DB939B9F3CCD67B25E8F6AE3F7C4ED /* Support Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
777EDA903D05F7111C0109FAACA80D86 /* Info.plist */,
|
||||
29BE3727408EC492A170D418E0DA3760 /* SwiftScriptRunner.modulemap */,
|
||||
DC4A06C1FBDE20DE587F8C99496F2DF7 /* SwiftScriptRunner.xcconfig */,
|
||||
95DC568B6F6428B6278EC7EC8D9F5B55 /* SwiftScriptRunner-Private.xcconfig */,
|
||||
50095187B680FFC2B7F963740678CCC2 /* SwiftScriptRunner-dummy.m */,
|
||||
DA4610115038ED43C45A7D3A847F8B34 /* SwiftScriptRunner-prefix.pch */,
|
||||
6D8867D82E0ECC0B0227B6DDD67E2BBC /* SwiftScriptRunner-umbrella.h */,
|
||||
);
|
||||
name = "Support Files";
|
||||
path = "Example/Pods/Target Support Files/SwiftScriptRunner";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
4FCB80C76C4B645A62E44E5B7A541CE2 /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
3FEBB2CD2EF15B7A20EB691C27962830 /* SwiftScriptRunner-umbrella.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
EE3A0798AE2815EAECE80C95C363CA00 /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
2ABE8A5E930294620D1D16F0CAF0F779 /* Pods-SwiftScriptRunner_Tests-umbrella.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXHeadersBuildPhase section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
550E1FDEBB51F3FBE1F7BE157C4040D0 /* SwiftScriptRunner */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 201C046D28B0EF907E5C669B7F637496 /* Build configuration list for PBXNativeTarget "SwiftScriptRunner" */;
|
||||
buildPhases = (
|
||||
18D85B054B6DB8E71D426CC64420EA40 /* Sources */,
|
||||
12277A9DAC008A71CB97AB71B84F0EC4 /* Frameworks */,
|
||||
4FCB80C76C4B645A62E44E5B7A541CE2 /* Headers */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = SwiftScriptRunner;
|
||||
productName = SwiftScriptRunner;
|
||||
productReference = 76FD26F99C1198EA5C58509A46F8D410 /* SwiftScriptRunner.framework */;
|
||||
productType = "com.apple.product-type.framework";
|
||||
};
|
||||
EE61A85D5DF805158360988B1E5293A5 /* Pods-SwiftScriptRunner_Tests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 530DF8402DF069E4B4543A4B5F1B92ED /* Build configuration list for PBXNativeTarget "Pods-SwiftScriptRunner_Tests" */;
|
||||
buildPhases = (
|
||||
FE6A912D749CC8172927C63B8966D2BB /* Sources */,
|
||||
CBB88AE4FC1BCFE1DA35B45ED0FD7B42 /* Frameworks */,
|
||||
EE3A0798AE2815EAECE80C95C363CA00 /* Headers */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
0CBF6F12727CDC28AB7144D3011233A6 /* PBXTargetDependency */,
|
||||
);
|
||||
name = "Pods-SwiftScriptRunner_Tests";
|
||||
productName = "Pods-SwiftScriptRunner_Tests";
|
||||
productReference = 0A673AE2DAD5CFA2E741DB872899E086 /* Pods_SwiftScriptRunner_Tests.framework */;
|
||||
productType = "com.apple.product-type.framework";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 0700;
|
||||
LastUpgradeCheck = 0700;
|
||||
};
|
||||
buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
|
||||
productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
EE61A85D5DF805158360988B1E5293A5 /* Pods-SwiftScriptRunner_Tests */,
|
||||
550E1FDEBB51F3FBE1F7BE157C4040D0 /* SwiftScriptRunner */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
18D85B054B6DB8E71D426CC64420EA40 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
810D5D48E0C5C6CA04C5BCE5C0CD8FF8 /* SwiftScriptRunner-dummy.m in Sources */,
|
||||
716DA2EFE9D1B5EF7F47FAB346BA0657 /* SwiftScriptRunner.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
FE6A912D749CC8172927C63B8966D2BB /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
2418E58B1E40EA46979B69EDEFA765ED /* Pods-SwiftScriptRunner_Tests-dummy.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
0CBF6F12727CDC28AB7144D3011233A6 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = SwiftScriptRunner;
|
||||
target = 550E1FDEBB51F3FBE1F7BE157C4040D0 /* SwiftScriptRunner */;
|
||||
targetProxy = 78366EEA7B193E3780284E79BAEC4534 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
1DF235371CBABCEC453C60F163FCCF43 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 95DC568B6F6428B6278EC7EC8D9F5B55 /* SwiftScriptRunner-Private.xcconfig */;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 0.1.0;
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 0.1.0;
|
||||
DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_VERSION = A;
|
||||
GCC_PREFIX_HEADER = "Target Support Files/SwiftScriptRunner/SwiftScriptRunner-prefix.pch";
|
||||
INFOPLIST_FILE = "Target Support Files/SwiftScriptRunner/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/SwiftScriptRunner/SwiftScriptRunner.modulemap";
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
PRODUCT_NAME = SwiftScriptRunner;
|
||||
SDKROOT = macosx;
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1E621D6BF749EDCE77ACBE7C6D464E29 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
STRIP_INSTALLED_PRODUCT = NO;
|
||||
SYMROOT = "${SRCROOT}/../build";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
5577A3F22A37686E40DB6863D68D476C /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = YES;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||
STRIP_INSTALLED_PRODUCT = NO;
|
||||
SYMROOT = "${SRCROOT}/../build";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
5CBB2D94790AA8197571E80BBF60F52D /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 7428D0A9EAB6403CD38E2C4FE47E55D8 /* Pods-SwiftScriptRunner_Tests.release.xcconfig */;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_VERSION = A;
|
||||
INFOPLIST_FILE = "Target Support Files/Pods-SwiftScriptRunner_Tests/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/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests.modulemap";
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
OTHER_LDFLAGS = "";
|
||||
OTHER_LIBTOOLFLAGS = "";
|
||||
PODS_ROOT = "$(SRCROOT)";
|
||||
PRODUCT_NAME = Pods_SwiftScriptRunner_Tests;
|
||||
SDKROOT = macosx;
|
||||
SKIP_INSTALL = YES;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
94442FD22D6AC46ECA910E931C687418 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 95DC568B6F6428B6278EC7EC8D9F5B55 /* SwiftScriptRunner-Private.xcconfig */;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 0.1.0;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 0.1.0;
|
||||
DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_VERSION = A;
|
||||
GCC_PREFIX_HEADER = "Target Support Files/SwiftScriptRunner/SwiftScriptRunner-prefix.pch";
|
||||
INFOPLIST_FILE = "Target Support Files/SwiftScriptRunner/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/SwiftScriptRunner/SwiftScriptRunner.modulemap";
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
PRODUCT_NAME = SwiftScriptRunner;
|
||||
SDKROOT = macosx;
|
||||
SKIP_INSTALL = YES;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
BA9DE8DB4C5D0BF8BD7F0AA7B6FFAE54 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 982FB328A374322957F558092E6647F3 /* Pods-SwiftScriptRunner_Tests.debug.xcconfig */;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_VERSION = A;
|
||||
INFOPLIST_FILE = "Target Support Files/Pods-SwiftScriptRunner_Tests/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/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests.modulemap";
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
OTHER_LDFLAGS = "";
|
||||
OTHER_LIBTOOLFLAGS = "";
|
||||
PODS_ROOT = "$(SRCROOT)";
|
||||
PRODUCT_NAME = Pods_SwiftScriptRunner_Tests;
|
||||
SDKROOT = macosx;
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
201C046D28B0EF907E5C669B7F637496 /* Build configuration list for PBXNativeTarget "SwiftScriptRunner" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1DF235371CBABCEC453C60F163FCCF43 /* Debug */,
|
||||
94442FD22D6AC46ECA910E931C687418 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1E621D6BF749EDCE77ACBE7C6D464E29 /* Debug */,
|
||||
5577A3F22A37686E40DB6863D68D476C /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
530DF8402DF069E4B4543A4B5F1B92ED /* Build configuration list for PBXNativeTarget "Pods-SwiftScriptRunner_Tests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
BA9DE8DB4C5D0BF8BD7F0AA7B6FFAE54 /* Debug */,
|
||||
5CBB2D94790AA8197571E80BBF60F52D /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
|
||||
}
|
62
Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftScriptRunner.xcscheme
generated
Normal file
62
Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwiftScriptRunner.xcscheme
generated
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0700"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "3825AC0902383B0F00B70C6D"
|
||||
BuildableName = "SwiftScriptRunner.framework"
|
||||
BlueprintName = "SwiftScriptRunner"
|
||||
ReferencedContainer = "container:Pods.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -0,0 +1,26 @@
|
|||
<?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>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,26 @@
|
|||
# Acknowledgements
|
||||
This application makes use of the following third party libraries:
|
||||
|
||||
## SwiftScriptRunner
|
||||
|
||||
Copyright (c) 2015 Maksym Grebenets <maksym.grebenets@cba.com.au>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
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 SOFTWARE.
|
||||
|
||||
Generated by CocoaPods - http://cocoapods.org
|
|
@ -0,0 +1,56 @@
|
|||
<?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>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>This application makes use of the following third party libraries:</string>
|
||||
<key>Title</key>
|
||||
<string>Acknowledgements</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>Copyright (c) 2015 Maksym Grebenets <maksym.grebenets@cba.com.au>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
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 SOFTWARE.
|
||||
</string>
|
||||
<key>Title</key>
|
||||
<string>SwiftScriptRunner</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>Generated by CocoaPods - http://cocoapods.org</string>
|
||||
<key>Title</key>
|
||||
<string></string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>StringsTable</key>
|
||||
<string>Acknowledgements</string>
|
||||
<key>Title</key>
|
||||
<string>Acknowledgements</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,5 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_Pods_SwiftScriptRunner_Tests : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_Pods_SwiftScriptRunner_Tests
|
||||
@end
|
59
Example/Pods/Target Support Files/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests-frameworks.sh
generated
Executable file
59
Example/Pods/Target Support Files/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests-frameworks.sh
generated
Executable file
|
@ -0,0 +1,59 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
local source="${BUILT_PRODUCTS_DIR}/$1"
|
||||
else
|
||||
local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
|
||||
fi
|
||||
|
||||
local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
if [ -L "${source}" ]; then
|
||||
echo "Symlinked..."
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
# Resign the code if required by the build settings to avoid unstable apps
|
||||
code_sign_if_enabled "${destination}/$(basename "$1")"
|
||||
|
||||
# Embed linked Swift runtime libraries
|
||||
local basename
|
||||
basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})"
|
||||
local swift_runtime_libs
|
||||
swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
|
||||
for lib in $swift_runtime_libs; do
|
||||
echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
|
||||
rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
|
||||
code_sign_if_enabled "${destination}/${lib}"
|
||||
done
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
# Use the current code_sign_identitiy
|
||||
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\""
|
||||
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||
install_framework 'Pods-SwiftScriptRunner_Tests/SwiftScriptRunner.framework'
|
||||
fi
|
||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||
install_framework 'Pods-SwiftScriptRunner_Tests/SwiftScriptRunner.framework'
|
||||
fi
|
95
Example/Pods/Target Support Files/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests-resources.sh
generated
Executable file
95
Example/Pods/Target Support Files/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests-resources.sh
generated
Executable file
|
@ -0,0 +1,95 @@
|
|||
#!/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" ]]; 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
|
|
@ -0,0 +1,6 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double Pods_SwiftScriptRunner_TestsVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char Pods_SwiftScriptRunner_TestsVersionString[];
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
CODE_SIGN_IDENTITY =
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks'
|
||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/SwiftScriptRunner.framework/Headers"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "SwiftScriptRunner"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-SwiftScriptRunner_Tests
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
|
@ -0,0 +1,6 @@
|
|||
framework module Pods_SwiftScriptRunner_Tests {
|
||||
umbrella header "Pods-SwiftScriptRunner_Tests-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
CODE_SIGN_IDENTITY =
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks'
|
||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/SwiftScriptRunner.framework/Headers"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "SwiftScriptRunner"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-SwiftScriptRunner_Tests
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
|
@ -0,0 +1,26 @@
|
|||
<?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>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
8
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-Private.xcconfig
generated
Normal file
8
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-Private.xcconfig
generated
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include "SwiftScriptRunner.xcconfig"
|
||||
CODE_SIGN_IDENTITY =
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SwiftScriptRunner" "${PODS_ROOT}/Headers/Public"
|
||||
OTHER_LDFLAGS = ${SWIFTSCRIPTRUNNER_OTHER_LDFLAGS}
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
SKIP_INSTALL = YES
|
5
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-dummy.m
generated
Normal file
5
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-dummy.m
generated
Normal file
|
@ -0,0 +1,5 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_SwiftScriptRunner : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_SwiftScriptRunner
|
||||
@end
|
4
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-prefix.pch
generated
Normal file
4
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-prefix.pch
generated
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#endif
|
||||
|
6
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-umbrella.h
generated
Normal file
6
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner-umbrella.h
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double SwiftScriptRunnerVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char SwiftScriptRunnerVersionString[];
|
||||
|
6
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner.modulemap
generated
Normal file
6
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner.modulemap
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
framework module SwiftScriptRunner {
|
||||
umbrella header "SwiftScriptRunner-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
1
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner.xcconfig
generated
Normal file
1
Example/Pods/Target Support Files/SwiftScriptRunner/SwiftScriptRunner.xcconfig
generated
Normal file
|
@ -0,0 +1 @@
|
|||
SWIFTSCRIPTRUNNER_OTHER_LDFLAGS = -framework "Foundation"
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
/* Begin PBXFileReference section */
|
||||
372079FCBB1714B449C7DC7E /* Pods_SwiftScriptRunner_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftScriptRunner_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
607FACE51AFB9204008FA782 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = Tests.xctest; path = SwiftScriptRunner_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
607FACE51AFB9204008FA782 /* SwiftScriptRunner_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftScriptRunner_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
|
||||
61C9BDB1A6A9FA2EBA4D5E4D /* Pods-SwiftScriptRunner_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftScriptRunner_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwiftScriptRunner_Tests/Pods-SwiftScriptRunner_Tests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
|
@ -66,7 +66,7 @@
|
|||
607FACD11AFB9204008FA782 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
607FACE51AFB9204008FA782 /* Tests.xctest */,
|
||||
607FACE51AFB9204008FA782 /* SwiftScriptRunner_Tests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
|
@ -118,7 +118,7 @@
|
|||
);
|
||||
name = SwiftScriptRunner_Tests;
|
||||
productName = Tests;
|
||||
productReference = 607FACE51AFB9204008FA782 /* Tests.xctest */;
|
||||
productReference = 607FACE51AFB9204008FA782 /* SwiftScriptRunner_Tests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
@ -127,6 +127,7 @@
|
|||
607FACC81AFB9204008FA782 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 0710;
|
||||
LastUpgradeCheck = 0630;
|
||||
ORGANIZATIONNAME = CocoaPods;
|
||||
TargetAttributes = {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:SwiftScriptRunner.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:Pods/Pods.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
|
@ -0,0 +1,34 @@
|
|||
//
|
||||
// Swift Script Runner
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Helper for running Swift scripts with async callbacks
|
||||
public class SwiftScriptRunner {
|
||||
/// A poor man's mutex
|
||||
private var count = 0
|
||||
/// Current run loop
|
||||
private let runLoop = NSRunLoop.currentRunLoop()
|
||||
|
||||
/// Initializer
|
||||
public init() {}
|
||||
|
||||
/// Lock the script
|
||||
public func lock() {
|
||||
count++
|
||||
}
|
||||
|
||||
/// Unlock the script
|
||||
public func unlock() {
|
||||
count--
|
||||
}
|
||||
|
||||
/// Wait for all locks to unlock
|
||||
public func wait() {
|
||||
while count > 0 &&
|
||||
runLoop.runMode(NSDefaultRunLoopMode, beforeDate: NSDate(timeIntervalSinceNow: 0.1)) {
|
||||
// Run, run, run
|
||||
}
|
||||
}
|
||||
}
|
38
README.md
38
README.md
|
@ -1,28 +1,50 @@
|
|||
# SwiftScriptRunner
|
||||
|
||||
[![CI Status](http://img.shields.io/travis/Maksym Grebenets/SwiftScriptRunner.svg?style=flat)](https://travis-ci.org/Maksym Grebenets/SwiftScriptRunner)
|
||||
[![CI Status](http://img.shields.io/travis/mgrebenets/SwiftScriptRunner.svg?style=flat)](https://travis-ci.org/mgrebenets/SwiftScriptRunner)
|
||||
[![Version](https://img.shields.io/cocoapods/v/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
|
||||
[![License](https://img.shields.io/cocoapods/l/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
|
||||
[![Platform](https://img.shields.io/cocoapods/p/SwiftScriptRunner.svg?style=flat)](http://cocoapods.org/pods/SwiftScriptRunner)
|
||||
|
||||
## Usage
|
||||
|
||||
To run the example project, clone the repo, and run `pod install` from the Example directory first.
|
||||
|
||||
## Requirements
|
||||
|
||||
## Installation
|
||||
|
||||
SwiftScriptRunner is available through [CocoaPods](http://cocoapods.org). To install
|
||||
it, simply add the following line to your Podfile:
|
||||
SwiftScriptRunner is available through [CocoaPods Rome](https://github.com/neonichu/Rome) and [Carthage](https://github.com/Carthage/Carthage).
|
||||
|
||||
### CocoaPods Rome
|
||||
|
||||
Make sure you have [cocoapods-rome](https://github.com/neonichu/Rome) Ruby gem insalled.
|
||||
|
||||
Add the following line to your Podfile:
|
||||
|
||||
```ruby
|
||||
pod "SwiftScriptRunner"
|
||||
```
|
||||
|
||||
And run
|
||||
```bash
|
||||
pod install --no-integrate
|
||||
```
|
||||
|
||||
### Carthage
|
||||
|
||||
Add the following line to your Cartfile:
|
||||
|
||||
```ruby
|
||||
```
|
||||
|
||||
And run
|
||||
|
||||
```bash
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
Maksym Grebenets, maksym.grebenets@cba.com.au
|
||||
Maksym Grebenets, mgrebenets@gmail.com, @mgrebenets
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -9,32 +9,24 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "SwiftScriptRunner"
|
||||
s.version = "0.1.0"
|
||||
s.summary = "A short description of SwiftScriptRunner."
|
||||
s.summary = "A helper class for running Swift scripts with asynchronous callbacks."
|
||||
|
||||
# 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?
|
||||
# * Try to keep it short, snappy and to the point.
|
||||
# * Write the description between the DESC delimiters below.
|
||||
# * Finally, don't worry about the indent, CocoaPods strips it!
|
||||
s.description = <<-DESC
|
||||
A helper class for running Swift scripts with asynchronous callbacks.
|
||||
* Initialize runner, lock before each async call and unlock once it's done.
|
||||
* Wait for all locks to unlock at the end of the script.
|
||||
DESC
|
||||
|
||||
s.homepage = "https://github.com/<GITHUB_USERNAME>/SwiftScriptRunner"
|
||||
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
||||
s.homepage = "https://github.com/mgrebenets/SwiftScriptRunner"
|
||||
s.license = 'MIT'
|
||||
s.author = { "Maksym Grebenets" => "maksym.grebenets@cba.com.au" }
|
||||
s.source = { :git => "https://github.com/<GITHUB_USERNAME>/SwiftScriptRunner.git", :tag => s.version.to_s }
|
||||
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
||||
s.author = { "Maksym Grebenets" => "mgrebenets@gmail.com" }
|
||||
s.source = { :git => "https://github.com/mgrebenets/SwiftScriptRunner.git", :tag => s.version.to_s }
|
||||
s.social_media_url = 'https://twitter.com/mgrebenets'
|
||||
|
||||
s.platform = :ios, '8.0'
|
||||
s.platform = :osx, "10.10"
|
||||
s.requires_arc = true
|
||||
|
||||
s.source_files = 'Pod/Classes/**/*'
|
||||
s.resource_bundles = {
|
||||
'SwiftScriptRunner' => ['Pod/Assets/*.png']
|
||||
}
|
||||
|
||||
# s.public_header_files = 'Pod/Classes/**/*.h'
|
||||
# s.frameworks = 'UIKit', 'MapKit'
|
||||
# s.dependency 'AFNetworking', '~> 2.3'
|
||||
s.frameworks = 'Foundation'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue