diff --git a/README.md b/README.md index 17538ac..40a37a1 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,16 @@ We're providing a Plaground in which you can easily interact with `XcodeServerSD - getDevices - getUserCanCreateBots +# Supported Platforms + +Currently [`XcodeServerSDK`][xcodeserversdk] provides frameworks for the following platforms: + +| Platform | Minimum Version | Carthage | CocoaPods | +|:--:|:--:|:--:|:--:| +|OS X | 10.10| √ | √ | +|iOS | 8.0| √ | √ | +|ᴡᴀᴛᴄʜ | 2.0 | √ | √ | + # Projects using XcodeServerSDK - [Buildasaur](https://github.com/czechboy0/Buildasaur) - connect Xcode Server with GitHub Pull Requests. - (using XcodeServerSDK too? Send a PR with a link to your project added here!) @@ -90,3 +100,5 @@ This code has been pulled out of [Buildasaur](https://github.com/czechboy0/Build Honza Dvorsky [honzadvorsky.com](http://honzadvorsky.com) [@czechboy0](https://twitter.com/czechboy0) + +[xcodeserversdk]:https://github.com/czechboy0/XcodeServerSDK diff --git a/XcodeServerSDK.xcodeproj/project.pbxproj b/XcodeServerSDK.xcodeproj/project.pbxproj index 88c6b05..3057fd1 100644 --- a/XcodeServerSDK.xcodeproj/project.pbxproj +++ b/XcodeServerSDK.xcodeproj/project.pbxproj @@ -7,6 +7,28 @@ objects = { /* Begin PBXBuildFile section */ + 11376BD31B3A2F910005A681 /* XcodeServerSDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 11376BD21B3A2F910005A681 /* XcodeServerSDK.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 11376BD81B3A2FD90005A681 /* XcodeServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DC1B2A5ADE0077ABEA /* XcodeServer.swift */; }; + 11376BD91B3A2FD90005A681 /* XcodeServerEntity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DF1B2A5ADE0077ABEA /* XcodeServerEntity.swift */; }; + 11376BDA1B3A2FD90005A681 /* XcodeServerConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707D08951B2C684C003900F3 /* XcodeServerConfig.swift */; }; + 11376BDB1B3A2FD90005A681 /* XcodeServerEndpoints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48DE1B2A5ADE0077ABEA /* XcodeServerEndpoints.swift */; }; + 11376BDC1B3A2FD90005A681 /* XcodeServerFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48E01B2A5ADE0077ABEA /* XcodeServerFactory.swift */; }; + 11376BDD1B3A2FE30005A681 /* Bot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48D61B2A5ADE0077ABEA /* Bot.swift */; }; + 11376BDE1B3A2FE30005A681 /* BotConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48D71B2A5ADE0077ABEA /* BotConfiguration.swift */; }; + 11376BDF1B3A2FE30005A681 /* EmailConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707D08971B2C6954003900F3 /* EmailConfiguration.swift */; }; + 11376BE01B3A2FE30005A681 /* BotSchedule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707D08991B2C6986003900F3 /* BotSchedule.swift */; }; + 11376BE11B3A2FE30005A681 /* Trigger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707D089B1B2C69C4003900F3 /* Trigger.swift */; }; + 11376BE21B3A2FE30005A681 /* TriggerConditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707D089D1B2C6A1F003900F3 /* TriggerConditions.swift */; }; + 11376BE31B3A2FE30005A681 /* Device.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A7B48D91B2A5ADE0077ABEA /* Device.swift */; }; + 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 */; }; @@ -99,6 +121,9 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 11376BD01B3A2F910005A681 /* XcodeServerSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = XcodeServerSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 11376BD21B3A2F910005A681 /* XcodeServerSDK.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XcodeServerSDK.h; sourceTree = ""; }; + 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; }; 3A058A8D1B31595A0077FD47 /* BotParsingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BotParsingTests.swift; sourceTree = ""; }; @@ -146,6 +171,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 11376BCC1B3A2F910005A681 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 11FB71851B34AE7F00D57A52 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -179,6 +211,16 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 11376BD11B3A2F910005A681 /* XcodeServerSDK - ᴡᴀᴛᴄʜ */ = { + isa = PBXGroup; + children = ( + 11376BD21B3A2F910005A681 /* XcodeServerSDK.h */, + 11376BD41B3A2F910005A681 /* Info.plist */, + ); + name = "XcodeServerSDK - ᴡᴀᴛᴄʜ"; + path = "XcodeServerSDK/XcodeServerSDK - ᴡᴀᴛᴄʜ"; + sourceTree = ""; + }; 3A058A911B31596E0077FD47 /* Data */ = { isa = PBXGroup; children = ( @@ -199,6 +241,7 @@ children = ( 3A7B48BC1B2A5AC40077ABEA /* XcodeServerSDK */, 3A7B48C91B2A5AC40077ABEA /* XcodeServerSDKTests */, + 11376BD11B3A2F910005A681 /* XcodeServerSDK - ᴡᴀᴛᴄʜ */, 70F463351B2B3EF800C3F963 /* Playgrounds */, 3A7B48BB1B2A5AC40077ABEA /* Products */, ); @@ -211,6 +254,7 @@ 3A7B48C51B2A5AC40077ABEA /* XcodeServerSDKTest.xctest */, 11FB71891B34AE7F00D57A52 /* XcodeServerSDK.framework */, 11FB71921B34AE7F00D57A52 /* XcodeServerSDKTest.xctest */, + 11376BD01B3A2F910005A681 /* XcodeServerSDK.framework */, ); name = Products; sourceTree = ""; @@ -312,6 +356,14 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 11376BCD1B3A2F910005A681 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 11376BD31B3A2F910005A681 /* XcodeServerSDK.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 11FB71861B34AE7F00D57A52 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -331,6 +383,24 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 11376BCF1B3A2F910005A681 /* XcodeServerSDK - ᴡᴀᴛᴄʜ */ = { + isa = PBXNativeTarget; + buildConfigurationList = 11376BD71B3A2F910005A681 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - ᴡᴀᴛᴄʜ" */; + buildPhases = ( + 11376BCB1B3A2F910005A681 /* Sources */, + 11376BCC1B3A2F910005A681 /* Frameworks */, + 11376BCD1B3A2F910005A681 /* Headers */, + 11376BCE1B3A2F910005A681 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "XcodeServerSDK - ᴡᴀᴛᴄʜ"; + productName = XcodeServerSDK; + productReference = 11376BD01B3A2F910005A681 /* XcodeServerSDK.framework */; + productType = "com.apple.product-type.framework"; + }; 11FB71881B34AE7F00D57A52 /* XcodeServerSDK - iOS */ = { isa = PBXNativeTarget; buildConfigurationList = 11FB719E1B34AE7F00D57A52 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - iOS" */; @@ -413,6 +483,9 @@ LastUpgradeCheck = 0700; ORGANIZATIONNAME = "Honza Dvorsky"; TargetAttributes = { + 11376BCF1B3A2F910005A681 = { + CreatedOnToolsVersion = 7.0; + }; 11FB71881B34AE7F00D57A52 = { CreatedOnToolsVersion = 7.0; }; @@ -443,11 +516,19 @@ 3A7B48C41B2A5AC40077ABEA /* XcodeServerSDK - OS X Tests */, 11FB71881B34AE7F00D57A52 /* XcodeServerSDK - iOS */, 11FB71911B34AE7F00D57A52 /* XcodeServerSDK - iOS Tests */, + 11376BCF1B3A2F910005A681 /* XcodeServerSDK - ᴡᴀᴛᴄʜ */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 11376BCE1B3A2F910005A681 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 11FB71871B34AE7F00D57A52 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -495,6 +576,34 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 11376BCB1B3A2F910005A681 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 11376BEA1B3A2FF40005A681 /* HTTPUtils.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 */, + 11376BE01B3A2FE30005A681 /* BotSchedule.swift in Sources */, + 11376BE11B3A2FE30005A681 /* Trigger.swift in Sources */, + 11376BE21B3A2FE30005A681 /* TriggerConditions.swift in Sources */, + 11376BE31B3A2FE30005A681 /* Device.swift in Sources */, + 11376BE41B3A2FE30005A681 /* SourceControlBlueprint.swift in Sources */, + 11376BE51B3A2FE30005A681 /* Integration.swift in Sources */, + 11376BD81B3A2FD90005A681 /* XcodeServer.swift in Sources */, + 11376BD91B3A2FD90005A681 /* XcodeServerEntity.swift in Sources */, + 11376BDA1B3A2FD90005A681 /* XcodeServerConfig.swift in Sources */, + 11376BDB1B3A2FD90005A681 /* XcodeServerEndpoints.swift in Sources */, + 11376BDC1B3A2FD90005A681 /* XcodeServerFactory.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 11FB71841B34AE7F00D57A52 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -591,6 +700,49 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 11376BD51B3A2F910005A681 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "XcodeServerSDK/XcodeServerSDK - ᴡᴀᴛᴄʜ/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.honzadvorsky.XcodeServerSDK; + PRODUCT_NAME = XcodeServerSDK; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + 11376BD61B3A2F910005A681 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "XcodeServerSDK/XcodeServerSDK - ᴡᴀᴛᴄʜ/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.honzadvorsky.XcodeServerSDK; + PRODUCT_NAME = XcodeServerSDK; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + VALIDATE_PRODUCT = YES; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; 11FB719A1B34AE7F00D57A52 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -825,6 +977,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 11376BD71B3A2F910005A681 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - ᴡᴀᴛᴄʜ" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 11376BD51B3A2F910005A681 /* Debug */, + 11376BD61B3A2F910005A681 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 11FB719E1B34AE7F00D57A52 /* Build configuration list for PBXNativeTarget "XcodeServerSDK - iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git "a/XcodeServerSDK.xcodeproj/xcshareddata/xcschemes/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234.xcscheme" "b/XcodeServerSDK.xcodeproj/xcshareddata/xcschemes/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234.xcscheme" new file mode 100644 index 0000000..1d6c750 --- /dev/null +++ "b/XcodeServerSDK.xcodeproj/xcshareddata/xcschemes/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234.xcscheme" @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/Info.plist" "b/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/Info.plist" new file mode 100644 index 0000000..d3de8ee --- /dev/null +++ "b/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/Info.plist" @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git "a/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/XcodeServerSDK.h" "b/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/XcodeServerSDK.h" new file mode 100644 index 0000000..cb5e672 --- /dev/null +++ "b/XcodeServerSDK/XcodeServerSDK - \357\243\277\341\264\241\341\264\200\341\264\233\341\264\204\312\234/XcodeServerSDK.h" @@ -0,0 +1,19 @@ +// +// XcodeServerSDK.h +// XcodeServerSDK +// +// Created by Esteban Torres on 23/6/15. +// Copyright © 2015 Honza Dvorsky. All rights reserved. +// + +#import + +//! Project version number for XcodeServerSDK. +FOUNDATION_EXPORT double XcodeServerSDKVersionNumber; + +//! Project version string for XcodeServerSDK. +FOUNDATION_EXPORT const unsigned char XcodeServerSDKVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/XcodeServerSDK/XcodeServerSDK.h b/XcodeServerSDK/XcodeServerSDK.h index 0f0a1f0..37a070b 100644 --- a/XcodeServerSDK/XcodeServerSDK.h +++ b/XcodeServerSDK/XcodeServerSDK.h @@ -6,8 +6,6 @@ // Copyright (c) 2015 Honza Dvorsky. All rights reserved. // -#import "TargetConditionals.h" - @import Foundation; //! Project version number for XcodeServerSDK. @@ -16,6 +14,4 @@ FOUNDATION_EXPORT double XcodeServerSDKVersionNumber; //! Project version string for XcodeServerSDK. FOUNDATION_EXPORT const unsigned char XcodeServerSDKVersionString[]; -// In this header, you should import all the public headers of your framework using statements like #import - - +// In this header, you should import all the public headers of your framework using statements like #import \ No newline at end of file