diff --git a/Podfile b/Podfile index 746f136..bdb93d4 100644 --- a/Podfile +++ b/Podfile @@ -2,20 +2,20 @@ use_frameworks! def utils - pod 'BuildaUtils', '~> 0.3.2' + pod 'BuildaUtils', '~> 0.3.2' end def tests - pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.5-czechboy0" -# pod 'Nimble', '~> 3.1.0' + pod 'DVR', :git => "https://github.com/czechboy0/DVR.git", :tag => "v0.0.5-czechboy0" +# pod 'Nimble', '~> 3.1.0' pod 'Nimble', :git => "https://github.com/Quick/Nimble.git", :commit => "b9256b0bdecc4ef1f659b7663dcd3aab6f43fb5f" end target 'XcodeServerSDK' do - utils + utils end target 'XcodeServerSDKTests' do - utils - tests + utils + tests end diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 7970c2c..331ff62 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "XcodeServerSDK" - s.version = "0.7.0" + s.version = "0.7.1" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" diff --git a/XcodeServerSDK/Server Entities/TriggerConditions.swift b/XcodeServerSDK/Server Entities/TriggerConditions.swift index 6e147e3..58fb7ff 100644 --- a/XcodeServerSDK/Server Entities/TriggerConditions.swift +++ b/XcodeServerSDK/Server Entities/TriggerConditions.swift @@ -52,7 +52,10 @@ public class TriggerConditions : XcodeServerEntity { self.onAnalyzerWarnings = try json.boolForKey("onAnalyzerWarnings") self.onBuildErrors = try json.boolForKey("onBuildErrors") self.onFailingTests = try json.boolForKey("onFailingTests") - self.onInternalErrors = try? json.boolForKey("onInternalErrors") ?? false + + //not present in Xcode 8 anymore, make it optional & default to false + let internalErrors = try? json.boolForKey("onInternalErrors") + self.onInternalErrors = internalErrors ?? false self.onSuccess = try json.boolForKey("onSuccess") self.onWarnings = try json.boolForKey("onWarnings")