Skip to content

Conversation

jameshartt
Copy link

@jameshartt jameshartt commented Jun 12, 2018

Been interested in using Lambda functions for a simple use case at https://www.shootmavis.com. My current expertise is iOS, so wanted to use the examples here to start creating my first few functions. But noticed the example for iOS was quite a bit out of date.

This PR contains various changes as described in detail, in the separate commits.

In summary, the changes are as follows:

  • Update the cocoapod file to allow pod install, including allowing frameworks and pinning the iOS version.
  • Update to Swift 4.1
  • Apply XCode recommended project file updates
  • Fix storyboard button actions to point to updated function names generated by Swift.

The project now compiles, and will work if the steps in the README steps are followed.

To include target, use newer '.frameworks' and pin the platform to
iOS9.0 and above.
"Xcode 9.3 adds a new IDEWorkspaceChecks.plist file to a workspace's
shared data, to store the state of necessary workspace checks.
Committing this file to source control will prevent unnecessary
rerunning of those checks for each user opening the workspace."

Source:
https://developer.apple.com/library/archive/releasenotes/DeveloperTools/
RN-Xcode/Chapters/Introduction.html
Largely cocoapods changes, but also updating to recommended settings
and the Swift 4.1 verison
@jameshartt
Copy link
Author

Latest commit also updates pods, deals with warnings and errors

@aolial
Copy link

aolial commented Jan 12, 2019

@jameshartt do you plan to update the project to Xcode 10 and Swift 4.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants