This is an automated email from the ASF dual-hosted git repository. dubeejw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new dd32b9e Bump new version of ios staterapp (#3631) dd32b9e is described below commit dd32b9e007a2f0b4e62332e7c133e6bfab83d5d0 Author: Carlos Santana <csantan...@apache.org> AuthorDate: Wed May 9 17:03:29 2018 -0400 Bump new version of ios staterapp (#3631) --- ansible/roles/nginx/templates/nginx.conf.j2 | 2 +- docs/mobile_sdk.md | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ansible/roles/nginx/templates/nginx.conf.j2 b/ansible/roles/nginx/templates/nginx.conf.j2 index 02485fb..61ea6fb 100644 --- a/ansible/roles/nginx/templates/nginx.conf.j2 +++ b/ansible/roles/nginx/templates/nginx.conf.j2 @@ -120,7 +120,7 @@ http { } location /OpenWhiskIOSStarterApp.zip { - return 301 https://github.com/apache/incubator-openwhisk-client-swift/releases/download/0.2.3/starterapp-0.2.3.zip; + return 301 https://github.com/apache/incubator-openwhisk-client-swift/releases/download/0.3.0/starterapp-0.3.0.zip; } location /cli/go/download { diff --git a/docs/mobile_sdk.md b/docs/mobile_sdk.md index 94bcdfc..b61f891 100644 --- a/docs/mobile_sdk.md +++ b/docs/mobile_sdk.md @@ -20,8 +20,7 @@ OpenWhisk provides a mobile SDK for iOS and watchOS devices that enables mobile apps to easily fire remote triggers and invoke remote actions. A version for Android is currently not available; Android developers can use the OpenWhisk REST API directly. -The mobile SDK is written in Swift 3.0 and supports iOS 10 and later releases. You can build the mobile SDK using Xcode 8.0. Legacy Swift 2.2/Xcode 7 versions of the SDK are available up to 0.1.7, though this is now deprecated. - +The mobile SDK is written in Swift 4 and supports iOS 11 and later releases. You can build the mobile SDK using Xcode 9. ## Adding the SDK to your app You can install the mobile SDK by using CocoaPods, Carthage, or from the source directory. @@ -35,11 +34,11 @@ install! 'cocoapods', :deterministic_uuids => false use_frameworks! target 'MyApp' do - pod 'OpenWhisk', :git => 'https://github.com/apache/incubator-openwhisk-client-swift.git', :tag => '0.2.2' + pod 'OpenWhisk', :git => 'https://github.com/apache/incubator-openwhisk-client-swift.git', :tag => '0.3.0' end target 'MyApp WatchKit Extension' do - pod 'OpenWhisk', :git => 'https://github.com/apache/incubator-openwhisk-client-swift.git', :tag => '0.2.2' + pod 'OpenWhisk', :git => 'https://github.com/apache/incubator-openwhisk-client-swift.git', :tag => '0.3.0' end ``` @@ -53,7 +52,7 @@ This is caused if Cocoapods does not update the Swift version in the Pods projec post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| - config.build_settings['SWIFT_VERSION'] = '3.0' + config.build_settings['SWIFT_VERSION'] = '4.0' end end end @@ -63,7 +62,7 @@ end Create a file in your app's project directory and name it 'Cartfile'. Put the following line in the file: ``` -github "openwhisk/openwhisk-client-swift.git" ~> 0.2.2 # Or latest version +github "openwhisk/openwhisk-client-swift.git" ~> 0.3.0 # Or latest version ``` From the command line, type `carthage update --platform ios`. Carthage downloads and builds the SDK, creates a directory called Carthage in your app's project directory, and puts an OpenWhisk.framework file inside Carthage/build/iOS. -- To stop receiving notification emails like this one, please contact dube...@apache.org.