dubee closed pull request #3631: bump new version of ios staterapp
URL: https://github.com/apache/incubator-openwhisk/pull/3631
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ansible/roles/nginx/templates/nginx.conf.j2 
b/ansible/roles/nginx/templates/nginx.conf.j2
index 02485fb4fe..61ea6fbf64 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 94bcdfc65f..b61f8915f2 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.


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to