From commits-return-4593-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Wed May 9 23:03:35 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BD8B4180649 for ; Wed, 9 May 2018 23:03:34 +0200 (CEST) Received: (qmail 48918 invoked by uid 500); 9 May 2018 21:03:33 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 48909 invoked by uid 99); 9 May 2018 21:03:33 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2018 21:03:33 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3A4C7852A8; Wed, 9 May 2018 21:03:33 +0000 (UTC) Date: Wed, 09 May 2018 21:03:33 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk] branch master updated: Bump new version of ios staterapp (#3631) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152589981286.1543.16111572531199793304@gitbox.apache.org> From: dubeejw@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 204fe6a96564cd732a2e048a6b5a5352c20a11db X-Git-Newrev: dd32b9e007a2f0b4e62332e7c133e6bfab83d5d0 X-Git-Rev: dd32b9e007a2f0b4e62332e7c133e6bfab83d5d0 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 dubeejw@apache.org.