

Check these instructions to see how to fix those. There are some common errors that can happen when first getting Simplenote iOS setup. In Xcode hit Command + B and see if you get any errors. Once you have opened Simpleonte iOS in Xcode, depending on your setup, you may need to make a few changes before you can build the app. You can also open the project by double clicking on Simplenote.xcworkspace file, or launching Xcode and choose File > Open and browse to Simplenote.xcworkspace. This will ensure any dependencies are ready before launching Xcode. Launch the workspace by running the following from the command line: If your code has any style violations, you can try to automatically correct them by running: SwiftLint is integrated directly into the Xcode project, so lint errors appear as warnings after you build the project This is the recommended way to include SwiftLint in your workflow, as it catches lint issues locally before your code makes its way to Github.Īlternately, a SwiftLint scheme is exposed within the project Xcode will show a warning if you don't have SwiftLint installed. You can set up a Git pre-commit hook to run SwiftLint automatically when committing by running: No commit should have lint warnings or errors. The app should build and work without it, but if you plan to write code, you are encouraged to install it. We use SwiftLint to enforce a common style for Swift code. Third party libraries and resources managed by CocoaPods will be installed by the rake dependencies command above. Simplenote for iOS uses CocoaPods to manage third party libraries.

To install or update the required dependencies, run the follow command on the command line: We use a few tools to help with development. Xcode can be downloaded from Apple.* Third party tools Build Instructions Download XcodeĪt the moment Simplenote for iOS uses Swift 5 and requires Xcode 10.2 or newer.
