Skip to content

Commit dbfdb19

Browse files
committed
build(core): update dependencies to use new core
additionally, update swift_versions in podspecs BREAKING CHANGE: uses new core framework
1 parent 7054591 commit dbfdb19

17 files changed

+32
-34
lines changed

Cartfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
github "daltoniam/Starscream" == 3.0.5
2-
github "IBM/swift-sdk-core" "feat/error-handling"
3-
2+
github "IBM/swift-sdk-core" ~> 1.0.0

Cartfile.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "IBM/swift-sdk-core" "a55200f02f07073d6414c579d9e24e701337b77b"
1+
github "IBM/swift-sdk-core" "1.0.0"
22
github "daltoniam/Starscream" "3.0.5"

IBMWatsonAssistantV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ natural-language input and uses machine learning to respond to customers in a wa
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/AssistantV1/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

IBMWatsonAssistantV2.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ natural-language input and uses machine learning to respond to customers in a wa
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/AssistantV2/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

IBMWatsonCompareComplyV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ IBM Watson™ Compare and Comply analyzes governing documents to provide details
2020
'Source/SupportingFiles/Shared.swift'
2121
s.exclude_files = 'Source/CompareComplyV1/Shared.swift'
2222

23-
s.swift_version = '4.2'
24-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
23+
s.swift_version = ['4.2', '5.0', '5.1']
24+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2525

2626
end

IBMWatsonDiscoveryV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ as well as public and third-party data.
2222
'Source/SupportingFiles/Shared.swift'
2323
s.exclude_files = 'Source/DiscoveryV1/Shared.swift'
2424

25-
s.swift_version = '4.2'
26-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
25+
s.swift_version = ['4.2', '5.0', '5.1']
26+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2727

2828
end

IBMWatsonLanguageTranslatorV3.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ IBM Watson™ Language Translator can identify the language of text and translat
2020
'Source/SupportingFiles/Shared.swift'
2121
s.exclude_files = 'Source/LanguageTranslatorV3/Shared.swift'
2222

23-
s.swift_version = '4.2'
24-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
23+
s.swift_version = ['4.2', '5.0', '5.1']
24+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2525

2626
end

IBMWatsonNaturalLanguageClassifierV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ return information for texts that it is not trained on.
2222
'Source/SupportingFiles/Shared.swift'
2323
s.exclude_files = 'Source/NaturalLanguageClassifierV1/Shared.swift'
2424

25-
s.swift_version = '4.2'
26-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
25+
s.swift_version = ['4.2', '5.0', '5.1']
26+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2727

2828
end

IBMWatsonNaturalLanguageUnderstandingV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ including categories, concepts, emotion, entities, keywords, metadata, relations
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/NaturalLanguageUnderstandingV1/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

IBMWatsonPersonalityInsightsV3.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ from digital communications such as email, text messages, tweets, and forum post
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/PersonalityInsightsV3/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

IBMWatsonSpeechToTextV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ of the audio signal. It continuously returns and retroactively updates a transcr
2626
'**/opus_header.h',
2727
'**/opus_header.c'
2828

29-
s.swift_version = '4.2'
30-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
29+
s.swift_version = ['4.2', '5.0', '5.1']
30+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
3131
s.dependency 'Starscream', '3.0.5'
3232
s.vendored_libraries = 'Source/SupportingFiles/Dependencies/Libraries/*.a'
3333

IBMWatsonTextToSpeechV1.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ The service streams the results back to the client with minimal delay.
2323
s.exclude_files = 'Source/TextToSpeechV1/Shared.swift',
2424
'**/config_types.h'
2525

26-
s.swift_version = '4.2'
27-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
26+
s.swift_version = ['4.2', '5.0', '5.1']
27+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2828
s.vendored_libraries = 'Source/SupportingFiles/Dependencies/Libraries/*.a'
2929

3030
# The renaming of libogg.a and libopus.a is done to avoid duplicate library name errors

IBMWatsonToneAnalyzerV3.podspec

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ The service can analyze tone at both the document and sentence levels.
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/ToneAnalyzerV3/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
26-
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2726
end

IBMWatsonVisualRecognitionV3.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ scenes, objects, faces, and other content. The response includes keywords that p
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/VisualRecognitionV3/Shared.swift'
2323

24-
s.swift_version = '4.2'
25-
s.dependency 'IBMWatsonRestKit', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

IBMWatsonVisualRecognitionV4.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ scenes, objects, and other content. The response includes keywords that provide
2121
'Source/SupportingFiles/Shared.swift'
2222
s.exclude_files = 'Source/VisualRecognitionV4/Shared.swift'
2323

24-
s.swift_version = '5.0'
25-
s.dependency 'IBMSwiftSDKCore', '~> 3.0.0'
24+
s.swift_version = ['4.2', '5.0', '5.1']
25+
s.dependency 'IBMSwiftSDKCore', '~> 1.0.0'
2626

2727
end

Package.resolved

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"package": "IBMSwiftSDKCore",
66
"repositoryURL": "https://github.com/IBM/swift-sdk-core",
77
"state": {
8-
"branch": "feat/error-handling",
9-
"revision": "a692fa87730f51ec90c47680617b88e35892078e",
10-
"version": null
8+
"branch": null,
9+
"revision": "4ec57773271fd73263adae2ca42f630bf1e2096d",
10+
"version": "1.0.0"
1111
}
1212
}
1313
]

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let package = Package(
4343
.library(name: "VisualRecognitionV4", targets: ["VisualRecognitionV4"]),
4444
],
4545
dependencies: [
46-
.package(url: "https://github.com/IBM/swift-sdk-core", .branch("feat/error-handling"))
46+
.package(url: "https://github.com/IBM/swift-sdk-core", from: "1.0.0")
4747
],
4848
targets: [
4949
.target(name: "AssistantV1", dependencies: ["IBMSwiftSDKCore"]),

0 commit comments

Comments
 (0)