IBMSwiftSDKCore

1.2.1

Core networking services for the Watson Swift SDK
IBM/swift-sdk-core

What's New

1.2.1

2022-02-11T17:32:13Z

1.2.1 (2022-02-11)

Features

  • add encode/decode capabilities for string arrays(6bb781a)

Bug Fixes

  • xcode version: no longer provide archived Carthage framework. Future Carthage builds will have to be compiled manually to comply with XCode 12+

IBM Swift SDK Core

Carthage Compatible CocoaPods Version CLA assistant

Overview

IBMSwiftSDKCore is a dependency used in the IBM Watson Swift SDK. It provides the networking layer used by the Swift SDK to communicate between your Swift app and IBM Services. For more information on IBM Watson services, visit the IBM Watson homepage. Currently, it is only used by the IBM Watson Swift SDK, but it will be used by other IBM Cloud SDKs in the future.

Requirements

  • Xcode 9.3+
  • Swift 4.2+
  • iOS 10.0+

Installation

IBMSwiftSDKCore can be installed with Cocoapods, Carthage, or Swift Package Manager.

Cocoapods

You can install Cocoapods with RubyGems:

$ sudo gem install cocoapods

If your project does not yet have a Podfile, use the pod init command in the root directory of your project. To install IBMSwiftSDKCore using Cocoapods, add the following to your Podfile (substituting MyApp with the name of your app).

use_frameworks!

target 'MyApp' do
    pod 'IBMSwiftSDKCore', '~> 1.2.1'
end

Then run the pod install command, and open the generated .xcworkspace file. To update to a newer release of IBMSwiftSDKCore, use pod update IBMSwiftSDKCore.

For more information on using Cocoapods, refer to the Cocoapods Guides.

Carthage

You can install Carthage with Homebrew:

$ brew update
$ brew install carthage

If your project does not have a Cartfile yet, use the touch Cartfile command in the root directory of your project. To install IBMSwiftSDKCore using Carthage, add the following to your Cartfile.

github "IBM/swift-sdk-core" ~> 1.2.1

Then run the following command to build the dependencies and frameworks:

$ carthage update --platform iOS

Follow the remaining Carthage installation instructions here. Make sure to drag-and-drop the built IBMSwiftSDKCore.framework into your Xcode project and import it in the source files that require it.

Swift Package Manager

Add the following to your Package.swift file to identify IBMSwiftSDKCore as a dependency. The package manager will clone IBMSwiftSDKCore when you build your project with swift build.

dependencies: [
    .package(url: "https://github.com/IBM/swift-sdk-core", from: "1.2.1")
]

Contributing

We would love any and all help! If you would like to contribute, please read our CONTRIBUTING documentation with information on getting started.

License

This library is licensed under Apache 2.0. Full license text is available in LICENSE.

This SDK is intended for use with an Apple iOS product and intended to be used in conjunction with officially licensed Apple development tools.

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Oct 23 2024 16:34:32 GMT-0900 (Hawaii-Aleutian Daylight Time)