diff --git a/.gitignore b/.gitignore index efa667d..9c3f821 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,13 @@ -# Xcode +# Mac OS X .DS_Store -*/build/* + +# Xcode + +## Build generated +build/ +DerivedData + +## Various settings *.pbxuser !default.pbxuser *.mode1v3 @@ -10,12 +17,26 @@ *.perspectivev3 !default.perspectivev3 xcuserdata -profile + +## Other +*.xccheckout *.moved-aside -DerivedData -.idea/ +*.xcuserstate +*.xcscmblueprint + +## Obj-C/Swift specific *.hmap -*.xcworkspace -*.xccheckout -*.lock -Example/Pods/* +*.ipa + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +.build/ + +# Carthage +Carthage/Build + +# CocoaPods +Pods diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3045268 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Carthage/Checkouts/PromiseKit"] + path = Carthage/Checkouts/PromiseKit + url = https://github.com/mxcl/PromiseKit.git diff --git a/.travis.yml b/.travis.yml index 57829b3..49686f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,46 +1,37 @@ language: objective-c osx_image: xcode8.3 -podfile: Example/Podfile env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - - WORKSPACE=Example/AwaitKit.xcworkspace - - IOS_FRAMEWORK_SCHEME="AwaitKit iOS" - - MACOS_FRAMEWORK_SCHEME="AwaitKit macOS" - - TVOS_FRAMEWORK_SCHEME="AwaitKit tvOS" - - WATCHOS_FRAMEWORK_SCHEME="AwaitKit watchOS" + - SCHEME="AwaitKit" matrix: - - SCHEME="$WATCHOS_FRAMEWORK_SCHEME" DESTINATION="OS=3.1,name=Apple Watch - 42mm" RUN_TESTS="NO" POD_LINT="NO" RUN_CODECOV="NO" - - SCHEME="$WATCHOS_FRAMEWORK_SCHEME" DESTINATION="OS=2.0,name=Apple Watch - 42mm" RUN_TESTS="NO" POD_LINT="NO" RUN_CODECOV="NO" + - DESTINATION="OS=3.1,name=Apple Watch - 42mm" RUN_TESTS="NO" RUN_CODECOV="NO" + - DESTINATION="OS=2.0,name=Apple Watch - 42mm" RUN_TESTS="NO" RUN_CODECOV="NO" - - SCHEME="$TVOS_FRAMEWORK_SCHEME" DESTINATION="OS=10.0,name=Apple TV 1080p" RUN_TESTS="YES" POD_LINT="NO" RUN_CODECOV="NO" + - DESTINATION="OS=10.0,name=Apple TV 1080p" RUN_TESTS="YES" RUN_CODECOV="NO" - - SCHEME="$IOS_FRAMEWORK_SCHEME" DESTINATION="OS=10.0,name=iPhone 6s" RUN_TESTS="YES" POD_LINT="NO" RUN_CODECOV="YES" - - SCHEME="$IOS_FRAMEWORK_SCHEME" DESTINATION="OS=9.0,name=iPad 2" RUN_TESTS="YES" POD_LINT="NO" RUN_CODECOV="YES" + - DESTINATION="OS=10.0,name=iPhone 6s" RUN_TESTS="YES" RUN_CODECOV="YES" + - DESTINATION="OS=9.0,name=iPad 2" RUN_TESTS="YES" RUN_CODECOV="YES" - - SCHEME="$MACOS_FRAMEWORK_SCHEME" DESTINATION="arch=x86_64,platform=macOS" RUN_TESTS="YES" POD_LINT="NO" RUN_CODECOV="YES" + - DESTINATION="arch=x86_64,platform=macOS" RUN_TESTS="YES" RUN_CODECOV="YES" script: - set -o pipefail + - git submodule update --init - xcodebuild -version # Build Framework in Debug and Run Tests if specified - if [ $RUN_TESTS == "YES" ]; then - travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty; + travis_retry xcodebuild -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release GCC_GENERATE_TEST_COVERAGE_FILES=YES -enableCodeCoverage YES test | xcpretty; else - travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty; + travis_retry xcodebuild -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug build | xcpretty; fi # Build Framework in Release and Run Tests if specified - if [ $RUN_TESTS == "YES" ]; then - travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty; + travis_retry xcodebuild -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release GCC_GENERATE_TEST_COVERAGE_FILES=YES -enableCodeCoverage YES test | xcpretty; else - travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty; - fi - - # Run `pod lib lint` if specified - - if [ $POD_LINT == "YES" ]; then - pod lib lint; + travis_retry xcodebuild -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty; fi after_success: # Run the `codecov` service if specified diff --git a/AwaitKit.podspec b/AwaitKit.podspec index 9f83b6a..9f724a3 100644 --- a/AwaitKit.podspec +++ b/AwaitKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AwaitKit' - s.version = '3.0.1' + s.version = '3.0.2' s.license = 'MIT' s.summary = 'The ES8 Async/Await control flow for Swift ' s.homepage = 'https://github.com/yannickl/AwaitKit.git' @@ -16,7 +16,7 @@ Pod::Spec.new do |s| s.ios.framework = 'Foundation' - s.dependency 'PromiseKit', '~> 4.2' + s.dependency 'PromiseKit', '~> 4.3' s.source_files = 'Sources/**/*.swift' s.requires_arc = true diff --git a/AwaitKit.xcodeproj/project.pbxproj b/AwaitKit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..aaac33d --- /dev/null +++ b/AwaitKit.xcodeproj/project.pbxproj @@ -0,0 +1,530 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + FE41FCDD1F46D9AC00CD2271 /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCD21F46D9A700CD2271 /* AwaitKit.swift */; }; + FE41FCDE1F46D9AC00CD2271 /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCD31F46D9A700CD2271 /* AwaitKitExtension.swift */; }; + FE41FCDF1F46D9AC00CD2271 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCD41F46D9A700CD2271 /* DispatchQueue+Async.swift */; }; + FE41FCE01F46D9AC00CD2271 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCD51F46D9A700CD2271 /* DispatchQueue+Await.swift */; }; + FE41FD201F46DB6800CD2271 /* PromiseKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE41FD061F46DA7800CD2271 /* PromiseKit.framework */; }; + FE41FD651F46F1C300CD2271 /* AwaitKitAsyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCF11F46D9DB00CD2271 /* AwaitKitAsyncTests.swift */; }; + FE41FD661F46F1C300CD2271 /* AwaitKitAwaitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCF21F46D9DB00CD2271 /* AwaitKitAwaitTests.swift */; }; + FE41FD671F46F1C300CD2271 /* AwaitKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCF31F46D9DB00CD2271 /* AwaitKitTests.swift */; }; + FE41FD6B1F46F1F600CD2271 /* AwaitKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FEF0141E1E39E12200C4A60B /* AwaitKit.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + FE41FD051F46DA7800CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 63B0AC571D595E1B00FA21D9; + remoteInfo = PromiseKit; + }; + FE41FD071F46DA7800CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 631751A81D59766500A9DDDC; + remoteInfo = "PMKA+Tests"; + }; + FE41FD091F46DA7800CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6314113C1D59795700E24B9E; + remoteInfo = PMKBridgeTests; + }; + FE41FD0B1F46DA7800CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 630019221D596292003B4E30; + remoteInfo = PMKCoreTests; + }; + FE41FD0D1F46DA7800CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6314112F1D5978D700E24B9E; + remoteInfo = PMKDispatchTests; + }; + FE41FD0F1F46DA8E00CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 63B0AC561D595E1B00FA21D9; + remoteInfo = PromiseKit; + }; + FE41FD681F46F1E600CD2271 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FEF014151E39E12200C4A60B /* Project object */; + proxyType = 1; + remoteGlobalIDString = FEF0141D1E39E12200C4A60B; + remoteInfo = AwaitKit; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + FE41FCD21F46D9A700CD2271 /* AwaitKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKit.swift; sourceTree = ""; }; + FE41FCD31F46D9A700CD2271 /* AwaitKitExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKitExtension.swift; sourceTree = ""; }; + FE41FCD41F46D9A700CD2271 /* DispatchQueue+Async.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DispatchQueue+Async.swift"; sourceTree = ""; }; + FE41FCD51F46D9A700CD2271 /* DispatchQueue+Await.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DispatchQueue+Await.swift"; sourceTree = ""; }; + FE41FCD61F46D9A700CD2271 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FE41FCDC1F46D9A700CD2271 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FE41FCF11F46D9DB00CD2271 /* AwaitKitAsyncTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKitAsyncTests.swift; sourceTree = ""; }; + FE41FCF21F46D9DB00CD2271 /* AwaitKitAwaitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKitAwaitTests.swift; sourceTree = ""; }; + FE41FCF31F46D9DB00CD2271 /* AwaitKitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKitTests.swift; sourceTree = ""; }; + FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PromiseKit.xcodeproj; path = Carthage/Checkouts/PromiseKit/PromiseKit.xcodeproj; sourceTree = ""; }; + FE41FD5D1F46F19F00CD2271 /* AwaitKit Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AwaitKit Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + FEF0141E1E39E12200C4A60B /* AwaitKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AwaitKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + FE41FD5A1F46F19F00CD2271 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FD6B1F46F1F600CD2271 /* AwaitKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FEF0141A1E39E12200C4A60B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FD201F46DB6800CD2271 /* PromiseKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + FE41FCD11F46D9A700CD2271 /* Sources */ = { + isa = PBXGroup; + children = ( + FE41FCD21F46D9A700CD2271 /* AwaitKit.swift */, + FE41FCD31F46D9A700CD2271 /* AwaitKitExtension.swift */, + FE41FCD41F46D9A700CD2271 /* DispatchQueue+Async.swift */, + FE41FCD51F46D9A700CD2271 /* DispatchQueue+Await.swift */, + FE41FCD61F46D9A700CD2271 /* Info.plist */, + ); + path = Sources; + sourceTree = ""; + }; + FE41FCD71F46D9A700CD2271 /* Tests */ = { + isa = PBXGroup; + children = ( + FE41FCF11F46D9DB00CD2271 /* AwaitKitAsyncTests.swift */, + FE41FCF21F46D9DB00CD2271 /* AwaitKitAwaitTests.swift */, + FE41FCF31F46D9DB00CD2271 /* AwaitKitTests.swift */, + FE41FCDC1F46D9A700CD2271 /* Info.plist */, + ); + path = Tests; + sourceTree = ""; + }; + FE41FCFE1F46DA7800CD2271 /* Products */ = { + isa = PBXGroup; + children = ( + FE41FD061F46DA7800CD2271 /* PromiseKit.framework */, + FE41FD081F46DA7800CD2271 /* PMKA+Tests.xctest */, + FE41FD0A1F46DA7800CD2271 /* PMKBridgeTests.xctest */, + FE41FD0C1F46DA7800CD2271 /* PMKCoreTests.xctest */, + FE41FD0E1F46DA7800CD2271 /* PMKDispatchTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + FEF014141E39E12200C4A60B = { + isa = PBXGroup; + children = ( + FE41FCD11F46D9A700CD2271 /* Sources */, + FE41FCD71F46D9A700CD2271 /* Tests */, + FEF0141F1E39E12200C4A60B /* Products */, + FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */, + ); + sourceTree = ""; + }; + FEF0141F1E39E12200C4A60B /* Products */ = { + isa = PBXGroup; + children = ( + FEF0141E1E39E12200C4A60B /* AwaitKit.framework */, + FE41FD5D1F46F19F00CD2271 /* AwaitKit Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + FEF0141B1E39E12200C4A60B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + FE41FD5C1F46F19F00CD2271 /* AwaitKit Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FE41FD621F46F19F00CD2271 /* Build configuration list for PBXNativeTarget "AwaitKit Tests" */; + buildPhases = ( + FE41FD591F46F19F00CD2271 /* Sources */, + FE41FD5A1F46F19F00CD2271 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + FE41FD691F46F1E600CD2271 /* PBXTargetDependency */, + ); + name = "AwaitKit Tests"; + productName = "AwaitKit Tests"; + productReference = FE41FD5D1F46F19F00CD2271 /* AwaitKit Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + FEF0141D1E39E12200C4A60B /* AwaitKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = FEF014261E39E12200C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit" */; + buildPhases = ( + FEF014191E39E12200C4A60B /* Sources */, + FEF0141A1E39E12200C4A60B /* Frameworks */, + FEF0141B1E39E12200C4A60B /* Headers */, + FEF0141C1E39E12200C4A60B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FE41FD101F46DA8E00CD2271 /* PBXTargetDependency */, + ); + name = AwaitKit; + productName = AwaitKit; + productReference = FEF0141E1E39E12200C4A60B /* AwaitKit.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FEF014151E39E12200C4A60B /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0830; + ORGANIZATIONNAME = "Yannick Loriot"; + TargetAttributes = { + FE41FD5C1F46F19F00CD2271 = { + CreatedOnToolsVersion = 8.3.3; + ProvisioningStyle = Automatic; + }; + FEF0141D1E39E12200C4A60B = { + CreatedOnToolsVersion = 8.2.1; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = FEF014181E39E12200C4A60B /* Build configuration list for PBXProject "AwaitKit" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FEF014141E39E12200C4A60B; + productRefGroup = FEF0141F1E39E12200C4A60B /* Products */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = FE41FCFE1F46DA7800CD2271 /* Products */; + ProjectRef = FE41FCFD1F46DA7800CD2271 /* PromiseKit.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + FEF0141D1E39E12200C4A60B /* AwaitKit */, + FE41FD5C1F46F19F00CD2271 /* AwaitKit Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + FE41FD061F46DA7800CD2271 /* PromiseKit.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = PromiseKit.framework; + remoteRef = FE41FD051F46DA7800CD2271 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + FE41FD081F46DA7800CD2271 /* PMKA+Tests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = "PMKA+Tests.xctest"; + remoteRef = FE41FD071F46DA7800CD2271 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + FE41FD0A1F46DA7800CD2271 /* PMKBridgeTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = PMKBridgeTests.xctest; + remoteRef = FE41FD091F46DA7800CD2271 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + FE41FD0C1F46DA7800CD2271 /* PMKCoreTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = PMKCoreTests.xctest; + remoteRef = FE41FD0B1F46DA7800CD2271 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + FE41FD0E1F46DA7800CD2271 /* PMKDispatchTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = PMKDispatchTests.xctest; + remoteRef = FE41FD0D1F46DA7800CD2271 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + FEF0141C1E39E12200C4A60B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FE41FD591F46F19F00CD2271 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FD661F46F1C300CD2271 /* AwaitKitAwaitTests.swift in Sources */, + FE41FD671F46F1C300CD2271 /* AwaitKitTests.swift in Sources */, + FE41FD651F46F1C300CD2271 /* AwaitKitAsyncTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FEF014191E39E12200C4A60B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FCDF1F46D9AC00CD2271 /* DispatchQueue+Async.swift in Sources */, + FE41FCDD1F46D9AC00CD2271 /* AwaitKit.swift in Sources */, + FE41FCE01F46D9AC00CD2271 /* DispatchQueue+Await.swift in Sources */, + FE41FCDE1F46D9AC00CD2271 /* AwaitKitExtension.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + FE41FD101F46DA8E00CD2271 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = PromiseKit; + targetProxy = FE41FD0F1F46DA8E00CD2271 /* PBXContainerItemProxy */; + }; + FE41FD691F46F1E600CD2271 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FEF0141D1E39E12200C4A60B /* AwaitKit */; + targetProxy = FE41FD681F46F1E600CD2271 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + FE41FD631F46F19F00CD2271 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + FE41FD641F46F19F00CD2271 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; + FEF014241E39E12200C4A60B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 3.0.2; + DEBUG_INFORMATION_FORMAT = dwarf; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_DYLIB_INSTALL_NAME = "@rpath"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "macosx appletvsimulator appletvos watchsimulator iphonesimulator watchos iphoneos"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TVOS_DEPLOYMENT_TARGET = 9.0; + VERSIONING_SYSTEM = "apple-generic"; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + FEF014251E39E12200C4A60B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 3.0.2; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_DYLIB_INSTALL_NAME = "@rpath"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "macosx appletvsimulator appletvos watchsimulator iphonesimulator watchos iphoneos"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TVOS_DEPLOYMENT_TARGET = 9.0; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; + FEF014271E39E12200C4A60B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + FEF014281E39E12200C4A60B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FE41FD621F46F19F00CD2271 /* Build configuration list for PBXNativeTarget "AwaitKit Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE41FD631F46F19F00CD2271 /* Debug */, + FE41FD641F46F19F00CD2271 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FEF014181E39E12200C4A60B /* Build configuration list for PBXProject "AwaitKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FEF014241E39E12200C4A60B /* Debug */, + FEF014251E39E12200C4A60B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FEF014261E39E12200C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FEF014271E39E12200C4A60B /* Debug */, + FEF014281E39E12200C4A60B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = FEF014151E39E12200C4A60B /* Project object */; +} diff --git a/AwaitKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AwaitKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/AwaitKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit iOS.xcscheme b/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit.xcscheme similarity index 86% rename from Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit iOS.xcscheme rename to AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit.xcscheme index 951fa6b..bf7f289 100644 --- a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit iOS.xcscheme +++ b/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit.xcscheme @@ -4,7 +4,7 @@ version = "1.3"> + buildImplicitDependencies = "NO"> + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -45,7 +44,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "FEF0141D1E39E12200C4A60B" BuildableName = "AwaitKit.framework" - BlueprintName = "AwaitKit iOS" + BlueprintName = "AwaitKit" ReferencedContainer = "container:AwaitKit.xcodeproj"> @@ -67,7 +66,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "FEF0141D1E39E12200C4A60B" BuildableName = "AwaitKit.framework" - BlueprintName = "AwaitKit iOS" + BlueprintName = "AwaitKit" ReferencedContainer = "container:AwaitKit.xcodeproj"> @@ -85,7 +84,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "FEF0141D1E39E12200C4A60B" BuildableName = "AwaitKit.framework" - BlueprintName = "AwaitKit iOS" + BlueprintName = "AwaitKit" ReferencedContainer = "container:AwaitKit.xcodeproj"> diff --git a/Cartfile b/Cartfile index 0cd9993..aa67f29 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1 @@ -github "mxcl/PromiseKit" ~> 4.2 \ No newline at end of file +github "mxcl/PromiseKit" ~> 4.3 diff --git a/Cartfile.resolved b/Cartfile.resolved new file mode 100644 index 0000000..d94639e --- /dev/null +++ b/Cartfile.resolved @@ -0,0 +1 @@ +github "mxcl/PromiseKit" "4.3.2" diff --git a/Carthage/Checkouts/PromiseKit b/Carthage/Checkouts/PromiseKit new file mode 160000 index 0000000..61f7963 --- /dev/null +++ b/Carthage/Checkouts/PromiseKit @@ -0,0 +1 @@ +Subproject commit 61f796319b16f0d4f3a8cd939d8e7f9a74963038 diff --git a/Example/AwaitKit.xcodeproj/project.pbxproj b/Example/AwaitKit.xcodeproj/project.pbxproj deleted file mode 100644 index a38fd75..0000000 --- a/Example/AwaitKit.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1610 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 02E6A0EA3EA8D5C47F068432 /* Pods_AwaitKit_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC1E1C296F95BB89C4EB5DE6 /* Pods_AwaitKit_iOS.framework */; }; - 049C11111E462DB000C63B98 /* AwaitKitAsyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110B1E462D4000C63B98 /* AwaitKitAsyncTests.swift */; }; - 049C11121E462DB000C63B98 /* AwaitKitAwaitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110C1E462D4000C63B98 /* AwaitKitAwaitTests.swift */; }; - 049C11131E462DB000C63B98 /* AwaitKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110D1E462D4000C63B98 /* AwaitKitTests.swift */; }; - 049C11141E462DB000C63B98 /* AwaitKitAsyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110B1E462D4000C63B98 /* AwaitKitAsyncTests.swift */; }; - 049C11151E462DB000C63B98 /* AwaitKitAwaitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110C1E462D4000C63B98 /* AwaitKitAwaitTests.swift */; }; - 049C11161E462DB000C63B98 /* AwaitKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110D1E462D4000C63B98 /* AwaitKitTests.swift */; }; - 049C11171E462DB100C63B98 /* AwaitKitAsyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110B1E462D4000C63B98 /* AwaitKitAsyncTests.swift */; }; - 049C11181E462DB100C63B98 /* AwaitKitAwaitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110C1E462D4000C63B98 /* AwaitKitAwaitTests.swift */; }; - 049C11191E462DB100C63B98 /* AwaitKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049C110D1E462D4000C63B98 /* AwaitKitTests.swift */; }; - 40F0453E37E8BCB0B5D228B5 /* Pods_AwaitKit_tvOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25708497A0CFC1064F117C1F /* Pods_AwaitKit_tvOS_Tests.framework */; }; - 8168B7E0F883E2242F68FAE2 /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 47AD4AB9045A7C470D86617F /* Pods_Example.framework */; }; - 90EDC823BE8D0B6A600E40D1 /* Pods_AwaitKit_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E898FDC7AD40404A130FEE22 /* Pods_AwaitKit_macOS.framework */; }; - C96F3EAB0F83A416B4FFA1E5 /* Pods_AwaitKit_watchOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FB6D61AD37CFD32F6945829 /* Pods_AwaitKit_watchOS.framework */; }; - CD659348FBE57C16E3B680E1 /* Pods_AwaitKit_macOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEB501890661A09DF871EF65 /* Pods_AwaitKit_macOS_Tests.framework */; }; - CE32D1701E44EA7F006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1711E44EA85006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1721E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1731E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1741E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1751E44EA87006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE32D1761E44EA87006FBA3F /* AwaitKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */; }; - CE55175A1E44DF38008444BB /* Info-tvOS.plist in Resources */ = {isa = PBXBuildFile; fileRef = CE5517581E44DF38008444BB /* Info-tvOS.plist */; }; - E970161CDD890F960B1E637E /* Pods_AwaitKit_tvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15E6F745D7E456EF75BA7261 /* Pods_AwaitKit_tvOS.framework */; }; - EDB3608E4B26A7567FFFD836 /* Pods_AwaitKit_iOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 01A49CA4E3EA5639F3B6D020 /* Pods_AwaitKit_iOS_Tests.framework */; }; - FEC3485D1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC3485E1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC3485F1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC348601E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC348611E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC348621E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC348631E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */; }; - FEC348651E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC348661E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC348671E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC348681E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC348691E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC3486A1E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEC3486B1E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */; }; - FEF014311E39E1A200C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014681E39E43400C4A60B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF014671E39E43400C4A60B /* AppDelegate.swift */; }; - FEF0146A1E39E43400C4A60B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF014691E39E43400C4A60B /* ViewController.swift */; }; - FEF0146D1E39E43400C4A60B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FEF0146B1E39E43400C4A60B /* Main.storyboard */; }; - FEF0146F1E39E43400C4A60B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FEF0146E1E39E43400C4A60B /* Assets.xcassets */; }; - FEF014721E39E43400C4A60B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FEF014701E39E43400C4A60B /* LaunchScreen.storyboard */; }; - FEF014801E39E4CE00C4A60B /* AwaitKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FEF0141E1E39E12200C4A60B /* AwaitKit.framework */; }; - FEF0148F1E39E4DE00C4A60B /* AwaitKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FEF014391E39E1C900C4A60B /* AwaitKit.framework */; }; - FEF014B91E39E73200C4A60B /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = FEF014B81E39E73200C4A60B /* Info.plist */; }; - FEF014BC1E39E9E900C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014BF1E39E9EA00C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014C21E39E9EA00C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014C81E39EA9100C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014CB1E39EA9200C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; - FEF014DF1E39EBEC00C4A60B /* AwaitKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FEF014461E39E1D300C4A60B /* AwaitKit.framework */; }; - FEF014E81E39EC1700C4A60B /* AwaitKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF0142B1E39E18700C4A60B /* AwaitKit.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - FEF014811E39E4CE00C4A60B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FEF014151E39E12200C4A60B /* Project object */; - proxyType = 1; - remoteGlobalIDString = FEF0141D1E39E12200C4A60B; - remoteInfo = "AwaitKit iOS"; - }; - FEF014901E39E4DE00C4A60B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FEF014151E39E12200C4A60B /* Project object */; - proxyType = 1; - remoteGlobalIDString = FEF014381E39E1C900C4A60B; - remoteInfo = "AwaitKit macOS"; - }; - FEF014E01E39EBEC00C4A60B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FEF014151E39E12200C4A60B /* Project object */; - proxyType = 1; - remoteGlobalIDString = FEF014451E39E1D300C4A60B; - remoteInfo = "AwaitKit tvOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 01A49CA4E3EA5639F3B6D020 /* Pods_AwaitKit_iOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_iOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 049C110B1E462D4000C63B98 /* AwaitKitAsyncTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AwaitKitAsyncTests.swift; path = AwaitKitTests/AwaitKitAsyncTests.swift; sourceTree = ""; }; - 049C110C1E462D4000C63B98 /* AwaitKitAwaitTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AwaitKitAwaitTests.swift; path = AwaitKitTests/AwaitKitAwaitTests.swift; sourceTree = ""; }; - 049C110D1E462D4000C63B98 /* AwaitKitTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AwaitKitTests.swift; path = AwaitKitTests/AwaitKitTests.swift; sourceTree = ""; }; - 149E20CCD8D74F0E03A4356F /* Pods-AwaitKit iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit iOS/Pods-AwaitKit iOS.debug.xcconfig"; sourceTree = ""; }; - 15E6F745D7E456EF75BA7261 /* Pods_AwaitKit_tvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_tvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 186309834DB0D23F61D419BC /* Pods-AwaitKit tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit tvOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit tvOS/Pods-AwaitKit tvOS.release.xcconfig"; sourceTree = ""; }; - 19CB31814A3A5CE5FEF318BD /* Pods-AwaitKit tvOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit tvOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit tvOS Tests/Pods-AwaitKit tvOS Tests.debug.xcconfig"; sourceTree = ""; }; - 1B2DC8851E6683A639F1DCAA /* Pods-AwaitKit macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit macOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit macOS/Pods-AwaitKit macOS.release.xcconfig"; sourceTree = ""; }; - 1F1A88B8453E03B0545140BB /* Pods-AwaitKit watchOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit watchOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit watchOS/Pods-AwaitKit watchOS.release.xcconfig"; sourceTree = ""; }; - 25708497A0CFC1064F117C1F /* Pods_AwaitKit_tvOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_tvOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2DB196D8BB5FAD62BFFCC08B /* Pods-AwaitKit macOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit macOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit macOS Tests/Pods-AwaitKit macOS Tests.debug.xcconfig"; sourceTree = ""; }; - 47AD4AB9045A7C470D86617F /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 86B6DC902166E5ABBCB97BFF /* Pods-AwaitKit tvOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit tvOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit tvOS Tests/Pods-AwaitKit tvOS Tests.release.xcconfig"; sourceTree = ""; }; - 86CBAA97042791FEBE8AE581 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; - 896F108DFBCFB67DDD7F4FE4 /* Pods-AwaitKit macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit macOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit macOS/Pods-AwaitKit macOS.debug.xcconfig"; sourceTree = ""; }; - 8A96F070252E73A77B820A82 /* Pods-AwaitKit watchOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit watchOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit watchOS/Pods-AwaitKit watchOS.debug.xcconfig"; sourceTree = ""; }; - 8FB6D61AD37CFD32F6945829 /* Pods_AwaitKit_watchOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_watchOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8FD4406E68FCF654F45B809A /* Pods-AwaitKit iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit iOS/Pods-AwaitKit iOS.release.xcconfig"; sourceTree = ""; }; - 8FE996E8629C841E264564D8 /* Pods-AwaitKit iOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit iOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit iOS Tests/Pods-AwaitKit iOS Tests.release.xcconfig"; sourceTree = ""; }; - B1FDB42C5604509798D12DA4 /* Pods-AwaitKit iOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit iOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit iOS Tests/Pods-AwaitKit iOS Tests.debug.xcconfig"; sourceTree = ""; }; - B66AF009C20392E80BC712DD /* Pods-AwaitKit macOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit macOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit macOS Tests/Pods-AwaitKit macOS Tests.release.xcconfig"; sourceTree = ""; }; - CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AwaitKitExtension.swift; sourceTree = ""; }; - CE5517571E44DF38008444BB /* Info-iOS.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-iOS.plist"; sourceTree = ""; }; - CE5517581E44DF38008444BB /* Info-tvOS.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-tvOS.plist"; sourceTree = ""; }; - DC1E1C296F95BB89C4EB5DE6 /* Pods_AwaitKit_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - DEB501890661A09DF871EF65 /* Pods_AwaitKit_macOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_macOS_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E898FDC7AD40404A130FEE22 /* Pods_AwaitKit_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AwaitKit_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EBDBFB35AAD002C3853A4E09 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; - FB1337BAA2605467283B1C26 /* Pods-AwaitKit tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AwaitKit tvOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AwaitKit tvOS/Pods-AwaitKit tvOS.debug.xcconfig"; sourceTree = ""; }; - FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DispatchQueue+Async.swift"; sourceTree = ""; }; - FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DispatchQueue+Await.swift"; sourceTree = ""; }; - FEF0141E1E39E12200C4A60B /* AwaitKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AwaitKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF0142B1E39E18700C4A60B /* AwaitKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AwaitKit.swift; sourceTree = ""; }; - FEF014391E39E1C900C4A60B /* AwaitKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AwaitKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF014461E39E1D300C4A60B /* AwaitKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AwaitKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF014531E39E1DA00C4A60B /* AwaitKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AwaitKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF0145E1E39E2F100C4A60B /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - FEF014651E39E43400C4A60B /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF014671E39E43400C4A60B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - FEF014691E39E43400C4A60B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - FEF0146C1E39E43400C4A60B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - FEF0146E1E39E43400C4A60B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - FEF014711E39E43400C4A60B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - FEF0147B1E39E4CE00C4A60B /* AwaitKit iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AwaitKit iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF0148A1E39E4DE00C4A60B /* AwaitKit macOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AwaitKit macOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF014B81E39E73200C4A60B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../Example/AwaitKitTests/Info.plist; sourceTree = ""; }; - FEF014DA1E39EBEC00C4A60B /* AwaitKit tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AwaitKit tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - FEF0141A1E39E12200C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 02E6A0EA3EA8D5C47F068432 /* Pods_AwaitKit_iOS.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014351E39E1C900C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 90EDC823BE8D0B6A600E40D1 /* Pods_AwaitKit_macOS.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014421E39E1D300C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E970161CDD890F960B1E637E /* Pods_AwaitKit_tvOS.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF0144F1E39E1DA00C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C96F3EAB0F83A416B4FFA1E5 /* Pods_AwaitKit_watchOS.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014621E39E43400C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8168B7E0F883E2242F68FAE2 /* Pods_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014781E39E4CE00C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014801E39E4CE00C4A60B /* AwaitKit.framework in Frameworks */, - EDB3608E4B26A7567FFFD836 /* Pods_AwaitKit_iOS_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014871E39E4DE00C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF0148F1E39E4DE00C4A60B /* AwaitKit.framework in Frameworks */, - CD659348FBE57C16E3B680E1 /* Pods_AwaitKit_macOS_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014D71E39EBEC00C4A60B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014DF1E39EBEC00C4A60B /* AwaitKit.framework in Frameworks */, - 40F0453E37E8BCB0B5D228B5 /* Pods_AwaitKit_tvOS_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1CC1C0F5A303A5D720828CB5 /* Pods */ = { - isa = PBXGroup; - children = ( - 149E20CCD8D74F0E03A4356F /* Pods-AwaitKit iOS.debug.xcconfig */, - 8FD4406E68FCF654F45B809A /* Pods-AwaitKit iOS.release.xcconfig */, - B1FDB42C5604509798D12DA4 /* Pods-AwaitKit iOS Tests.debug.xcconfig */, - 8FE996E8629C841E264564D8 /* Pods-AwaitKit iOS Tests.release.xcconfig */, - 896F108DFBCFB67DDD7F4FE4 /* Pods-AwaitKit macOS.debug.xcconfig */, - 1B2DC8851E6683A639F1DCAA /* Pods-AwaitKit macOS.release.xcconfig */, - 2DB196D8BB5FAD62BFFCC08B /* Pods-AwaitKit macOS Tests.debug.xcconfig */, - B66AF009C20392E80BC712DD /* Pods-AwaitKit macOS Tests.release.xcconfig */, - FB1337BAA2605467283B1C26 /* Pods-AwaitKit tvOS.debug.xcconfig */, - 186309834DB0D23F61D419BC /* Pods-AwaitKit tvOS.release.xcconfig */, - 19CB31814A3A5CE5FEF318BD /* Pods-AwaitKit tvOS Tests.debug.xcconfig */, - 86B6DC902166E5ABBCB97BFF /* Pods-AwaitKit tvOS Tests.release.xcconfig */, - 8A96F070252E73A77B820A82 /* Pods-AwaitKit watchOS.debug.xcconfig */, - 1F1A88B8453E03B0545140BB /* Pods-AwaitKit watchOS.release.xcconfig */, - EBDBFB35AAD002C3853A4E09 /* Pods-Example.debug.xcconfig */, - 86CBAA97042791FEBE8AE581 /* Pods-Example.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - AAAC42F5A6DB5C1012D2E0A5 /* Frameworks */ = { - isa = PBXGroup; - children = ( - DC1E1C296F95BB89C4EB5DE6 /* Pods_AwaitKit_iOS.framework */, - 01A49CA4E3EA5639F3B6D020 /* Pods_AwaitKit_iOS_Tests.framework */, - E898FDC7AD40404A130FEE22 /* Pods_AwaitKit_macOS.framework */, - DEB501890661A09DF871EF65 /* Pods_AwaitKit_macOS_Tests.framework */, - 15E6F745D7E456EF75BA7261 /* Pods_AwaitKit_tvOS.framework */, - 25708497A0CFC1064F117C1F /* Pods_AwaitKit_tvOS_Tests.framework */, - 8FB6D61AD37CFD32F6945829 /* Pods_AwaitKit_watchOS.framework */, - 47AD4AB9045A7C470D86617F /* Pods_Example.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - CEDDC47E1E44DE8600B25ACC /* Targets */ = { - isa = PBXGroup; - children = ( - CE5517571E44DF38008444BB /* Info-iOS.plist */, - CE5517581E44DF38008444BB /* Info-tvOS.plist */, - ); - path = Targets; - sourceTree = ""; - }; - FEF014141E39E12200C4A60B = { - isa = PBXGroup; - children = ( - FEF0145E1E39E2F100C4A60B /* Podfile */, - CEDDC47E1E44DE8600B25ACC /* Targets */, - FEF014291E39E18700C4A60B /* Sources */, - FEF014661E39E43400C4A60B /* Example */, - FEF014A41E39E52900C4A60B /* Tests */, - FEF0141F1E39E12200C4A60B /* Products */, - 1CC1C0F5A303A5D720828CB5 /* Pods */, - AAAC42F5A6DB5C1012D2E0A5 /* Frameworks */, - ); - sourceTree = ""; - }; - FEF0141F1E39E12200C4A60B /* Products */ = { - isa = PBXGroup; - children = ( - FEF0141E1E39E12200C4A60B /* AwaitKit.framework */, - FEF014391E39E1C900C4A60B /* AwaitKit.framework */, - FEF014461E39E1D300C4A60B /* AwaitKit.framework */, - FEF014531E39E1DA00C4A60B /* AwaitKit.framework */, - FEF014651E39E43400C4A60B /* Example.app */, - FEF0147B1E39E4CE00C4A60B /* AwaitKit iOS Tests.xctest */, - FEF0148A1E39E4DE00C4A60B /* AwaitKit macOS Tests.xctest */, - FEF014DA1E39EBEC00C4A60B /* AwaitKit tvOS Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - FEF014291E39E18700C4A60B /* Sources */ = { - isa = PBXGroup; - children = ( - FEF0142B1E39E18700C4A60B /* AwaitKit.swift */, - CE32D16F1E44EA7F006FBA3F /* AwaitKitExtension.swift */, - FEC3485C1E3BF958000D9BF7 /* DispatchQueue+Async.swift */, - FEC348641E3BF970000D9BF7 /* DispatchQueue+Await.swift */, - ); - name = Sources; - path = ../Sources; - sourceTree = ""; - }; - FEF014661E39E43400C4A60B /* Example */ = { - isa = PBXGroup; - children = ( - FEF014671E39E43400C4A60B /* AppDelegate.swift */, - FEF014691E39E43400C4A60B /* ViewController.swift */, - FEF0146B1E39E43400C4A60B /* Main.storyboard */, - FEF0146E1E39E43400C4A60B /* Assets.xcassets */, - FEF014701E39E43400C4A60B /* LaunchScreen.storyboard */, - ); - name = Example; - path = AwaitKitExample; - sourceTree = ""; - }; - FEF014A41E39E52900C4A60B /* Tests */ = { - isa = PBXGroup; - children = ( - 049C110B1E462D4000C63B98 /* AwaitKitAsyncTests.swift */, - 049C110C1E462D4000C63B98 /* AwaitKitAwaitTests.swift */, - 049C110D1E462D4000C63B98 /* AwaitKitTests.swift */, - FEF014B81E39E73200C4A60B /* Info.plist */, - ); - name = Tests; - path = ../Tests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - FEF0141B1E39E12200C4A60B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014361E39E1C900C4A60B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014431E39E1D300C4A60B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014501E39E1DA00C4A60B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - FEF0141D1E39E12200C4A60B /* AwaitKit iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014261E39E12200C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit iOS" */; - buildPhases = ( - 37C2F434636FAB1E0C0CF69A /* [CP] Check Pods Manifest.lock */, - FEF014191E39E12200C4A60B /* Sources */, - FEF0141A1E39E12200C4A60B /* Frameworks */, - FEF0141B1E39E12200C4A60B /* Headers */, - FEF0141C1E39E12200C4A60B /* Resources */, - DD6FBF969776B9942AE5E05F /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "AwaitKit iOS"; - productName = AwaitKit; - productReference = FEF0141E1E39E12200C4A60B /* AwaitKit.framework */; - productType = "com.apple.product-type.framework"; - }; - FEF014381E39E1C900C4A60B /* AwaitKit macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF0143E1E39E1C900C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit macOS" */; - buildPhases = ( - A21EA305D87458AC1487129B /* [CP] Check Pods Manifest.lock */, - FEF014341E39E1C900C4A60B /* Sources */, - FEF014351E39E1C900C4A60B /* Frameworks */, - FEF014361E39E1C900C4A60B /* Headers */, - FEF014371E39E1C900C4A60B /* Resources */, - CB51AA20592F492E70FB7C0E /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "AwaitKit macOS"; - productName = "AwaitKit macOS"; - productReference = FEF014391E39E1C900C4A60B /* AwaitKit.framework */; - productType = "com.apple.product-type.framework"; - }; - FEF014451E39E1D300C4A60B /* AwaitKit tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF0144B1E39E1D300C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit tvOS" */; - buildPhases = ( - 6AB6A45CC55E37B49B0278EF /* [CP] Check Pods Manifest.lock */, - FEF014411E39E1D300C4A60B /* Sources */, - FEF014421E39E1D300C4A60B /* Frameworks */, - FEF014431E39E1D300C4A60B /* Headers */, - FEF014441E39E1D300C4A60B /* Resources */, - CB9373B5E9C6C60C96535A75 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "AwaitKit tvOS"; - productName = "AwaitKit tvOS"; - productReference = FEF014461E39E1D300C4A60B /* AwaitKit.framework */; - productType = "com.apple.product-type.framework"; - }; - FEF014521E39E1DA00C4A60B /* AwaitKit watchOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014581E39E1DA00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit watchOS" */; - buildPhases = ( - 6EB5CFF650878618A799F649 /* [CP] Check Pods Manifest.lock */, - FEF0144E1E39E1DA00C4A60B /* Sources */, - FEF0144F1E39E1DA00C4A60B /* Frameworks */, - FEF014501E39E1DA00C4A60B /* Headers */, - FEF014511E39E1DA00C4A60B /* Resources */, - 4C32E11D0ADAECD9C7A938A0 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "AwaitKit watchOS"; - productName = "AwaitKit watchOS"; - productReference = FEF014531E39E1DA00C4A60B /* AwaitKit.framework */; - productType = "com.apple.product-type.framework"; - }; - FEF014641E39E43400C4A60B /* Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014741E39E43400C4A60B /* Build configuration list for PBXNativeTarget "Example" */; - buildPhases = ( - 9ACFF0A096E1B0E133A39D1B /* [CP] Check Pods Manifest.lock */, - FEF014611E39E43400C4A60B /* Sources */, - FEF014621E39E43400C4A60B /* Frameworks */, - FEF014631E39E43400C4A60B /* Resources */, - B9423043FD5CB6226D1B8E5F /* [CP] Embed Pods Frameworks */, - 44171D3D489E132516CA597E /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Example; - productName = Example; - productReference = FEF014651E39E43400C4A60B /* Example.app */; - productType = "com.apple.product-type.application"; - }; - FEF0147A1E39E4CE00C4A60B /* AwaitKit iOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014831E39E4CE00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit iOS Tests" */; - buildPhases = ( - 97FE961E08F3AB0A0FB9C30C /* [CP] Check Pods Manifest.lock */, - FEF014771E39E4CE00C4A60B /* Sources */, - FEF014781E39E4CE00C4A60B /* Frameworks */, - FEF014791E39E4CE00C4A60B /* Resources */, - CB6B9F11774A6C7F799FD286 /* [CP] Embed Pods Frameworks */, - 8D0000193645DFB281D9BF89 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - FEF014821E39E4CE00C4A60B /* PBXTargetDependency */, - ); - name = "AwaitKit iOS Tests"; - productName = "AwaitKit iOS Tests"; - productReference = FEF0147B1E39E4CE00C4A60B /* AwaitKit iOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - FEF014891E39E4DE00C4A60B /* AwaitKit macOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014921E39E4DE00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit macOS Tests" */; - buildPhases = ( - 2A8D0EE69A6F6EBEF377ACC1 /* [CP] Check Pods Manifest.lock */, - FEF014861E39E4DE00C4A60B /* Sources */, - FEF014871E39E4DE00C4A60B /* Frameworks */, - FEF014881E39E4DE00C4A60B /* Resources */, - 292621818C6024D6FF8F96A8 /* [CP] Embed Pods Frameworks */, - 973DF0B8EAD421361BEEF185 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - FEF014911E39E4DE00C4A60B /* PBXTargetDependency */, - ); - name = "AwaitKit macOS Tests"; - productName = "AwaitKit macOS Tests"; - productReference = FEF0148A1E39E4DE00C4A60B /* AwaitKit macOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - FEF014D91E39EBEC00C4A60B /* AwaitKit tvOS Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = FEF014E21E39EBEC00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit tvOS Tests" */; - buildPhases = ( - 47AADA9D4B9812B289703A3C /* [CP] Check Pods Manifest.lock */, - FEF014D61E39EBEC00C4A60B /* Sources */, - FEF014D71E39EBEC00C4A60B /* Frameworks */, - FEF014D81E39EBEC00C4A60B /* Resources */, - AD9D269C28641E6C85A26C5C /* [CP] Embed Pods Frameworks */, - 1F14510041D49C484D7014B6 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - FEF014E11E39EBEC00C4A60B /* PBXTargetDependency */, - ); - name = "AwaitKit tvOS Tests"; - productName = "AwaitKit tvOS Tests"; - productReference = FEF014DA1E39EBEC00C4A60B /* AwaitKit tvOS Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - FEF014151E39E12200C4A60B /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0820; - LastUpgradeCheck = 0830; - ORGANIZATIONNAME = "Yannick Loriot"; - TargetAttributes = { - FEF0141D1E39E12200C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014381E39E1C900C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014451E39E1D300C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014521E39E1DA00C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014641E39E43400C4A60B = { - CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = N8Y92BXSXC; - ProvisioningStyle = Automatic; - }; - FEF0147A1E39E4CE00C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014891E39E4DE00C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - FEF014D91E39EBEC00C4A60B = { - CreatedOnToolsVersion = 8.2.1; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = FEF014181E39E12200C4A60B /* Build configuration list for PBXProject "AwaitKit" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = FEF014141E39E12200C4A60B; - productRefGroup = FEF0141F1E39E12200C4A60B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - FEF0141D1E39E12200C4A60B /* AwaitKit iOS */, - FEF0147A1E39E4CE00C4A60B /* AwaitKit iOS Tests */, - FEF014381E39E1C900C4A60B /* AwaitKit macOS */, - FEF014891E39E4DE00C4A60B /* AwaitKit macOS Tests */, - FEF014451E39E1D300C4A60B /* AwaitKit tvOS */, - FEF014D91E39EBEC00C4A60B /* AwaitKit tvOS Tests */, - FEF014521E39E1DA00C4A60B /* AwaitKit watchOS */, - FEF014641E39E43400C4A60B /* Example */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - FEF0141C1E39E12200C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - CE55175A1E44DF38008444BB /* Info-tvOS.plist in Resources */, - FEF014B91E39E73200C4A60B /* Info.plist in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014371E39E1C900C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014441E39E1D300C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014511E39E1DA00C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014631E39E43400C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014721E39E43400C4A60B /* LaunchScreen.storyboard in Resources */, - FEF0146F1E39E43400C4A60B /* Assets.xcassets in Resources */, - FEF0146D1E39E43400C4A60B /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014791E39E4CE00C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014881E39E4DE00C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014D81E39EBEC00C4A60B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 1F14510041D49C484D7014B6 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit tvOS Tests/Pods-AwaitKit tvOS Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 292621818C6024D6FF8F96A8 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit macOS Tests/Pods-AwaitKit macOS Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/PromiseKit-macOS/PromiseKit.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit macOS Tests/Pods-AwaitKit macOS Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 2A8D0EE69A6F6EBEF377ACC1 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit macOS Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 37C2F434636FAB1E0C0CF69A /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit iOS-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 44171D3D489E132516CA597E /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 47AADA9D4B9812B289703A3C /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit tvOS Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 4C32E11D0ADAECD9C7A938A0 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit watchOS/Pods-AwaitKit watchOS-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 6AB6A45CC55E37B49B0278EF /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit tvOS-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 6EB5CFF650878618A799F649 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit watchOS-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 8D0000193645DFB281D9BF89 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit iOS Tests/Pods-AwaitKit iOS Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 973DF0B8EAD421361BEEF185 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit macOS Tests/Pods-AwaitKit macOS Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 97FE961E08F3AB0A0FB9C30C /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit iOS Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 9ACFF0A096E1B0E133A39D1B /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - A21EA305D87458AC1487129B /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-AwaitKit macOS-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - AD9D269C28641E6C85A26C5C /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit tvOS Tests/Pods-AwaitKit tvOS Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/PromiseKit-tvOS/PromiseKit.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit tvOS Tests/Pods-AwaitKit tvOS Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - B9423043FD5CB6226D1B8E5F /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/PromiseKit-iOS/PromiseKit.framework", - "${BUILT_PRODUCTS_DIR}/AwaitKit/AwaitKit.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AwaitKit.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - CB51AA20592F492E70FB7C0E /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit macOS/Pods-AwaitKit macOS-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - CB6B9F11774A6C7F799FD286 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit iOS Tests/Pods-AwaitKit iOS Tests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/PromiseKit-iOS/PromiseKit.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit iOS Tests/Pods-AwaitKit iOS Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - CB9373B5E9C6C60C96535A75 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit tvOS/Pods-AwaitKit tvOS-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - DD6FBF969776B9942AE5E05F /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AwaitKit iOS/Pods-AwaitKit iOS-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - FEF014191E39E12200C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEC3485D1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - CE32D1701E44EA7F006FBA3F /* AwaitKitExtension.swift in Sources */, - FEC348651E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - FEF014311E39E1A200C4A60B /* AwaitKit.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014341E39E1C900C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEC3485F1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - CE32D1721E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */, - FEC348671E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - FEF014BC1E39E9E900C4A60B /* AwaitKit.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014411E39E1D300C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEC348611E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - CE32D1741E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */, - FEC348691E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - FEF014BF1E39E9EA00C4A60B /* AwaitKit.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF0144E1E39E1DA00C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEC348631E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - CE32D1761E44EA87006FBA3F /* AwaitKitExtension.swift in Sources */, - FEC3486B1E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - FEF014C21E39E9EA00C4A60B /* AwaitKit.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014611E39E43400C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF0146A1E39E43400C4A60B /* ViewController.swift in Sources */, - FEF014681E39E43400C4A60B /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014771E39E4CE00C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014C81E39EA9100C4A60B /* AwaitKit.swift in Sources */, - 049C11131E462DB000C63B98 /* AwaitKitTests.swift in Sources */, - FEC348661E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - CE32D1711E44EA85006FBA3F /* AwaitKitExtension.swift in Sources */, - 049C11111E462DB000C63B98 /* AwaitKitAsyncTests.swift in Sources */, - 049C11121E462DB000C63B98 /* AwaitKitAwaitTests.swift in Sources */, - FEC3485E1E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014861E39E4DE00C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014CB1E39EA9200C4A60B /* AwaitKit.swift in Sources */, - 049C11161E462DB000C63B98 /* AwaitKitTests.swift in Sources */, - FEC348681E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - CE32D1731E44EA86006FBA3F /* AwaitKitExtension.swift in Sources */, - 049C11141E462DB000C63B98 /* AwaitKitAsyncTests.swift in Sources */, - 049C11151E462DB000C63B98 /* AwaitKitAwaitTests.swift in Sources */, - FEC348601E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FEF014D61E39EBEC00C4A60B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FEF014E81E39EC1700C4A60B /* AwaitKit.swift in Sources */, - 049C11191E462DB100C63B98 /* AwaitKitTests.swift in Sources */, - FEC3486A1E3BF970000D9BF7 /* DispatchQueue+Await.swift in Sources */, - CE32D1751E44EA87006FBA3F /* AwaitKitExtension.swift in Sources */, - 049C11171E462DB100C63B98 /* AwaitKitAsyncTests.swift in Sources */, - 049C11181E462DB100C63B98 /* AwaitKitAwaitTests.swift in Sources */, - FEC348621E3BF958000D9BF7 /* DispatchQueue+Async.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - FEF014821E39E4CE00C4A60B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = FEF0141D1E39E12200C4A60B /* AwaitKit iOS */; - targetProxy = FEF014811E39E4CE00C4A60B /* PBXContainerItemProxy */; - }; - FEF014911E39E4DE00C4A60B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = FEF014381E39E1C900C4A60B /* AwaitKit macOS */; - targetProxy = FEF014901E39E4DE00C4A60B /* PBXContainerItemProxy */; - }; - FEF014E11E39EBEC00C4A60B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = FEF014451E39E1D300C4A60B /* AwaitKit tvOS */; - targetProxy = FEF014E01E39EBEC00C4A60B /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - FEF0146B1E39E43400C4A60B /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - FEF0146C1E39E43400C4A60B /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - FEF014701E39E43400C4A60B /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - FEF014711E39E43400C4A60B /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - FEF014241E39E12200C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - 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_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - FEF014251E39E12200C4A60B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - 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_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - FEF014271E39E12200C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 149E20CCD8D74F0E03A4356F /* Pods-AwaitKit iOS.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - FEF014281E39E12200C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8FD4406E68FCF654F45B809A /* Pods-AwaitKit iOS.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - FEF0143F1E39E1C900C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 896F108DFBCFB67DDD7F4FE4 /* Pods-AwaitKit macOS.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - FEF014401E39E1C900C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1B2DC8851E6683A639F1DCAA /* Pods-AwaitKit macOS.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - FEF0144C1E39E1D300C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FB1337BAA2605467283B1C26 /* Pods-AwaitKit tvOS.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-tvOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - }; - name = Debug; - }; - FEF0144D1E39E1D300C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 186309834DB0D23F61D419BC /* Pods-AwaitKit tvOS.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-tvOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - }; - name = Release; - }; - FEF014591E39E1DA00C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8A96F070252E73A77B820A82 /* Pods-AwaitKit watchOS.debug.xcconfig */; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; - }; - name = Debug; - }; - FEF0145A1E39E1DA00C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 1F1A88B8453E03B0545140BB /* Pods-AwaitKit watchOS.release.xcconfig */; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.AwaitKit; - PRODUCT_NAME = AwaitKit; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; - TARGETED_DEVICE_FAMILY = 4; - WATCHOS_DEPLOYMENT_TARGET = 2.0; - }; - name = Release; - }; - FEF014751E39E43400C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = EBDBFB35AAD002C3853A4E09 /* Pods-Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = N8Y92BXSXC; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.Example; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - FEF014761E39E43400C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 86CBAA97042791FEBE8AE581 /* Pods-Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = N8Y92BXSXC; - INFOPLIST_FILE = "$(SRCROOT)/Targets/Info-iOS.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.Example; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - FEF014841E39E4CE00C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B1FDB42C5604509798D12DA4 /* Pods-AwaitKit iOS Tests.debug.xcconfig */; - buildSettings = { - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-iOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - FEF014851E39E4CE00C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8FE996E8629C841E264564D8 /* Pods-AwaitKit iOS Tests.release.xcconfig */; - buildSettings = { - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-iOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - FEF014931E39E4DE00C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DB196D8BB5FAD62BFFCC08B /* Pods-AwaitKit macOS Tests.debug.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-macOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - FEF014941E39E4DE00C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B66AF009C20392E80BC712DD /* Pods-AwaitKit macOS Tests.release.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-macOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; - FEF014E31E39EBEC00C4A60B /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 19CB31814A3A5CE5FEF318BD /* Pods-AwaitKit tvOS Tests.debug.xcconfig */; - buildSettings = { - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-tvOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Debug; - }; - FEF014E41E39EBEC00C4A60B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 86B6DC902166E5ABBCB97BFF /* Pods-AwaitKit tvOS Tests.release.xcconfig */; - buildSettings = { - INFOPLIST_FILE = AwaitKitTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.yannickloriot.AwaitKit-tvOS-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - SWIFT_VERSION = 3.0; - TVOS_DEPLOYMENT_TARGET = 10.1; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - FEF014181E39E12200C4A60B /* Build configuration list for PBXProject "AwaitKit" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014241E39E12200C4A60B /* Debug */, - FEF014251E39E12200C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014261E39E12200C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014271E39E12200C4A60B /* Debug */, - FEF014281E39E12200C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF0143E1E39E1C900C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF0143F1E39E1C900C4A60B /* Debug */, - FEF014401E39E1C900C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF0144B1E39E1D300C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF0144C1E39E1D300C4A60B /* Debug */, - FEF0144D1E39E1D300C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014581E39E1DA00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit watchOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014591E39E1DA00C4A60B /* Debug */, - FEF0145A1E39E1DA00C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014741E39E43400C4A60B /* Build configuration list for PBXNativeTarget "Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014751E39E43400C4A60B /* Debug */, - FEF014761E39E43400C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014831E39E4CE00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit iOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014841E39E4CE00C4A60B /* Debug */, - FEF014851E39E4CE00C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014921E39E4DE00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit macOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014931E39E4DE00C4A60B /* Debug */, - FEF014941E39E4DE00C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FEF014E21E39EBEC00C4A60B /* Build configuration list for PBXNativeTarget "AwaitKit tvOS Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FEF014E31E39EBEC00C4A60B /* Debug */, - FEF014E41E39EBEC00C4A60B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = FEF014151E39E12200C4A60B /* Project object */; -} diff --git a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit macOS.xcscheme b/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit macOS.xcscheme deleted file mode 100644 index cb62369..0000000 --- a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit macOS.xcscheme +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit tvOS.xcscheme b/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit tvOS.xcscheme deleted file mode 100644 index 4dc9ffb..0000000 --- a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit tvOS.xcscheme +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit watchOS.xcscheme b/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit watchOS.xcscheme deleted file mode 100644 index 39c26dc..0000000 --- a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/AwaitKit watchOS.xcscheme +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/Example.xcscheme deleted file mode 100644 index 3c50cde..0000000 --- a/Example/AwaitKit.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/AwaitKitExample/AppDelegate.swift b/Example/AwaitKitExample/AppDelegate.swift deleted file mode 100644 index 47ae7f4..0000000 --- a/Example/AwaitKitExample/AppDelegate.swift +++ /dev/null @@ -1,46 +0,0 @@ -// -// AppDelegate.swift -// AwaitKitExample -// -// Created by Yannick LORIOT on 18/05/16. -// Copyright © 2016 Yannick Loriot. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - -} - diff --git a/Example/AwaitKitExample/ViewController.swift b/Example/AwaitKitExample/ViewController.swift deleted file mode 100644 index 91d158d..0000000 --- a/Example/AwaitKitExample/ViewController.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// ViewController.swift -// AwaitKitExample -// -// Created by Yannick LORIOT on 18/05/16. -// Copyright © 2016 Yannick Loriot. All rights reserved. -// - -import UIKit -import PromiseKit -import AwaitKit - -struct User { - var name: String -} - -class ViewController: UIViewController { - override func viewDidLoad() { - super.viewDidLoad() - - async { - throw NSError(domain: "com.yannickloriot.error", code: 3, userInfo: nil) - } - - let user = try! await(signIn(username: "Foo", password: "Bar")) - try! await(sendWelcomeMailToUser(user)) - try! await(redirectToThankYouScreen()) - - print("All done with \(user)!") - } - - // MARK: - Promises - - func signIn(username name: String, password: String) -> Promise { - return Promise { resolve, reject in - resolve(User(name: name)) - } - } - - func sendWelcomeMailToUser(_ user: User) -> Promise { - return Promise { resolve, reject in - let deadlineTime = DispatchTime.now() + .seconds(1) - let queue = DispatchQueue(label: "com.yannickloriot.queue", attributes: .concurrent) - - queue.asyncAfter(deadline: deadlineTime, execute: { - resolve() - }) - } - } - - func redirectToThankYouScreen() -> Promise { - return Promise { resolve, reject in - let deadlineTime = DispatchTime.now() + .seconds(1) - let queue = DispatchQueue(label: "com.yannickloriot.queue", attributes: .concurrent) - - queue.asyncAfter(deadline: deadlineTime, execute: { - resolve() - }) - } - } -} diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f015f8d --- /dev/null +++ b/Example/Example.xcodeproj/project.pbxproj @@ -0,0 +1,396 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + F1DD457FAABE9165A51A58C0 /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72E037AD244AB1FD0C1763C3 /* Pods_Example.framework */; }; + FE41FCBF1F46D7AD00CD2271 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCBE1F46D7AD00CD2271 /* AppDelegate.swift */; }; + FE41FCC11F46D7AD00CD2271 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE41FCC01F46D7AD00CD2271 /* ViewController.swift */; }; + FE41FCC41F46D7AD00CD2271 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FE41FCC21F46D7AD00CD2271 /* Main.storyboard */; }; + FE41FCC61F46D7AD00CD2271 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FE41FCC51F46D7AD00CD2271 /* Assets.xcassets */; }; + FE41FCC91F46D7AD00CD2271 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FE41FCC71F46D7AD00CD2271 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 59CD49574253111855826BD9 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; + 72E037AD244AB1FD0C1763C3 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F907B421AB6D4A92837D55A0 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; + FE41FCBB1F46D7AD00CD2271 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FE41FCBE1F46D7AD00CD2271 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + FE41FCC01F46D7AD00CD2271 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + FE41FCC31F46D7AD00CD2271 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + FE41FCC51F46D7AD00CD2271 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + FE41FCC81F46D7AD00CD2271 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + FE41FCCA1F46D7AD00CD2271 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FE41FD501F46E46500CD2271 /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + FE41FCB81F46D7AD00CD2271 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F1DD457FAABE9165A51A58C0 /* Pods_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 042379CEC755D714E3685B26 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 72E037AD244AB1FD0C1763C3 /* Pods_Example.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + BEFF9761676386D67F0AD175 /* Pods */ = { + isa = PBXGroup; + children = ( + F907B421AB6D4A92837D55A0 /* Pods-Example.debug.xcconfig */, + 59CD49574253111855826BD9 /* Pods-Example.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + FE41FCB21F46D7AD00CD2271 = { + isa = PBXGroup; + children = ( + FE41FD501F46E46500CD2271 /* Podfile */, + FE41FCBD1F46D7AD00CD2271 /* Example */, + FE41FCBC1F46D7AD00CD2271 /* Products */, + BEFF9761676386D67F0AD175 /* Pods */, + 042379CEC755D714E3685B26 /* Frameworks */, + ); + sourceTree = ""; + }; + FE41FCBC1F46D7AD00CD2271 /* Products */ = { + isa = PBXGroup; + children = ( + FE41FCBB1F46D7AD00CD2271 /* Example.app */, + ); + name = Products; + sourceTree = ""; + }; + FE41FCBD1F46D7AD00CD2271 /* Example */ = { + isa = PBXGroup; + children = ( + FE41FCBE1F46D7AD00CD2271 /* AppDelegate.swift */, + FE41FCC01F46D7AD00CD2271 /* ViewController.swift */, + FE41FCC21F46D7AD00CD2271 /* Main.storyboard */, + FE41FCC51F46D7AD00CD2271 /* Assets.xcassets */, + FE41FCC71F46D7AD00CD2271 /* LaunchScreen.storyboard */, + FE41FCCA1F46D7AD00CD2271 /* Info.plist */, + ); + path = Example; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + FE41FCBA1F46D7AD00CD2271 /* Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = FE41FCCD1F46D7AD00CD2271 /* Build configuration list for PBXNativeTarget "Example" */; + buildPhases = ( + 7E7B6F53BC264004F72C9ED7 /* [CP] Check Pods Manifest.lock */, + FE41FCB71F46D7AD00CD2271 /* Sources */, + FE41FCB81F46D7AD00CD2271 /* Frameworks */, + FE41FCB91F46D7AD00CD2271 /* Resources */, + 3FC385A61337BB2A71B1B2A5 /* [CP] Embed Pods Frameworks */, + 7BCD882540B3C4FB36FCBEF3 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Example; + productName = Example; + productReference = FE41FCBB1F46D7AD00CD2271 /* Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FE41FCB31F46D7AD00CD2271 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0830; + ORGANIZATIONNAME = "Yannick Loriot"; + TargetAttributes = { + FE41FCBA1F46D7AD00CD2271 = { + CreatedOnToolsVersion = 8.3.3; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = FE41FCB61F46D7AD00CD2271 /* Build configuration list for PBXProject "Example" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FE41FCB21F46D7AD00CD2271; + productRefGroup = FE41FCBC1F46D7AD00CD2271 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + FE41FCBA1F46D7AD00CD2271 /* Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + FE41FCB91F46D7AD00CD2271 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FCC91F46D7AD00CD2271 /* LaunchScreen.storyboard in Resources */, + FE41FCC61F46D7AD00CD2271 /* Assets.xcassets in Resources */, + FE41FCC41F46D7AD00CD2271 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3FC385A61337BB2A71B1B2A5 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/AwaitKit/AwaitKit.framework", + "${BUILT_PRODUCTS_DIR}/PromiseKit/PromiseKit.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AwaitKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 7BCD882540B3C4FB36FCBEF3 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 7E7B6F53BC264004F72C9ED7 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FE41FCB71F46D7AD00CD2271 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FE41FCC11F46D7AD00CD2271 /* ViewController.swift in Sources */, + FE41FCBF1F46D7AD00CD2271 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + FE41FCC21F46D7AD00CD2271 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FE41FCC31F46D7AD00CD2271 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + FE41FCC71F46D7AD00CD2271 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FE41FCC81F46D7AD00CD2271 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + FE41FCCB1F46D7AD00CD2271 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + 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_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + FE41FCCC1F46D7AD00CD2271 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + 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_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + FE41FCCE1F46D7AD00CD2271 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F907B421AB6D4A92837D55A0 /* Pods-Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = Example/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + FE41FCCF1F46D7AD00CD2271 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 59CD49574253111855826BD9 /* Pods-Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = Example/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.Example; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FE41FCB61F46D7AD00CD2271 /* Build configuration list for PBXProject "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE41FCCB1F46D7AD00CD2271 /* Debug */, + FE41FCCC1F46D7AD00CD2271 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FE41FCCD1F46D7AD00CD2271 /* Build configuration list for PBXNativeTarget "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE41FCCE1F46D7AD00CD2271 /* Debug */, + FE41FCCF1F46D7AD00CD2271 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = FE41FCB31F46D7AD00CD2271 /* Project object */; +} diff --git a/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..6d2a51b --- /dev/null +++ b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/Example.xcworkspace/contents.xcworkspacedata b/Example/Example.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..a37cf19 --- /dev/null +++ b/Example/Example.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/Example/AppDelegate.swift b/Example/Example/AppDelegate.swift new file mode 100644 index 0000000..ee3be54 --- /dev/null +++ b/Example/Example/AppDelegate.swift @@ -0,0 +1,45 @@ +// +// AppDelegate.swift +// AwaitKitExample +// +// Created by Yannick LORIOT on 18/05/16. +// Copyright © 2016 Yannick Loriot. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} diff --git a/Example/AwaitKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 72% rename from Example/AwaitKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json index 1d060ed..36d2c80 100644 --- a/Example/AwaitKitExample/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,15 +1,5 @@ { "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, { "idiom" : "iphone", "size" : "29x29", @@ -40,16 +30,6 @@ "size" : "60x60", "scale" : "3x" }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, { "idiom" : "ipad", "size" : "29x29", @@ -79,11 +59,6 @@ "idiom" : "ipad", "size" : "76x76", "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" } ], "info" : { diff --git a/Example/AwaitKitExample/Base.lproj/LaunchScreen.storyboard b/Example/Example/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from Example/AwaitKitExample/Base.lproj/LaunchScreen.storyboard rename to Example/Example/Base.lproj/LaunchScreen.storyboard diff --git a/Example/AwaitKitExample/Base.lproj/Main.storyboard b/Example/Example/Base.lproj/Main.storyboard similarity index 100% rename from Example/AwaitKitExample/Base.lproj/Main.storyboard rename to Example/Example/Base.lproj/Main.storyboard diff --git a/Example/Targets/Info-iOS.plist b/Example/Example/Info.plist similarity index 94% rename from Example/Targets/Info-iOS.plist rename to Example/Example/Info.plist index ab444f6..d052473 100644 --- a/Example/Targets/Info-iOS.plist +++ b/Example/Example/Info.plist @@ -15,9 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.0.1 - CFBundleSignature - ???? + 1.0 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/Example/Example/ViewController.swift b/Example/Example/ViewController.swift new file mode 100644 index 0000000..9e65146 --- /dev/null +++ b/Example/Example/ViewController.swift @@ -0,0 +1,61 @@ +// +// ViewController.swift +// AwaitKitExample +// +// Created by Yannick LORIOT on 18/05/16. +// Copyright © 2016 Yannick Loriot. All rights reserved. +// + +import UIKit +import PromiseKit +import AwaitKit + +struct User { + var name: String +} + +class ViewController: UIViewController { + override func viewDidLoad() { + super.viewDidLoad() + + async { + throw NSError(domain: "com.yannickloriot.error", code: 3, userInfo: nil) + } + + let user = try! await(signIn(username: "Foo", password: "Bar")) + try! await(sendWelcomeMailToUser(user)) + try! await(redirectToThankYouScreen()) + + print("All done with \(user)!") + } + + // MARK: - Promises + + func signIn(username name: String, password: String) -> Promise { + return Promise { resolve, reject in + resolve(User(name: name)) + } + } + + func sendWelcomeMailToUser(_ user: User) -> Promise { + return Promise { resolve, reject in + let deadlineTime = DispatchTime.now() + .seconds(1) + let queue = DispatchQueue(label: "com.yannickloriot.queue", attributes: .concurrent) + + queue.asyncAfter(deadline: deadlineTime, execute: { + resolve() + }) + } + } + + func redirectToThankYouScreen() -> Promise { + return Promise { resolve, reject in + let deadlineTime = DispatchTime.now() + .seconds(1) + let queue = DispatchQueue(label: "com.yannickloriot.queue", attributes: .concurrent) + + queue.asyncAfter(deadline: deadlineTime, execute: { + resolve() + }) + } + } +} diff --git a/Example/Podfile b/Example/Podfile index 02a435d..210fd05 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,38 +1,10 @@ source 'https://github.com/CocoaPods/Specs.git' use_frameworks! -pod 'PromiseKit', '~> 4.2' - -target 'AwaitKit iOS' do - platform :ios, '8.0' -end - -target 'AwaitKit iOS Tests' do - platform :ios, '8.0' -end - -target 'AwaitKit macOS' do - platform :osx, '10.10' -end - -target 'AwaitKit macOS Tests' do - platform :osx, '10.10' -end - -target 'AwaitKit tvOS' do - platform :tvos, '9.0' -end - -target 'AwaitKit tvOS Tests' do - platform :tvos, '9.0' -end - -target 'AwaitKit watchOS' do - platform :watchos, '2.0' -end +pod 'PromiseKit', '~> 4.3' target 'Example' do platform :ios, '8.0' - + pod 'AwaitKit', :path => '..' end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..4c12dd2 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,30 @@ +PODS: + - AwaitKit (3.0.2): + - PromiseKit (~> 4.3) + - PromiseKit (4.3.1): + - PromiseKit/Foundation (= 4.3.1) + - PromiseKit/QuartzCore (= 4.3.1) + - PromiseKit/UIKit (= 4.3.1) + - PromiseKit/CorePromise (4.3.1) + - PromiseKit/Foundation (4.3.1): + - PromiseKit/CorePromise + - PromiseKit/QuartzCore (4.3.1): + - PromiseKit/CorePromise + - PromiseKit/UIKit (4.3.1): + - PromiseKit/CorePromise + +DEPENDENCIES: + - AwaitKit (from `..`) + - PromiseKit (~> 4.3) + +EXTERNAL SOURCES: + AwaitKit: + :path: .. + +SPEC CHECKSUMS: + AwaitKit: c32fb03648506f7e6fab6821d3047d24f5fd9c2b + PromiseKit: 25a114b90b932ec8169b5736bd0881fe0efa93b5 + +PODFILE CHECKSUM: a5695b2da59c87bd8845c9b62df9f17cf88ca868 + +COCOAPODS: 1.3.1 diff --git a/README.md b/README.md index 5229fe6..355b15e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ![AwaitKit](http://yannickloriot.com/resources/AwaitKit-Arista-Banner.png) +[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Supported Platforms](https://cocoapod-badges.herokuapp.com/p/AwaitKit/badge.svg)](http://cocoadocs.org/docsets/AwaitKit/) [![Version](https://cocoapod-badges.herokuapp.com/v/AwaitKit/badge.svg)](http://cocoadocs.org/docsets/AwaitKit/) [![Build Status](https://travis-ci.org/yannickl/AwaitKit.svg?branch=master)](https://travis-ci.org/yannickl/AwaitKit) [![codecov.io](http://codecov.io/github/yannickl/AwaitKit/coverage.svg?branch=master)](http://codecov.io/github/yannickl/AwaitKit?branch=master) @@ -199,6 +200,25 @@ let package = Package( Note that the [Swift Package Manager](https://swift.org/package-manager) is still in early design and development, for more information checkout its [GitHub Page](https://github.com/apple/swift-package-manager). +### Carthage + +[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. + +You can install Carthage with [Homebrew](http://brew.sh/) using the following command: + +```bash +$ brew update +$ brew install carthage +``` + +To integrate AwaitKit into your Xcode project using Carthage, specify it in your `Cartfile`: + +```ogdl +github "yannickl/AwaitKit" ~> 3.0 +``` + +Run `carthage update` to build the framework and drag the built `AwaitKit.framework` into your Xcode project. + ### Manually [Download](https://github.com/YannickL/AwaitKit/archive/master.zip) the project and copy the `AwaitKit` folder into your project to use it in. Note that you also need to download the [PromiseKit](https://github.com/mxcl/PromiseKit) library and import it to your project. diff --git a/Example/Targets/Info-tvOS.plist b/Sources/Info.plist similarity index 97% rename from Example/Targets/Info-tvOS.plist rename to Sources/Info.plist index 93c67ef..e93b3b4 100644 --- a/Example/Targets/Info-tvOS.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.0.1 + 3.0.2 CFBundleSignature ???? CFBundleVersion diff --git a/Tests/AwaitKitTests/AwaitKitAsyncTests.swift b/Tests/AwaitKitAsyncTests.swift similarity index 99% rename from Tests/AwaitKitTests/AwaitKitAsyncTests.swift rename to Tests/AwaitKitAsyncTests.swift index b272aeb..c5fab30 100644 --- a/Tests/AwaitKitTests/AwaitKitAsyncTests.swift +++ b/Tests/AwaitKitAsyncTests.swift @@ -24,6 +24,7 @@ * */ +import AwaitKit import PromiseKit import XCTest diff --git a/Tests/AwaitKitTests/AwaitKitAwaitTests.swift b/Tests/AwaitKitAwaitTests.swift similarity index 99% rename from Tests/AwaitKitTests/AwaitKitAwaitTests.swift rename to Tests/AwaitKitAwaitTests.swift index 1364ddd..53ce892 100644 --- a/Tests/AwaitKitTests/AwaitKitAwaitTests.swift +++ b/Tests/AwaitKitAwaitTests.swift @@ -24,6 +24,7 @@ * */ +import AwaitKit import PromiseKit import XCTest diff --git a/Tests/AwaitKitTests/AwaitKitTests.swift b/Tests/AwaitKitTests.swift similarity index 99% rename from Tests/AwaitKitTests/AwaitKitTests.swift rename to Tests/AwaitKitTests.swift index 8cd1ce7..f857acb 100644 --- a/Tests/AwaitKitTests/AwaitKitTests.swift +++ b/Tests/AwaitKitTests.swift @@ -24,6 +24,7 @@ * */ +import AwaitKit import PromiseKit import XCTest diff --git a/Example/AwaitKitTests/Info.plist b/Tests/Info.plist similarity index 100% rename from Example/AwaitKitTests/Info.plist rename to Tests/Info.plist