Upgrade to Pro — share decks privately, control downloads, hide ads and more …

IBM Cloud Tools for Swift

ngs
June 27, 2016

IBM Cloud Tools for Swift

ngs

June 27, 2016
Tweet

More Decks by ngs

Other Decks in Technology

Transcript

  1. IBM Cloud Tools
    for Swift
    Atsushi Nagase
    @ngs / http://ja.ngs.io/
    https://one-team.com/

    View Slide

  2. https://ja.ngs.io/about/

    View Slide

  3. https://developer.apple.com/videos/play/wwdc2016/415/

    View Slide

  4. http://cloudtools.bluemix.net/

    View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. https://github.com/IBM-Swift/BluePic

    View Slide

  10. cd MyBluePic/Cloud-Scripts/cloudantNoSQLDB
    ./populator.sh --username=$USER \
    --password=$PASS --projectid=$PROJ
    $
    $

    View Slide

  11. View Slide

  12. cd MyBluePic/Object-Storage/cloudantNoSQLDB
    ./populator.sh --userid=$USER \
    --password=$PASS --projectid=$PROJ
    $
    $

    View Slide

  13. View Slide

  14. ./.build/debug/Server
    $
    VERBOSE: init() Router.swift line 59 - Router initialized
    INFO: init() Configuration.swift line 45 - Using configuration values from 'cloud_config.json'.
    VERBOSE: Server main.swift line 69 - Defining routes for server...
    INFO: spiListen(socket:port:) HTTPServerSPI.swift line 48 - Listening on port 8090

    View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. View Slide

  19. View Slide

  20. https://github.com/IBM-Swift/BluePic

    View Slide

  21. View Slide

  22. View Slide

  23. Authenticate Facebook User Error: Valid Authentication Header and userIdentity, but id not found

    View Slide

  24. View Slide

  25. View Slide

  26. View Slide

  27. View Slide

  28. View Slide

  29. View Slide

  30. View Slide

  31. export V=DEVELOPMENT-SNAPSHOT-2016-06-20-a
    swiftenv install $V
    swiftenv local $V
    swift package generate-xcodeproj
    $
    $
    $
    $

    View Slide

  32. Cloning https://github.com/IBM-Swift/Kitura.git
    HEAD is now at d643c31 IBM-Swift/Kitura#513 Changed BluePic link
    Resolved version: 0.15.7
    Cloning https://github.com/IBM-Swift/Kitura-net.git
    HEAD is now at 6193ca8 Avoid bottleneck on lock in __CFGetConverter by performing fewer, longer character conversion operations (#32)
    Resolved version: 0.15.6
    Cloning https://github.com/IBM-Swift/Kitura-sys.git
    HEAD is now at 3ef9ec7 IBM-Swift/Kitura#466 Updated to latest LoggerAPI
    Resolved version: 0.13.2
    Cloning https://github.com/IBM-Swift/LoggerAPI.git
    HEAD is now at 9b30704 Merge pull request #8 from tkhuran/develop
    Resolved version: 0.7.1
    Cloning https://github.com/IBM-Swift/BlueSocket.git
    HEAD is now at 6e8915c Added blurb about BlueSSLService add-on.
    Resolved version: 0.5.20
    Cloning https://github.com/IBM-Swift/CCurl.git
    HEAD is now at aa7833f Update Package.swift
    Resolved version: 0.1.1
    Cloning https://github.com/IBM-Swift/CHttpParser.git
    HEAD is now at 41daabb IBM-Swift/Kitura#365 Removed references to code installed externally and the pkgConfig file that is no longer needed.
    Resolved version: 0.1.1
    Cloning https://github.com/IBM-Swift/SwiftyJSON.git
    HEAD is now at a1e6611 Added UInt support for Linux
    Resolved version: 7.0.4
    Cloning https://github.com/IBM-Swift/Kitura-TemplateEngine.git
    HEAD is now at 38e7cdb IBM-Swift/Kitura#459 Explicitly indicate that there are no dependencies
    Resolved version: 0.13.0
    Cloning https://github.com/IBM-Swift/Kitura-CouchDB.git
    HEAD is now at d63d287 Updated version of Kitura-net
    Resolved version: 0.15.0
    Cloning https://github.com/IBM-Swift/HeliumLogger.git
    HEAD is now at c43bfd1 IBM-Swift/Kitura#479 added static function use()
    Resolved version: 0.7.4
    Cloning https://github.com/IBM-Swift/Swift-cfenv.git
    HEAD is now at fe97002 Changed dictionary deletion syntax
    Resolved version: 1.2.1
    Cloning https://github.com/ibm-bluemix-mobile-services/bluemix-objectstorage-swift-sdk.git
    HEAD is now at 7bf6373 updated for Kitura-Net 0.13.7
    Resolved version: 0.3.2
    Cloning https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
    HEAD is now at b92f0c7 Updated to use Kitura-net 0.15.x
    Resolved version: 0.2.5
    Cloning https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
    HEAD is now at 0fdd30d updated readme
    Resolved version: 0.2.0
    Cloning https://github.com/ibm-bluemix-mobile-services/bms-mca-kitura-credentials-plugin.git
    HEAD is now at 473564e updated to support no idToken scenario
    Resolved version: 0.1.6
    Cloning https://github.com/IBM-Swift/Kitura-Credentials.git
    HEAD is now at 99f99c8 IBM-Swift/Kitura#496 Fixed setting of headers from passed plugins
    Resolved version: 0.15.3
    Cloning https://github.com/IBM-Swift/Kitura-Session.git
    HEAD is now at ab8440f Update Kitura version
    Resolved version: 0.7.1
    Cloning https://github.com/IBM-Swift/BlueCryptor.git
    HEAD is now at 9d020ee Update for latest toolchain.
    Resolved version: 0.2.5
    Cloning https://github.com/IBM-Swift/CommonCrypto.git
    HEAD is now at 5b957b8 Merge pull request #2 from shmuelk/master
    Resolved version: 0.1.3
    Cloning https://github.com/ibm-bluemix-mobile-services/bms-mca-serversdk-swift.git
    HEAD is now at 4aa6b9f Updated to support no idToken available scenario
    Resolved version: 0.2.2
    Cloning https://github.com/ibm-bluemix-mobile-services/bms-pushnotifications-serversdk-swift.git
    HEAD is now at ae5402e Added public initializers to Notification struct
    Resolved version: 0.1.2
    generated: ./BluePic-Server.xcodeproj

    View Slide

  33. View Slide