From 03c41fb0e81e5d21b5be6cc18dde634150d13391 Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 14:11:17 +0100 Subject: [PATCH 1/6] switching to cocoapods, because we'll need more dependencies. --- Cartfile | 1 - Cartfile.resolved | 1 - Podfile | 23 ++ Podfile.lock | 20 ++ README.md | 2 +- XcodeServerSDK.xcodeproj/project.pbxproj | 266 +++++++++--------- .../contents.xcworkspacedata | 5 +- 7 files changed, 183 insertions(+), 135 deletions(-) delete mode 100644 Cartfile delete mode 100644 Cartfile.resolved create mode 100644 Podfile create mode 100644 Podfile.lock diff --git a/Cartfile b/Cartfile deleted file mode 100644 index 4fa8121..0000000 --- a/Cartfile +++ /dev/null @@ -1 +0,0 @@ -github "czechboy0/DVR" "b6f1e80acacfa5913a0bbc6b14583fcce8faa08a" diff --git a/Cartfile.resolved b/Cartfile.resolved deleted file mode 100644 index 4fa8121..0000000 --- a/Cartfile.resolved +++ /dev/null @@ -1 +0,0 @@ -github "czechboy0/DVR" "b6f1e80acacfa5913a0bbc6b14583fcce8faa08a" diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..538a01f --- /dev/null +++ b/Podfile @@ -0,0 +1,23 @@ + +use_frameworks! + +target 'XcodeServerSDK - OS X' do + +end + +target 'XcodeServerSDK - OS X Tests' do +pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" +end + +target 'XcodeServerSDK - iOS' do + +end + +target 'XcodeServerSDK - iOS Tests' do +pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" +end + +target 'XcodeServerSDK - watchOS' do + +end + diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..e0ec4f8 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,20 @@ +PODS: + - DVR (0.0.2-czechboy0) + +DEPENDENCIES: + - DVR (from `https://github.com/czechboy0/DVR.git`, tag `v0.0.2-czechboy0`) + +EXTERNAL SOURCES: + DVR: + :git: https://github.com/czechboy0/DVR.git + :tag: v0.0.2-czechboy0 + +CHECKOUT OPTIONS: + DVR: + :git: https://github.com/czechboy0/DVR.git + :tag: v0.0.2-czechboy0 + +SPEC CHECKSUMS: + DVR: c252cd3f4a88f6a3a49f0d66305335951a0aa133 + +COCOAPODS: 0.38.0.beta.2 diff --git a/README.md b/README.md index d2e894a..f7f497b 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Using hardware buttons to start integrations? Why not! The sky is the limit. [MIT](https://github.com/czechboy0/XcodeServerSDK/blob/master/LICENSE) # Building & Testing -We use [Carthage](https://github.com/Carthage/Carthage) to pull in some dependencies for tests. If you clone this repo and want to run tests, first you have to run `carthage update --no-build` to download the necessary dependencies. +We use [CocoaPods](https://github.com/CocoaPods/CocoaPods) for dependency management. When you clone the repo, you'll need to run `pod install` to download the necessary dependencies. # Contributing Create an issue or (preferably) send a pull request. diff --git a/XcodeServerSDK.xcodeproj/project.pbxproj b/XcodeServerSDK.xcodeproj/project.pbxproj index 201e047..531323c 100644 --- a/XcodeServerSDK.xcodeproj/project.pbxproj +++ b/XcodeServerSDK.xcodeproj/project.pbxproj @@ -57,6 +57,7 @@ 11FB71B81B34B00000D57A52 /* XcodeServerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48CC1B2A5AC40077ABEA /* XcodeServerTests.swift */; }; 11FB71B91B34B00000D57A52 /* BotParsingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */; }; 11FB71BA1B34B00000D57A52 /* TestUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A921B315BB50077FD47 /* TestUtils.swift */; }; + 142C384CB7F5374555AEF779 /* Pods_XcodeServerSDK___OS_X_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 3A058A8E1B31595A0077FD47 /* BotParsingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */; }; 3A058A931B315BB50077FD47 /* TestUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A921B315BB50077FD47 /* TestUtils.swift */; }; 3A06D5FD1B3C184400F0A6C5 /* XcodeServerEntityTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709ED67B1B35FD3F00A06038 /* XcodeServerEntityTests.swift */; }; @@ -106,14 +107,13 @@ 3AA922511B3F0E39005A0F73 /* scm_branches_request_with_fingerprint.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AA9223A1B3F0E2C005A0F73 /* scm_branches_request_with_fingerprint.json */; }; 3AA922531B3F0E39005A0F73 /* scm_branches_response_success.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AA9223C1B3F0E2C005A0F73 /* scm_branches_response_success.json */; }; 3AA922541B3F0E39005A0F73 /* scm_branches_response_error.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AA9223D1B3F0E2C005A0F73 /* scm_branches_response_error.json */; }; - 3AA922B71B3F4657005A0F73 /* DVR.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AA922B21B3F4630005A0F73 /* DVR.framework */; }; - 3AA922BA1B3F4666005A0F73 /* DVR.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AA922AC1B3F4630005A0F73 /* DVR.framework */; }; 3ABE68661B3AC3C500FA0A61 /* DeviceSpecification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ABE68651B3AC3C500FA0A61 /* DeviceSpecification.swift */; }; 3ABE68671B3AC3C500FA0A61 /* DeviceSpecification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ABE68651B3AC3C500FA0A61 /* DeviceSpecification.swift */; }; 3AC47F401B586DFD008C4E42 /* get_integration.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AC47F3F1B586DFD008C4E42 /* get_integration.json */; }; 3AC47F411B586DFD008C4E42 /* get_integration.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AC47F3F1B586DFD008C4E42 /* get_integration.json */; }; 3AC47F461B587C67008C4E42 /* IntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC47F451B587C67008C4E42 /* IntegrationTests.swift */; }; 3AC47F471B587C67008C4E42 /* IntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC47F451B587C67008C4E42 /* IntegrationTests.swift */; }; + 3D19506C0E23052633263948 /* Pods_XcodeServerSDK___iOS_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBDD1F2C73FB1DFB681AD807 /* Pods_XcodeServerSDK___iOS_Tests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 700C93561B54F58A00B3C6E6 /* get_devices.json in Resources */ = {isa = PBXBuildFile; fileRef = 700C93551B54F58A00B3C6E6 /* get_devices.json */; }; 700C93571B54F58A00B3C6E6 /* get_devices.json in Resources */ = {isa = PBXBuildFile; fileRef = 700C93551B54F58A00B3C6E6 /* get_devices.json */; }; 7027067E1B44548800E09FDF /* XcodeServer+Bot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7027067D1B44548800E09FDF /* XcodeServer+Bot.swift */; }; @@ -174,55 +174,6 @@ remoteGlobalIDString = 3A7B48B91B2A5AC40077ABEA; remoteInfo = XcodeServerSDK; }; - 3AA922AB1B3F4630005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3647AF9B1B335D5500EF10D4; - remoteInfo = "DVR-iOS"; - }; - 3AA922AD1B3F4630005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3647AFA51B335D5500EF10D4; - remoteInfo = "DVRTests-iOS"; - }; - 3AA922AF1B3F4630005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3690A06E1B33AA0900731222; - remoteInfo = "DVR-watchOS"; - }; - 3AA922B11B3F4630005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3690A07B1B33AA3B00731222; - remoteInfo = "DVR-OSX"; - }; - 3AA922B31B3F4630005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3690A0841B33AA3C00731222; - remoteInfo = "DVRTests-OSX"; - }; - 3AA922B51B3F4651005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 3690A07A1B33AA3B00731222; - remoteInfo = "DVR-OSX"; - }; - 3AA922B81B3F4661005A0F73 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 3647AF9A1B335D5500EF10D4; - remoteInfo = "DVR-iOS"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -231,6 +182,7 @@ 11376BD41B3A2F910005A681 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 11FB71891B34AE7F00D57A52 /* XcodeServerSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = XcodeServerSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 11FB71921B34AE7F00D57A52 /* XcodeServerSDKTest.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XcodeServerSDKTest.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 32A64D48621A713DEADE94E8 /* Pods-XcodeServerSDK - iOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests.release.xcconfig"; sourceTree = ""; }; 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BotParsingTests.swift; sourceTree = ""; }; 3A058A921B315BB50077FD47 /* TestUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestUtils.swift; sourceTree = ""; }; 3A13F30A1B404E7500C29D81 /* platforms.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = platforms.json; path = Data/platforms.json; sourceTree = ""; }; @@ -267,10 +219,10 @@ 3AA9223A1B3F0E2C005A0F73 /* scm_branches_request_with_fingerprint.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_request_with_fingerprint.json; path = Data/scm_branches_request_with_fingerprint.json; sourceTree = ""; }; 3AA9223C1B3F0E2C005A0F73 /* scm_branches_response_success.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_response_success.json; path = Data/scm_branches_response_success.json; sourceTree = ""; }; 3AA9223D1B3F0E2C005A0F73 /* scm_branches_response_error.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_response_error.json; path = Data/scm_branches_response_error.json; sourceTree = ""; }; - 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = DVR.xcodeproj; path = Carthage/Checkouts/DVR/DVR.xcodeproj; sourceTree = ""; }; 3ABE68651B3AC3C500FA0A61 /* DeviceSpecification.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DeviceSpecification.swift; sourceTree = ""; }; 3AC47F3F1B586DFD008C4E42 /* get_integration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = get_integration.json; sourceTree = ""; }; 3AC47F451B587C67008C4E42 /* IntegrationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntegrationTests.swift; sourceTree = ""; }; + 5092B32F595740C3EB6EE029 /* Pods-XcodeServerSDK - iOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests.debug.xcconfig"; sourceTree = ""; }; 700C93551B54F58A00B3C6E6 /* get_devices.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = get_devices.json; sourceTree = ""; }; 7027067D1B44548800E09FDF /* XcodeServer+Bot.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Bot.swift"; sourceTree = ""; }; 702706841B445F6A00E09FDF /* XcodeServer+SCM.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+SCM.swift"; sourceTree = ""; }; @@ -294,6 +246,10 @@ 70C2D8371B431BCE008845FB /* XcodeServer+Auth.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Auth.swift"; sourceTree = ""; }; 70C2D8481B432A55008845FB /* XcodeServer+Repository.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Repository.swift"; sourceTree = ""; }; 70DE3FA61B443137000761B7 /* XcodeServer+Integration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Integration.swift"; sourceTree = ""; }; + 9BDE8F2120A2D7FF191C52AB /* Pods-XcodeServerSDK - OS X Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests.debug.xcconfig"; sourceTree = ""; }; + C20201476B04C021A4213BDA /* Pods-XcodeServerSDK - OS X Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests.release.xcconfig"; sourceTree = ""; }; + E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___OS_X_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + EBDD1F2C73FB1DFB681AD807 /* Pods_XcodeServerSDK___iOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___iOS_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -315,8 +271,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3AA922BA1B3F4666005A0F73 /* DVR.framework in Frameworks */, 11FB71931B34AE7F00D57A52 /* XcodeServerSDK.framework in Frameworks */, + 3D19506C0E23052633263948 /* Pods_XcodeServerSDK___iOS_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -331,8 +287,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3AA922B71B3F4657005A0F73 /* DVR.framework in Frameworks */, 3A7B48C61B2A5AC40077ABEA /* XcodeServerSDK.framework in Frameworks */, + 142C384CB7F5374555AEF779 /* Pods_XcodeServerSDK___OS_X_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -369,9 +325,10 @@ 3A7B48BC1B2A5AC40077ABEA /* XcodeServerSDK */, 3A7B48C91B2A5AC40077ABEA /* XcodeServerSDKTests */, 11376BD11B3A2F910005A681 /* XcodeServerSDK - watchOS */, - 3AA922A21B3F460E005A0F73 /* Dependencies */, 70F463351B2B3EF800C3F963 /* Playgrounds */, 3A7B48BB1B2A5AC40077ABEA /* Products */, + 71C1EC2766B2B707E0540456 /* Pods */, + A1830F6FD775BBC78E612B9D /* Frameworks */, ); sourceTree = ""; }; @@ -442,26 +399,6 @@ name = "Supporting Files"; sourceTree = ""; }; - 3AA922A21B3F460E005A0F73 /* Dependencies */ = { - isa = PBXGroup; - children = ( - 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */, - ); - name = Dependencies; - sourceTree = ""; - }; - 3AA922A41B3F4630005A0F73 /* Products */ = { - isa = PBXGroup; - children = ( - 3AA922AC1B3F4630005A0F73 /* DVR.framework */, - 3AA922AE1B3F4630005A0F73 /* DVRTests-iOS.xctest */, - 3AA922B01B3F4630005A0F73 /* DVR.framework */, - 3AA922B21B3F4630005A0F73 /* DVR.framework */, - 3AA922B41B3F4630005A0F73 /* DVRTests-OSX.xctest */, - ); - name = Products; - sourceTree = ""; - }; 3AD14B771B3F71C600BFDEAA /* Casettes */ = { isa = PBXGroup; children = ( @@ -538,6 +475,26 @@ path = Playgrounds; sourceTree = ""; }; + 71C1EC2766B2B707E0540456 /* Pods */ = { + isa = PBXGroup; + children = ( + 9BDE8F2120A2D7FF191C52AB /* Pods-XcodeServerSDK - OS X Tests.debug.xcconfig */, + C20201476B04C021A4213BDA /* Pods-XcodeServerSDK - OS X Tests.release.xcconfig */, + 5092B32F595740C3EB6EE029 /* Pods-XcodeServerSDK - iOS Tests.debug.xcconfig */, + 32A64D48621A713DEADE94E8 /* Pods-XcodeServerSDK - iOS Tests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + A1830F6FD775BBC78E612B9D /* Frameworks */ = { + isa = PBXGroup; + children = ( + E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */, + EBDD1F2C73FB1DFB681AD807 /* Pods_XcodeServerSDK___iOS_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -608,14 +565,16 @@ isa = PBXNativeTarget; buildConfigurationList = 11FB719F1B34AE7F00D57A52 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - iOS Tests" */; buildPhases = ( + 5BB543B4D2125A792303C85C /* Check Pods Manifest.lock */, 11FB718E1B34AE7F00D57A52 /* Sources */, 11FB718F1B34AE7F00D57A52 /* Frameworks */, 11FB71901B34AE7F00D57A52 /* Resources */, + 8F4F7CC206FE0679FD225D5A /* Embed Pods Frameworks */, + 854ED95FC9D2AB943CDA28DC /* Copy Pods Resources */, ); buildRules = ( ); dependencies = ( - 3AA922B91B3F4661005A0F73 /* PBXTargetDependency */, 11FB71951B34AE7F00D57A52 /* PBXTargetDependency */, ); name = "XcodeServerSDK - iOS Tests"; @@ -645,14 +604,16 @@ isa = PBXNativeTarget; buildConfigurationList = 3A7B48D31B2A5AC40077ABEA /* Build configuration list for PBXNativeTarget "XcodeServerSDK - OS X Tests" */; buildPhases = ( + F5E0F8394FC009376AF0CDF3 /* Check Pods Manifest.lock */, 3A7B48C11B2A5AC40077ABEA /* Sources */, 3A7B48C21B2A5AC40077ABEA /* Frameworks */, 3A7B48C31B2A5AC40077ABEA /* Resources */, + 9DD874A1B62369DB602977E5 /* Embed Pods Frameworks */, + 8E4427E4D7267EC995410B13 /* Copy Pods Resources */, ); buildRules = ( ); dependencies = ( - 3AA922B61B3F4651005A0F73 /* PBXTargetDependency */, 3A7B48C81B2A5AC40077ABEA /* PBXTargetDependency */, ); name = "XcodeServerSDK - OS X Tests"; @@ -697,12 +658,6 @@ mainGroup = 3A7B48B01B2A5AC40077ABEA; productRefGroup = 3A7B48BB1B2A5AC40077ABEA /* Products */; projectDirPath = ""; - projectReferences = ( - { - ProductGroup = 3AA922A41B3F4630005A0F73 /* Products */; - ProjectRef = 3AA922A31B3F4630005A0F73 /* DVR.xcodeproj */; - }, - ); projectRoot = ""; targets = ( 3A7B48B91B2A5AC40077ABEA /* XcodeServerSDK - OS X */, @@ -714,44 +669,6 @@ }; /* End PBXProject section */ -/* Begin PBXReferenceProxy section */ - 3AA922AC1B3F4630005A0F73 /* DVR.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = DVR.framework; - remoteRef = 3AA922AB1B3F4630005A0F73 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 3AA922AE1B3F4630005A0F73 /* DVRTests-iOS.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = "DVRTests-iOS.xctest"; - remoteRef = 3AA922AD1B3F4630005A0F73 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 3AA922B01B3F4630005A0F73 /* DVR.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = DVR.framework; - remoteRef = 3AA922AF1B3F4630005A0F73 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 3AA922B21B3F4630005A0F73 /* DVR.framework */ = { - isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = DVR.framework; - remoteRef = 3AA922B11B3F4630005A0F73 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 3AA922B41B3F4630005A0F73 /* DVRTests-OSX.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = "DVRTests-OSX.xctest"; - remoteRef = 3AA922B31B3F4630005A0F73 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - /* Begin PBXResourcesBuildPhase section */ 11376BCE1B3A2F910005A681 /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -816,6 +733,99 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 5BB543B4D2125A792303C85C /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + 854ED95FC9D2AB943CDA28DC /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8E4427E4D7267EC995410B13 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8F4F7CC206FE0679FD225D5A /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9DD874A1B62369DB602977E5 /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + F5E0F8394FC009376AF0CDF3 /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 11376BCB1B3A2F910005A681 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -982,16 +992,6 @@ target = 3A7B48B91B2A5AC40077ABEA /* XcodeServerSDK - OS X */; targetProxy = 3A7B48C71B2A5AC40077ABEA /* PBXContainerItemProxy */; }; - 3AA922B61B3F4651005A0F73 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "DVR-OSX"; - targetProxy = 3AA922B51B3F4651005A0F73 /* PBXContainerItemProxy */; - }; - 3AA922B91B3F4661005A0F73 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "DVR-iOS"; - targetProxy = 3AA922B81B3F4661005A0F73 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ @@ -1086,6 +1086,7 @@ }; 11FB719C1B34AE7F00D57A52 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5092B32F595740C3EB6EE029 /* Pods-XcodeServerSDK - iOS Tests.debug.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -1100,6 +1101,7 @@ }; 11FB719D1B34AE7F00D57A52 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 32A64D48621A713DEADE94E8 /* Pods-XcodeServerSDK - iOS Tests.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; INFOPLIST_FILE = XcodeServerSDKTests/Info.plist; @@ -1237,6 +1239,7 @@ }; 3A7B48D41B2A5AC40077ABEA /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 9BDE8F2120A2D7FF191C52AB /* Pods-XcodeServerSDK - OS X Tests.debug.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -1257,6 +1260,7 @@ }; 3A7B48D51B2A5AC40077ABEA /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C20201476B04C021A4213BDA /* Pods-XcodeServerSDK - OS X Tests.release.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( diff --git a/XcodeServerSDK.xcworkspace/contents.xcworkspacedata b/XcodeServerSDK.xcworkspace/contents.xcworkspacedata index 68ecb01..582cae4 100644 --- a/XcodeServerSDK.xcworkspace/contents.xcworkspacedata +++ b/XcodeServerSDK.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,9 @@ + location = "group:XcodeServerSDK.xcodeproj"> + + From 92e7d232644a09e3eaf17656bdd9de46a35e289c Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 14:33:51 +0100 Subject: [PATCH 2/6] moved these to XcodeServerSDK --- XcodeServerSDK/Server Helpers/Errors.swift | 49 ------ XcodeServerSDK/Server Helpers/Server.swift | 19 --- .../Utils/ContainerExtensions.swift | 45 ----- XcodeServerSDK/Utils/HTTPUtils.swift | 128 -------------- XcodeServerSDK/Utils/JSON.swift | 161 ------------------ XcodeServerSDK/Utils/Logging.swift | 92 ---------- 6 files changed, 494 deletions(-) delete mode 100644 XcodeServerSDK/Server Helpers/Errors.swift delete mode 100644 XcodeServerSDK/Server Helpers/Server.swift delete mode 100644 XcodeServerSDK/Utils/ContainerExtensions.swift delete mode 100644 XcodeServerSDK/Utils/HTTPUtils.swift delete mode 100644 XcodeServerSDK/Utils/JSON.swift delete mode 100644 XcodeServerSDK/Utils/Logging.swift diff --git a/XcodeServerSDK/Server Helpers/Errors.swift b/XcodeServerSDK/Server Helpers/Errors.swift deleted file mode 100644 index 484deb4..0000000 --- a/XcodeServerSDK/Server Helpers/Errors.swift +++ /dev/null @@ -1,49 +0,0 @@ -// -// Errors.swift -// Buildasaur -// -// Created by Honza Dvorsky on 07/03/2015. -// Copyright (c) 2015 Honza Dvorsky. All rights reserved. -// - -import Foundation - -public enum BuildaError: String { - case UnknownError = "Unknown error" -} - -public struct Error { - - public static func fromType(type: BuildaError) -> NSError { - return self.withInfo(type.rawValue) - } - - public static func withInfo(info: String?, internalError: NSError? = nil, userInfo: NSDictionary? = nil) -> NSError { - let finalInfo = NSMutableDictionary() - - if let info = info { - finalInfo[NSLocalizedDescriptionKey] = info - } - - if let internalError = internalError { - finalInfo["encountered_error"] = internalError - } - - if let userInfo = userInfo { - finalInfo.addEntriesFromDictionary(userInfo as [NSObject : AnyObject]) - } - - return NSError(domain: "com.honzadvorsky.Buildasaur", code: 0, userInfo: finalInfo as [NSObject : AnyObject]) - } -} - -struct StringError: ErrorType { - - let description: String - let _domain: String = "" - let _code: Int = 0 - - init(_ description: String) { - self.description = description - } -} diff --git a/XcodeServerSDK/Server Helpers/Server.swift b/XcodeServerSDK/Server Helpers/Server.swift deleted file mode 100644 index 8f495b4..0000000 --- a/XcodeServerSDK/Server Helpers/Server.swift +++ /dev/null @@ -1,19 +0,0 @@ -// -// Server.swift -// Buildasaur -// -// Created by Honza Dvorsky on 14/12/2014. -// Copyright (c) 2014 Honza Dvorsky. All rights reserved. -// - -import Foundation - -public class HTTPServer : NSObject { - - public let http: HTTP - - public init(http: HTTP? = nil) { - self.http = http ?? HTTP() - } - -} diff --git a/XcodeServerSDK/Utils/ContainerExtensions.swift b/XcodeServerSDK/Utils/ContainerExtensions.swift deleted file mode 100644 index 794e2f9..0000000 --- a/XcodeServerSDK/Utils/ContainerExtensions.swift +++ /dev/null @@ -1,45 +0,0 @@ -// -// ContainerExtensions.swift -// XcodeServerSDK -// -// Created by Honza Dvorsky on 21/06/2015. -// Copyright © 2015 Honza Dvorsky. All rights reserved. -// - -import Foundation - -extension SequenceType { - - func mapThrows(@noescape transform: (Self.Generator.Element) throws -> T) rethrows -> [T] { - - var out: [T] = [] - for i in self { - out.append(try transform(i)) - } - return out - } - - func filterThrows(@noescape includeElement: (Self.Generator.Element) throws -> Bool) rethrows -> [Self.Generator.Element] { - - var out: [Self.Generator.Element] = [] - for i in self { - if try includeElement(i) { - out.append(i) - } - } - return out - } - - /** - Basically `filter` that stops when it finds the first one. - */ - func findFirst(@noescape test: (Self.Generator.Element) -> Bool) -> Self.Generator.Element? { - - for i in self { - if test(i) { - return i - } - } - return nil - } -} \ No newline at end of file diff --git a/XcodeServerSDK/Utils/HTTPUtils.swift b/XcodeServerSDK/Utils/HTTPUtils.swift deleted file mode 100644 index 79e16bd..0000000 --- a/XcodeServerSDK/Utils/HTTPUtils.swift +++ /dev/null @@ -1,128 +0,0 @@ -// -// HTTPUtils.swift -// Buildasaur -// -// Created by Honza Dvorsky on 13/12/2014. -// Copyright (c) 2014 Honza Dvorsky. All rights reserved. -// - -import Foundation - -public class HTTP { - - public var session: NSURLSession - - public init(session: NSURLSession = NSURLSession.sharedSession()) { - - //disable all caching - session.configuration.requestCachePolicy = .ReloadIgnoringLocalCacheData - session.configuration.URLCache = nil - - self.session = session - } - - public typealias Completion = (response: NSHTTPURLResponse?, body: AnyObject?, error: NSError?) -> () - - public func sendRequest(request: NSURLRequest, completion: Completion) { - - guard let task = self.session.dataTaskWithRequest(request, completionHandler: { (data, response, error) -> Void in - //try to cast into HTTP response - if let httpResponse = response as? NSHTTPURLResponse { - - guard error == nil else { - //error in the networking stack - completion(response: httpResponse, body: nil, error: error) - return - } - - guard let data = data else { - //no body, but a valid response - completion(response: httpResponse, body: nil, error: nil) - return - } - - let code = httpResponse.statusCode - - //error is nil and data isn't, let's check the content type - if let contentType = httpResponse.allHeaderFields["Content-Type"] as? String { - - switch contentType { - - case let s where s.rangeOfString("application/json") != nil: - - let (json, error) = JSON.parse(data) - // let headers = httpResponse.allHeaderFields - completion(response: httpResponse, body: json, error: error) - - default: - //parse as UTF8 string - let string = NSString(data: data, encoding: NSUTF8StringEncoding) as! String - - //check for common problems - let userInfo: NSDictionary? = { - - switch code { - case 401: - return ["Response": string] - default: - return nil; - } - }() - - let commonError: NSError? = { - if let userInfo = userInfo { - return Error.withInfo(nil, internalError: nil, userInfo: userInfo) - } - return nil - }() - - completion(response: httpResponse, body: string, error: commonError) - } - } else { - - //no content type, probably a 204 or something - let's just send the code as the content object - completion(response: httpResponse, body: code, error: error) - } - } else { - let e = error ?? Error.withInfo("Response is nil") - completion(response: nil, body: nil, error: e) - } - }) else { - completion(response: nil, body:nil, error:Error.withInfo("Could't create request")) - return - } - - task.resume() - } - -} - -extension HTTP { - - public enum Method : String { - case GET = "GET" - case POST = "POST" - case PATCH = "PATCH" - case DELETE = "DELETE" - case PUT = "PUT" - } - - /** - Class method for generating query String based on input Dictionary. - - - parameter query: Optional Dictionary of type [String: String] - - - returns: Query or empty String - */ - public class func stringForQuery(query: [String : String]?) -> String { - guard let query = query where query.count > 0 else { - return "" - } - - let pairs = query.keys.sort().map { "\($0)=\(query[$0]!)" } - let full = "?" + "&".join(pairs) - - return full - } - -} diff --git a/XcodeServerSDK/Utils/JSON.swift b/XcodeServerSDK/Utils/JSON.swift deleted file mode 100644 index bbc733b..0000000 --- a/XcodeServerSDK/Utils/JSON.swift +++ /dev/null @@ -1,161 +0,0 @@ - -// JSON.swift -// Buildasaur -// -// Created by Honza Dvorsky on 12/12/2014. -// Copyright (c) 2014 Honza Dvorsky. All rights reserved. -// - -import Foundation - -public protocol JSONSerializable { - init?(json: NSDictionary) throws - func jsonify() -> NSDictionary -} - -public class JSON { - - private class func parseDictionary(data: NSData) -> ([String: AnyObject]?, NSError?) { - let (object, error) = self.parse(data) - return (object as? [String: AnyObject], error) - } - - private class func parseArray(data: NSData) -> ([AnyObject]!, NSError!) { - let (object, error) = self.parse(data) - return (object as? [AnyObject], error) - } - - public class func parse(url: NSURL) -> (AnyObject?, NSError?) { - - do { - let data = try NSData(contentsOfURL: url, options: NSDataReadingOptions(rawValue: 0)) - return self.parse(data) - } catch { - return (nil, error as NSError) - } - } - - public class func parse(data: NSData) -> (AnyObject?, NSError?) { - do { - let obj = try NSJSONSerialization.JSONObjectWithData(data, options: .AllowFragments) - return (obj as AnyObject, nil) - } catch { - return (nil, error as NSError) - } - } -} - -private var formatter: NSDateFormatter! - -public extension NSDictionary { - - public func arrayForKey(key: String) -> [T]! { - - let array = self.arrayForKey(key) - var newArray = [T]() - for i in array { - newArray.append(i as! T) - } - return newArray - } - - public func optionalForKey(key: String) -> Z? { - - if let optional = self[key] as? Z { - return optional - } - return nil - } - - public func nonOptionalForKey(key: String) -> Z { - return self.optionalForKey(key)! - } - - public func optionalArrayForKey(key: String) -> NSArray? { - return self.optionalForKey(key) - } - - public func arrayForKey(key: String) -> NSArray { - return self.nonOptionalForKey(key) - } - - public func optionalStringForKey(key: String) -> String? { - return self.optionalForKey(key) - } - - public func optionalNSURLForKey(key: String) -> NSURL? { - if let string = self.optionalStringForKey(key) { - return NSURL(string: string) - } - return nil - } - - public func stringForKey(key: String) -> String { - return self.nonOptionalForKey(key) - } - - public func optionalIntForKey(key: String) -> Int? { - return self.optionalForKey(key) - } - - public func intForKey(key: String) -> Int { - return self.nonOptionalForKey(key) - } - - public func optionalBoolForKey(key: String) -> Bool? { - return self.optionalForKey(key) - } - - public func boolForKey(key: String) -> Bool { - return self.nonOptionalForKey(key) - } - - public func optionalDictionaryForKey(key: String) -> NSDictionary? { - return self.optionalForKey(key) - } - - public func dictionaryForKey(key: String) -> NSDictionary { - return self.nonOptionalForKey(key) - } - - private func getFormatter() -> NSDateFormatter { - - if formatter == nil { - formatter = NSDateFormatter() - formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZ" - } - return formatter - } - - public func optionalDateForKey(key: String) -> NSDate? { - - if let dateString = self.optionalStringForKey(key) { - let date = self.getFormatter().dateFromString(dateString) - return date - } - return nil - } - - public func dateForKey(key: String) -> NSDate { - return self.optionalDateForKey(key)! - } - - public func optionalDoubleForKey(key: String) -> Double? { - return self.optionalForKey(key) - } - - public func doubleForKey(key: String) -> Double { - return self.nonOptionalForKey(key) - } - -} - -public extension NSMutableDictionary { - - public func optionallyAddValueForKey(value: AnyObject?, key: String) { - if let value: AnyObject = value { - self[key] = value - } - } -} - diff --git a/XcodeServerSDK/Utils/Logging.swift b/XcodeServerSDK/Utils/Logging.swift deleted file mode 100644 index 7039e69..0000000 --- a/XcodeServerSDK/Utils/Logging.swift +++ /dev/null @@ -1,92 +0,0 @@ -// -// Logging.swift -// Buildasaur -// -// Created by Honza Dvorsky on 12/04/2015. -// Copyright (c) 2015 Honza Dvorsky. All rights reserved. -// - -import Foundation - -public protocol Logger { - - func description() -> String - func log(message: String) -} - -public class FileLogger: Logger { - - let filePath: NSURL - let stream: NSOutputStream - - public init(filePath: NSURL) { - self.filePath = filePath - self.stream = NSOutputStream(URL: filePath, append: true)! - self.stream.open() - } - - deinit { - self.stream.close() - } - - public func description() -> String { - return "File logger into file at path \(self.filePath)" - } - - public func log(message: String) { - let data: NSData = "\(message)\n".dataUsingEncoding(NSUTF8StringEncoding)! - self.stream.write(UnsafePointer(data.bytes), maxLength: data.length) - } -} - -public class ConsoleLogger: Logger { - - public init() { - // - } - - public func description() -> String { - return "Console logger" - } - - public func log(message: String) { - print(message) - } -} - -public class Log { - - static private var _loggers = [Logger]() - public class func addLoggers(loggers: [Logger]) { - for i in loggers { - _loggers.append(i) - print("Added logger: \(i)") - } - } - - private class func log(message: String) { - for i in _loggers { - i.log(message) - } - } - - public class func verbose(message: String) { - Log.log("[VERBOSE]: " + message) - } - - public class func info(message: String) { - Log.log("[INFO]: " + message) - } - - public class func error(error: ErrorType) { - self.error("\(error)") - } - - public class func error(message: String) { - Log.log("[ERROR]: " + message) - } - - public class func untouched(message: String) { - Log.log(message) - } -} From fa1d3e8bcce2bfa8631a4eb6ae5bb1893091569c Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 14:55:36 +0100 Subject: [PATCH 3/6] new spec --- Podfile | 8 ++-- XcodeServerSDK.podspec | 9 ++-- XcodeServerSDK.xcodeproj/project.pbxproj | 56 ------------------------ 3 files changed, 10 insertions(+), 63 deletions(-) diff --git a/Podfile b/Podfile index 538a01f..ad023de 100644 --- a/Podfile +++ b/Podfile @@ -2,22 +2,24 @@ use_frameworks! target 'XcodeServerSDK - OS X' do - +pod 'BuildaUtils', '0.0.3' end target 'XcodeServerSDK - OS X Tests' do +pod 'BuildaUtils', '0.0.3' pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" end target 'XcodeServerSDK - iOS' do - +pod 'BuildaUtils', '0.0.3' end target 'XcodeServerSDK - iOS Tests' do +pod 'BuildaUtils', '0.0.3' pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" end target 'XcodeServerSDK - watchOS' do - +pod 'BuildaUtils', '0.0.3' end diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 99ddc0f..15d8328 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "XcodeServerSDK" - s.version = "0.1.3" + s.version = "0.1.4" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" @@ -12,11 +12,12 @@ Pod::Spec.new do |s| s.ios.deployment_target = "8.0" s.osx.deployment_target = "10.10" - # s.watchos.deployment_target = "2.0" + s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.3" } + s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.4" } s.source_files = "XcodeServerSDK/**/*.{swift}" - s.requires_arc = true + + s.dependency "BuildaUtils", "0.0.3" end diff --git a/XcodeServerSDK.xcodeproj/project.pbxproj b/XcodeServerSDK.xcodeproj/project.pbxproj index 531323c..5b12b5b 100644 --- a/XcodeServerSDK.xcodeproj/project.pbxproj +++ b/XcodeServerSDK.xcodeproj/project.pbxproj @@ -25,12 +25,7 @@ 11376BE41B3A2FE30005A681 /* SourceControlBlueprint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DB1B2A5ADE0077ABEA /* SourceControlBlueprint.swift */; }; 11376BE51B3A2FE30005A681 /* Integration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DA1B2A5ADE0077ABEA /* Integration.swift */; }; 11376BE61B3A2FEB0005A681 /* CIServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48D81B2A5ADE0077ABEA /* CIServer.swift */; }; - 11376BE71B3A2FEB0005A681 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F61B2A5BDA0077ABEA /* Errors.swift */; }; - 11376BE81B3A2FEB0005A681 /* Server.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EC1B2A5B3C0077ABEA /* Server.swift */; }; 11376BE91B3A2FEB0005A681 /* XcodeServerConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DD1B2A5ADE0077ABEA /* XcodeServerConstants.swift */; }; - 11376BEA1B3A2FF40005A681 /* HTTPUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EE1B2A5B520077ABEA /* HTTPUtils.swift */; }; - 11376BEB1B3A2FF40005A681 /* JSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F01B2A5B7B0077ABEA /* JSON.swift */; }; - 11376BEC1B3A2FF40005A681 /* Logging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F41B2A5BC60077ABEA /* Logging.swift */; }; 11FB71931B34AE7F00D57A52 /* XcodeServerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11FB71891B34AE7F00D57A52 /* XcodeServerSDK.framework */; }; 11FB71A21B34AF1A00D57A52 /* XcodeServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DC1B2A5ADE0077ABEA /* XcodeServer.swift */; }; 11FB71A31B34AF1A00D57A52 /* XcodeServerEntity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DF1B2A5ADE0077ABEA /* XcodeServerEntity.swift */; }; @@ -47,12 +42,7 @@ 11FB71AE1B34AF2400D57A52 /* SourceControlBlueprint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DB1B2A5ADE0077ABEA /* SourceControlBlueprint.swift */; }; 11FB71AF1B34AF2400D57A52 /* Integration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DA1B2A5ADE0077ABEA /* Integration.swift */; }; 11FB71B01B34AF3300D57A52 /* CIServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48D81B2A5ADE0077ABEA /* CIServer.swift */; }; - 11FB71B11B34AF3300D57A52 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F61B2A5BDA0077ABEA /* Errors.swift */; }; - 11FB71B21B34AF3300D57A52 /* Server.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EC1B2A5B3C0077ABEA /* Server.swift */; }; 11FB71B31B34AF3300D57A52 /* XcodeServerConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DD1B2A5ADE0077ABEA /* XcodeServerConstants.swift */; }; - 11FB71B41B34AF3900D57A52 /* HTTPUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EE1B2A5B520077ABEA /* HTTPUtils.swift */; }; - 11FB71B51B34AF3900D57A52 /* JSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F01B2A5B7B0077ABEA /* JSON.swift */; }; - 11FB71B61B34AF3900D57A52 /* Logging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F41B2A5BC60077ABEA /* Logging.swift */; }; 11FB71B71B34AF4B00D57A52 /* XcodeServerSDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A7B48BF1B2A5AC40077ABEA /* XcodeServerSDK.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11FB71B81B34B00000D57A52 /* XcodeServerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48CC1B2A5AC40077ABEA /* XcodeServerTests.swift */; }; 11FB71B91B34B00000D57A52 /* BotParsingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */; }; @@ -87,17 +77,9 @@ 3A7B48E91B2A5ADE0077ABEA /* XcodeServerEndpoints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DE1B2A5ADE0077ABEA /* XcodeServerEndpoints.swift */; }; 3A7B48EA1B2A5ADE0077ABEA /* XcodeServerEntity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DF1B2A5ADE0077ABEA /* XcodeServerEntity.swift */; }; 3A7B48EB1B2A5ADE0077ABEA /* XcodeServerFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48E01B2A5ADE0077ABEA /* XcodeServerFactory.swift */; }; - 3A7B48ED1B2A5B3C0077ABEA /* Server.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EC1B2A5B3C0077ABEA /* Server.swift */; }; - 3A7B48EF1B2A5B520077ABEA /* HTTPUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48EE1B2A5B520077ABEA /* HTTPUtils.swift */; }; - 3A7B48F11B2A5B7B0077ABEA /* JSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F01B2A5B7B0077ABEA /* JSON.swift */; }; - 3A7B48F51B2A5BC60077ABEA /* Logging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F41B2A5BC60077ABEA /* Logging.swift */; }; - 3A7B48F71B2A5BDA0077ABEA /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48F61B2A5BDA0077ABEA /* Errors.swift */; }; 3A7CCD3A1B55F97B00CED8BC /* TestHierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7CCD391B55F97B00CED8BC /* TestHierarchy.swift */; }; 3A7CCD3B1B55F97B00CED8BC /* TestHierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7CCD391B55F97B00CED8BC /* TestHierarchy.swift */; }; 3A7CCD3C1B55F97B00CED8BC /* TestHierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7CCD391B55F97B00CED8BC /* TestHierarchy.swift */; }; - 3A80C8061B3B62390065C1C6 /* ContainerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A80C8051B3B62390065C1C6 /* ContainerExtensions.swift */; }; - 3A80C8071B3B62390065C1C6 /* ContainerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A80C8051B3B62390065C1C6 /* ContainerExtensions.swift */; }; - 3A80C8081B3B63790065C1C6 /* ContainerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A80C8051B3B62390065C1C6 /* ContainerExtensions.swift */; }; 3A80C8091B3B639D0065C1C6 /* DeviceSpecification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ABE68651B3AC3C500FA0A61 /* DeviceSpecification.swift */; }; 3AA9224B1B3F0E38005A0F73 /* scm_branches_request_no_fingerprint.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AA922391B3F0E2C005A0F73 /* scm_branches_request_no_fingerprint.json */; }; 3AA9224C1B3F0E38005A0F73 /* scm_branches_request_with_fingerprint.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AA9223A1B3F0E2C005A0F73 /* scm_branches_request_with_fingerprint.json */; }; @@ -208,13 +190,7 @@ 3A7B48DE1B2A5ADE0077ABEA /* XcodeServerEndpoints.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XcodeServerEndpoints.swift; sourceTree = ""; }; 3A7B48DF1B2A5ADE0077ABEA /* XcodeServerEntity.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XcodeServerEntity.swift; sourceTree = ""; }; 3A7B48E01B2A5ADE0077ABEA /* XcodeServerFactory.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XcodeServerFactory.swift; sourceTree = ""; }; - 3A7B48EC1B2A5B3C0077ABEA /* Server.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Server.swift; sourceTree = ""; }; - 3A7B48EE1B2A5B520077ABEA /* HTTPUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTTPUtils.swift; sourceTree = ""; }; - 3A7B48F01B2A5B7B0077ABEA /* JSON.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JSON.swift; sourceTree = ""; }; - 3A7B48F41B2A5BC60077ABEA /* Logging.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logging.swift; sourceTree = ""; }; - 3A7B48F61B2A5BDA0077ABEA /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = ""; }; 3A7CCD391B55F97B00CED8BC /* TestHierarchy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestHierarchy.swift; sourceTree = ""; }; - 3A80C8051B3B62390065C1C6 /* ContainerExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContainerExtensions.swift; sourceTree = ""; }; 3AA922391B3F0E2C005A0F73 /* scm_branches_request_no_fingerprint.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_request_no_fingerprint.json; path = Data/scm_branches_request_no_fingerprint.json; sourceTree = ""; }; 3AA9223A1B3F0E2C005A0F73 /* scm_branches_request_with_fingerprint.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_request_with_fingerprint.json; path = Data/scm_branches_request_with_fingerprint.json; sourceTree = ""; }; 3AA9223C1B3F0E2C005A0F73 /* scm_branches_response_success.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = scm_branches_response_success.json; path = Data/scm_branches_response_success.json; sourceTree = ""; }; @@ -357,7 +333,6 @@ 707D089F1B2C6AA1003900F3 /* Server Entities */, 707D08A11B2C6BB8003900F3 /* Server Helpers */, 3A7B48BD1B2A5AC40077ABEA /* Supporting Files */, - 707D08A01B2C6B6B003900F3 /* Utils */, ); path = XcodeServerSDK; sourceTree = ""; @@ -431,23 +406,10 @@ path = "Server Entities"; sourceTree = ""; }; - 707D08A01B2C6B6B003900F3 /* Utils */ = { - isa = PBXGroup; - children = ( - 3A7B48EE1B2A5B520077ABEA /* HTTPUtils.swift */, - 3A7B48F01B2A5B7B0077ABEA /* JSON.swift */, - 3A7B48F41B2A5BC60077ABEA /* Logging.swift */, - 3A80C8051B3B62390065C1C6 /* ContainerExtensions.swift */, - ); - path = Utils; - sourceTree = ""; - }; 707D08A11B2C6BB8003900F3 /* Server Helpers */ = { isa = PBXGroup; children = ( 3A7B48D81B2A5ADE0077ABEA /* CIServer.swift */, - 3A7B48F61B2A5BDA0077ABEA /* Errors.swift */, - 3A7B48EC1B2A5B3C0077ABEA /* Server.swift */, 3A7B48DD1B2A5ADE0077ABEA /* XcodeServerConstants.swift */, ); path = "Server Helpers"; @@ -831,16 +793,10 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 11376BEA1B3A2FF40005A681 /* HTTPUtils.swift in Sources */, - 3A80C8081B3B63790065C1C6 /* ContainerExtensions.swift in Sources */, - 11376BEB1B3A2FF40005A681 /* JSON.swift in Sources */, - 11376BEC1B3A2FF40005A681 /* Logging.swift in Sources */, 11376BDD1B3A2FE30005A681 /* Bot.swift in Sources */, 11376BDE1B3A2FE30005A681 /* BotConfiguration.swift in Sources */, 11376BDF1B3A2FE30005A681 /* EmailConfiguration.swift in Sources */, 11376BE61B3A2FEB0005A681 /* CIServer.swift in Sources */, - 11376BE71B3A2FEB0005A681 /* Errors.swift in Sources */, - 11376BE81B3A2FEB0005A681 /* Server.swift in Sources */, 11376BE91B3A2FEB0005A681 /* XcodeServerConstants.swift in Sources */, 70B43A8F1B43D6EA004F9DEB /* XcodeServer+Platform.swift in Sources */, 702706871B445F6A00E09FDF /* XcodeServer+SCM.swift in Sources */, @@ -869,14 +825,9 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 11FB71B41B34AF3900D57A52 /* HTTPUtils.swift in Sources */, - 11FB71B51B34AF3900D57A52 /* JSON.swift in Sources */, 7027067F1B44548800E09FDF /* XcodeServer+Bot.swift in Sources */, - 11FB71B61B34AF3900D57A52 /* Logging.swift in Sources */, 11FB71B01B34AF3300D57A52 /* CIServer.swift in Sources */, - 11FB71B11B34AF3300D57A52 /* Errors.swift in Sources */, 70DE3FA81B443137000761B7 /* XcodeServer+Integration.swift in Sources */, - 11FB71B21B34AF3300D57A52 /* Server.swift in Sources */, 11FB71B31B34AF3300D57A52 /* XcodeServerConstants.swift in Sources */, 11129E591B4361C60037B689 /* Repository.swift in Sources */, 11FB71A71B34AF2400D57A52 /* Bot.swift in Sources */, @@ -898,7 +849,6 @@ 11FB71A21B34AF1A00D57A52 /* XcodeServer.swift in Sources */, 11FB71A31B34AF1A00D57A52 /* XcodeServerEntity.swift in Sources */, 11FB71A41B34AF1A00D57A52 /* XcodeServerConfig.swift in Sources */, - 3A80C8071B3B62390065C1C6 /* ContainerExtensions.swift in Sources */, 11FB71A51B34AF1A00D57A52 /* XcodeServerEndpoints.swift in Sources */, 11FB71A61B34AF1A00D57A52 /* XcodeServerFactory.swift in Sources */, ); @@ -927,8 +877,6 @@ buildActionMask = 2147483647; files = ( 3A7B48E61B2A5ADE0077ABEA /* SourceControlBlueprint.swift in Sources */, - 3A7B48F11B2A5B7B0077ABEA /* JSON.swift in Sources */, - 3A7B48EF1B2A5B520077ABEA /* HTTPUtils.swift in Sources */, 3A7B48E31B2A5ADE0077ABEA /* CIServer.swift in Sources */, 3A7B48E71B2A5ADE0077ABEA /* XcodeServer.swift in Sources */, 3A7B48E91B2A5ADE0077ABEA /* XcodeServerEndpoints.swift in Sources */, @@ -948,16 +896,12 @@ 707D089E1B2C6A1F003900F3 /* TriggerConditions.swift in Sources */, 702706851B445F6A00E09FDF /* XcodeServer+SCM.swift in Sources */, 3A7B48E11B2A5ADE0077ABEA /* Bot.swift in Sources */, - 3A7B48F71B2A5BDA0077ABEA /* Errors.swift in Sources */, - 3A7B48ED1B2A5B3C0077ABEA /* Server.swift in Sources */, 707D08981B2C6954003900F3 /* EmailConfiguration.swift in Sources */, 70DE3FA71B443137000761B7 /* XcodeServer+Integration.swift in Sources */, 70B43A861B43C95A004F9DEB /* XcodeServer+Device.swift in Sources */, 3A7B48E41B2A5ADE0077ABEA /* Device.swift in Sources */, 70C2D8491B432A55008845FB /* XcodeServer+Repository.swift in Sources */, - 3A80C8061B3B62390065C1C6 /* ContainerExtensions.swift in Sources */, 707D089A1B2C6986003900F3 /* BotSchedule.swift in Sources */, - 3A7B48F51B2A5BC60077ABEA /* Logging.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; From ab50b8353a3bd46bc67eadd343dc423e5d72c14f Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 15:06:53 +0100 Subject: [PATCH 4/6] adopted BuildaUtils --- Podfile | 13 +- Podfile.lock | 3 + XcodeServerSDK.podspec | 2 +- XcodeServerSDK.xcodeproj/project.pbxproj | 128 +++++++++++++++++- .../API Routes/XcodeServer+Auth.swift | 1 + .../API Routes/XcodeServer+Bot.swift | 1 + .../API Routes/XcodeServer+Device.swift | 1 + .../API Routes/XcodeServer+Integration.swift | 1 + .../API Routes/XcodeServer+Platform.swift | 1 + .../API Routes/XcodeServer+Repository.swift | 1 + .../API Routes/XcodeServer+SCM.swift | 1 + .../SourceControlBlueprint.swift | 1 + XcodeServerSDK/Server Helpers/CIServer.swift | 1 + XcodeServerSDK/XcodeServer.swift | 1 + XcodeServerSDK/XcodeServerConfig.swift | 1 + XcodeServerSDK/XcodeServerEndpoints.swift | 1 + XcodeServerSDKTests/HTTPUtilsTests.swift | 2 +- 17 files changed, 151 insertions(+), 9 deletions(-) diff --git a/Podfile b/Podfile index ad023de..9e72001 100644 --- a/Podfile +++ b/Podfile @@ -1,25 +1,28 @@ use_frameworks! +utils_name = 'BuildaUtils' +utils_version = '0.0.4' + target 'XcodeServerSDK - OS X' do -pod 'BuildaUtils', '0.0.3' +pod utils_name, utils_version end target 'XcodeServerSDK - OS X Tests' do -pod 'BuildaUtils', '0.0.3' +pod utils_name, utils_version pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" end target 'XcodeServerSDK - iOS' do -pod 'BuildaUtils', '0.0.3' +pod utils_name, utils_version end target 'XcodeServerSDK - iOS Tests' do -pod 'BuildaUtils', '0.0.3' +pod utils_name, utils_version pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.2-czechboy0" end target 'XcodeServerSDK - watchOS' do -pod 'BuildaUtils', '0.0.3' +pod utils_name, utils_version end diff --git a/Podfile.lock b/Podfile.lock index e0ec4f8..7fc3cbc 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,7 +1,9 @@ PODS: + - BuildaUtils (0.0.4) - DVR (0.0.2-czechboy0) DEPENDENCIES: + - BuildaUtils (= 0.0.4) - DVR (from `https://github.com/czechboy0/DVR.git`, tag `v0.0.2-czechboy0`) EXTERNAL SOURCES: @@ -15,6 +17,7 @@ CHECKOUT OPTIONS: :tag: v0.0.2-czechboy0 SPEC CHECKSUMS: + BuildaUtils: 88917cac8b0248c792c8d0ff269b24870d36903f DVR: c252cd3f4a88f6a3a49f0d66305335951a0aa133 COCOAPODS: 0.38.0.beta.2 diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 15d8328..4b99ed2 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -18,6 +18,6 @@ Pod::Spec.new do |s| s.source_files = "XcodeServerSDK/**/*.{swift}" - s.dependency "BuildaUtils", "0.0.3" + s.dependency "BuildaUtils", "0.0.4" end diff --git a/XcodeServerSDK.xcodeproj/project.pbxproj b/XcodeServerSDK.xcodeproj/project.pbxproj index 5b12b5b..3273b51 100644 --- a/XcodeServerSDK.xcodeproj/project.pbxproj +++ b/XcodeServerSDK.xcodeproj/project.pbxproj @@ -48,6 +48,7 @@ 11FB71B91B34B00000D57A52 /* BotParsingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */; }; 11FB71BA1B34B00000D57A52 /* TestUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A921B315BB50077FD47 /* TestUtils.swift */; }; 142C384CB7F5374555AEF779 /* Pods_XcodeServerSDK___OS_X_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 336AF1527C1EF43BBDCD1731 /* Pods_XcodeServerSDK___iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D2B1C0358ADA963653103E4 /* Pods_XcodeServerSDK___iOS.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 3A058A8E1B31595A0077FD47 /* BotParsingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */; }; 3A058A931B315BB50077FD47 /* TestUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A058A921B315BB50077FD47 /* TestUtils.swift */; }; 3A06D5FD1B3C184400F0A6C5 /* XcodeServerEntityTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709ED67B1B35FD3F00A06038 /* XcodeServerEntityTests.swift */; }; @@ -139,6 +140,8 @@ 70DE3FA81B443137000761B7 /* XcodeServer+Integration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70DE3FA61B443137000761B7 /* XcodeServer+Integration.swift */; }; 70DE3FA91B443137000761B7 /* XcodeServer+Integration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70DE3FA61B443137000761B7 /* XcodeServer+Integration.swift */; }; 70E1413A1B409EA000AC98DB /* Repository.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7045917E1B4074CC00BA226C /* Repository.swift */; }; + B19A86F4C954B00969425C37 /* Pods_XcodeServerSDK___watchOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E9132396FE4F9BF104B42C /* Pods_XcodeServerSDK___watchOS.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + FB8A10924F04C0E8154567D8 /* Pods_XcodeServerSDK___OS_X.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B020D32A540228116931CAEB /* Pods_XcodeServerSDK___OS_X.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -164,6 +167,9 @@ 11376BD41B3A2F910005A681 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 11FB71891B34AE7F00D57A52 /* XcodeServerSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = XcodeServerSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 11FB71921B34AE7F00D57A52 /* XcodeServerSDKTest.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XcodeServerSDKTest.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 167303F2D9A2B56D201BB911 /* Pods-XcodeServerSDK - OS X.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X/Pods-XcodeServerSDK - OS X.debug.xcconfig"; sourceTree = ""; }; + 2031B60C6DAEC91FCF73C26C /* Pods-XcodeServerSDK - OS X.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X/Pods-XcodeServerSDK - OS X.release.xcconfig"; sourceTree = ""; }; + 2D2B1C0358ADA963653103E4 /* Pods_XcodeServerSDK___iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___iOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 32A64D48621A713DEADE94E8 /* Pods-XcodeServerSDK - iOS Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests.release.xcconfig"; sourceTree = ""; }; 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BotParsingTests.swift; sourceTree = ""; }; 3A058A921B315BB50077FD47 /* TestUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestUtils.swift; sourceTree = ""; }; @@ -199,6 +205,8 @@ 3AC47F3F1B586DFD008C4E42 /* get_integration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = get_integration.json; sourceTree = ""; }; 3AC47F451B587C67008C4E42 /* IntegrationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntegrationTests.swift; sourceTree = ""; }; 5092B32F595740C3EB6EE029 /* Pods-XcodeServerSDK - iOS Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS Tests/Pods-XcodeServerSDK - iOS Tests.debug.xcconfig"; sourceTree = ""; }; + 50E9132396FE4F9BF104B42C /* Pods_XcodeServerSDK___watchOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___watchOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 5CA6A6E6E245E84BFBB93C35 /* Pods-XcodeServerSDK - iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS/Pods-XcodeServerSDK - iOS.debug.xcconfig"; sourceTree = ""; }; 700C93551B54F58A00B3C6E6 /* get_devices.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = get_devices.json; sourceTree = ""; }; 7027067D1B44548800E09FDF /* XcodeServer+Bot.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Bot.swift"; sourceTree = ""; }; 702706841B445F6A00E09FDF /* XcodeServer+SCM.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+SCM.swift"; sourceTree = ""; }; @@ -222,7 +230,11 @@ 70C2D8371B431BCE008845FB /* XcodeServer+Auth.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Auth.swift"; sourceTree = ""; }; 70C2D8481B432A55008845FB /* XcodeServer+Repository.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Repository.swift"; sourceTree = ""; }; 70DE3FA61B443137000761B7 /* XcodeServer+Integration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "XcodeServer+Integration.swift"; sourceTree = ""; }; + 7A815163575C0543FCCAC8CD /* Pods-XcodeServerSDK - watchOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - watchOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - watchOS/Pods-XcodeServerSDK - watchOS.debug.xcconfig"; sourceTree = ""; }; 9BDE8F2120A2D7FF191C52AB /* Pods-XcodeServerSDK - OS X Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests.debug.xcconfig"; sourceTree = ""; }; + AABEDF5E783604FDACA42350 /* Pods-XcodeServerSDK - iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - iOS/Pods-XcodeServerSDK - iOS.release.xcconfig"; sourceTree = ""; }; + AE1F494ED9D95FA1C4F966BF /* Pods-XcodeServerSDK - watchOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - watchOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - watchOS/Pods-XcodeServerSDK - watchOS.release.xcconfig"; sourceTree = ""; }; + B020D32A540228116931CAEB /* Pods_XcodeServerSDK___OS_X.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___OS_X.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; C20201476B04C021A4213BDA /* Pods-XcodeServerSDK - OS X Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XcodeServerSDK - OS X Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests.release.xcconfig"; sourceTree = ""; }; E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___OS_X_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; EBDD1F2C73FB1DFB681AD807 /* Pods_XcodeServerSDK___iOS_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "Pods_XcodeServerSDK___iOS_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -233,6 +245,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + B19A86F4C954B00969425C37 /* Pods_XcodeServerSDK___watchOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -240,6 +253,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 336AF1527C1EF43BBDCD1731 /* Pods_XcodeServerSDK___iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -256,6 +270,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + FB8A10924F04C0E8154567D8 /* Pods_XcodeServerSDK___OS_X.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -444,6 +459,12 @@ C20201476B04C021A4213BDA /* Pods-XcodeServerSDK - OS X Tests.release.xcconfig */, 5092B32F595740C3EB6EE029 /* Pods-XcodeServerSDK - iOS Tests.debug.xcconfig */, 32A64D48621A713DEADE94E8 /* Pods-XcodeServerSDK - iOS Tests.release.xcconfig */, + 167303F2D9A2B56D201BB911 /* Pods-XcodeServerSDK - OS X.debug.xcconfig */, + 2031B60C6DAEC91FCF73C26C /* Pods-XcodeServerSDK - OS X.release.xcconfig */, + 5CA6A6E6E245E84BFBB93C35 /* Pods-XcodeServerSDK - iOS.debug.xcconfig */, + AABEDF5E783604FDACA42350 /* Pods-XcodeServerSDK - iOS.release.xcconfig */, + 7A815163575C0543FCCAC8CD /* Pods-XcodeServerSDK - watchOS.debug.xcconfig */, + AE1F494ED9D95FA1C4F966BF /* Pods-XcodeServerSDK - watchOS.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -453,6 +474,9 @@ children = ( E595FB3AF040378D18B03E98 /* Pods_XcodeServerSDK___OS_X_Tests.framework */, EBDD1F2C73FB1DFB681AD807 /* Pods_XcodeServerSDK___iOS_Tests.framework */, + B020D32A540228116931CAEB /* Pods_XcodeServerSDK___OS_X.framework */, + 2D2B1C0358ADA963653103E4 /* Pods_XcodeServerSDK___iOS.framework */, + 50E9132396FE4F9BF104B42C /* Pods_XcodeServerSDK___watchOS.framework */, ); name = Frameworks; sourceTree = ""; @@ -491,10 +515,12 @@ isa = PBXNativeTarget; buildConfigurationList = 11376BD71B3A2F910005A681 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - watchOS" */; buildPhases = ( + 3795105D782B111EC76893F5 /* Check Pods Manifest.lock */, 11376BCB1B3A2F910005A681 /* Sources */, 11376BCC1B3A2F910005A681 /* Frameworks */, 11376BCD1B3A2F910005A681 /* Headers */, 11376BCE1B3A2F910005A681 /* Resources */, + 0747288C4D5B424B953E4EE4 /* Copy Pods Resources */, ); buildRules = ( ); @@ -509,10 +535,12 @@ isa = PBXNativeTarget; buildConfigurationList = 11FB719E1B34AE7F00D57A52 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - iOS" */; buildPhases = ( + E4E84B0D84D059B3B424AD1F /* Check Pods Manifest.lock */, 11FB71841B34AE7F00D57A52 /* Sources */, 11FB71851B34AE7F00D57A52 /* Frameworks */, 11FB71861B34AE7F00D57A52 /* Headers */, 11FB71871B34AE7F00D57A52 /* Resources */, + 5BEC476DA30F260B3E0F0101 /* Copy Pods Resources */, ); buildRules = ( ); @@ -548,10 +576,12 @@ isa = PBXNativeTarget; buildConfigurationList = 3A7B48D01B2A5AC40077ABEA /* Build configuration list for PBXNativeTarget "XcodeServerSDK - OS X" */; buildPhases = ( + C18C3A4A430AB9A49D80EE98 /* Check Pods Manifest.lock */, 3A7B48B51B2A5AC40077ABEA /* Sources */, 3A7B48B61B2A5AC40077ABEA /* Frameworks */, 3A7B48B71B2A5AC40077ABEA /* Headers */, 3A7B48B81B2A5AC40077ABEA /* Resources */, + C3DBD8DE21DA36DE99F4C847 /* Copy Pods Resources */, ); buildRules = ( ); @@ -696,6 +726,36 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 0747288C4D5B424B953E4EE4 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - watchOS/Pods-XcodeServerSDK - watchOS-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3795105D782B111EC76893F5 /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; 5BB543B4D2125A792303C85C /* Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -711,6 +771,21 @@ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; + 5BEC476DA30F260B3E0F0101 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - iOS/Pods-XcodeServerSDK - iOS-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 854ED95FC9D2AB943CDA28DC /* Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -771,6 +846,51 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - OS X Tests/Pods-XcodeServerSDK - OS X Tests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; + C18C3A4A430AB9A49D80EE98 /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + C3DBD8DE21DA36DE99F4C847 /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-XcodeServerSDK - OS X/Pods-XcodeServerSDK - OS X-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + E4E84B0D84D059B3B424AD1F /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; F5E0F8394FC009376AF0CDF3 /* Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -941,6 +1061,7 @@ /* Begin XCBuildConfiguration section */ 11376BD51B3A2F910005A681 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 7A815163575C0543FCCAC8CD /* Pods-XcodeServerSDK - watchOS.debug.xcconfig */; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -962,6 +1083,7 @@ }; 11376BD61B3A2F910005A681 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AE1F494ED9D95FA1C4F966BF /* Pods-XcodeServerSDK - watchOS.release.xcconfig */; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -984,6 +1106,7 @@ }; 11FB719A1B34AE7F00D57A52 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5CA6A6E6E245E84BFBB93C35 /* Pods-XcodeServerSDK - iOS.debug.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -996,7 +1119,6 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "com.honzadvorsky.XcodeServerSDK-iOS"; PRODUCT_NAME = XcodeServerSDK; SDKROOT = iphoneos; @@ -1007,6 +1129,7 @@ }; 11FB719B1B34AE7F00D57A52 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AABEDF5E783604FDACA42350 /* Pods-XcodeServerSDK - iOS.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEFINES_MODULE = YES; @@ -1018,7 +1141,6 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "com.honzadvorsky.XcodeServerSDK-iOS"; PRODUCT_NAME = XcodeServerSDK; SDKROOT = iphoneos; @@ -1145,6 +1267,7 @@ }; 3A7B48D11B2A5AC40077ABEA /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 167303F2D9A2B56D201BB911 /* Pods-XcodeServerSDK - OS X.debug.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; @@ -1164,6 +1287,7 @@ }; 3A7B48D21B2A5AC40077ABEA /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2031B60C6DAEC91FCF73C26C /* Pods-XcodeServerSDK - OS X.release.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; diff --git a/XcodeServerSDK/API Routes/XcodeServer+Auth.swift b/XcodeServerSDK/API Routes/XcodeServer+Auth.swift index d11857f..29443f4 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Auth.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Auth.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Authorization extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+Bot.swift b/XcodeServerSDK/API Routes/XcodeServer+Bot.swift index 4db2dbc..1d2cb3b 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Bot.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Bot.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Bot management extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+Device.swift b/XcodeServerSDK/API Routes/XcodeServer+Device.swift index 70ec192..745ee05 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Device.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Device.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Devices management extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+Integration.swift b/XcodeServerSDK/API Routes/XcodeServer+Integration.swift index c312695..80d2cfe 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Integration.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Integration.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Integrations management extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+Platform.swift b/XcodeServerSDK/API Routes/XcodeServer+Platform.swift index a4ba6e2..b5863f1 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Platform.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Platform.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Platform management extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+Repository.swift b/XcodeServerSDK/API Routes/XcodeServer+Repository.swift index 6c36cc9..29096fc 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+Repository.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+Repository.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - // MARK: - XcodeSever API Routes for Repositories management extension XcodeServer { diff --git a/XcodeServerSDK/API Routes/XcodeServer+SCM.swift b/XcodeServerSDK/API Routes/XcodeServer+SCM.swift index bae0a0d..2530ec9 100644 --- a/XcodeServerSDK/API Routes/XcodeServer+SCM.swift +++ b/XcodeServerSDK/API Routes/XcodeServer+SCM.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: - XcodeSever API Routes for Source Control Management extension XcodeServer { diff --git a/XcodeServerSDK/Server Entities/SourceControlBlueprint.swift b/XcodeServerSDK/Server Entities/SourceControlBlueprint.swift index cd6eecf..9cae6e4 100644 --- a/XcodeServerSDK/Server Entities/SourceControlBlueprint.swift +++ b/XcodeServerSDK/Server Entities/SourceControlBlueprint.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils extension String { public var base64Encoded: String? { diff --git a/XcodeServerSDK/Server Helpers/CIServer.swift b/XcodeServerSDK/Server Helpers/CIServer.swift index 642a77f..483a585 100644 --- a/XcodeServerSDK/Server Helpers/CIServer.swift +++ b/XcodeServerSDK/Server Helpers/CIServer.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils public class CIServer : HTTPServer { diff --git a/XcodeServerSDK/XcodeServer.swift b/XcodeServerSDK/XcodeServer.swift index be66fda..43014f2 100644 --- a/XcodeServerSDK/XcodeServer.swift +++ b/XcodeServerSDK/XcodeServer.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils // MARK: XcodeServer Class public class XcodeServer : CIServer { diff --git a/XcodeServerSDK/XcodeServerConfig.swift b/XcodeServerSDK/XcodeServerConfig.swift index 8b419c4..39393e8 100644 --- a/XcodeServerSDK/XcodeServerConfig.swift +++ b/XcodeServerSDK/XcodeServerConfig.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils public enum AvailabilityCheckState: Equatable { case Unchecked diff --git a/XcodeServerSDK/XcodeServerEndpoints.swift b/XcodeServerSDK/XcodeServerEndpoints.swift index fd235a4..cea6fc3 100644 --- a/XcodeServerSDK/XcodeServerEndpoints.swift +++ b/XcodeServerSDK/XcodeServerEndpoints.swift @@ -7,6 +7,7 @@ // import Foundation +import BuildaUtils public class XcodeServerEndPoints { diff --git a/XcodeServerSDKTests/HTTPUtilsTests.swift b/XcodeServerSDKTests/HTTPUtilsTests.swift index 4eefc2a..f46b5ac 100644 --- a/XcodeServerSDKTests/HTTPUtilsTests.swift +++ b/XcodeServerSDKTests/HTTPUtilsTests.swift @@ -7,7 +7,7 @@ // import XCTest -import XcodeServerSDK +import BuildaUtils class HTTPUtilsTests: XCTestCase { From ea48b2350170b40dbcdf7ba93befdc30e6b5605f Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 15:07:46 +0100 Subject: [PATCH 5/6] spec --- XcodeServerSDK.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 4b99ed2..1480acb 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "XcodeServerSDK" - s.version = "0.1.4" + s.version = "0.1.4-test2" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = "10.10" s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.4" } + s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.4-test2" } s.source_files = "XcodeServerSDK/**/*.{swift}" From 64526cb1dbe14b954c6edb080a9ae483b7fdfa2b Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Sat, 18 Jul 2015 15:10:16 +0100 Subject: [PATCH 6/6] new proper version --- XcodeServerSDK.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 1480acb..7ea00d8 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "XcodeServerSDK" - s.version = "0.1.4-test2" + s.version = "0.1.5" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = "10.10" s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.4-test2" } + s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v0.1.5" } s.source_files = "XcodeServerSDK/**/*.{swift}"