- Download the latest Xcode 11 app. Version 11 or greater.
- Download SMART Markers and all its submodules.
- Using Git:
$ git clone --recursive https://github.com/SMARTMarkers/smartmarkers-ios
- Using Git:
- Make sure the submodules are downloaded.
- ResearchKit and Swift-SMART required in its entirety
- Open Xcode and create a new project with your app preferences (iPhone or iPad or both)
- Add or drag the following files in Xcode's project directory tab along side the app's project.
SMARTMarkers.xcodeproj
ResearchKit.xcodeproj
Swift-SMART.xcodeproj
- Alternatively, multiple apps (xcodeprojects) can be grouped together by in a shared workspace (
.xworkspace
). Read more
Build and compile all three submodules (SMARTMarkers, ResearchKit, Swift-SMART)
View the general tab of the app and select Target. Find the Embedded Binaries section and click + to add the compiled binaries of the three frameworks.
SMARTMarkers.framework
ResearchKit.framework
SMART.framework
At this point, the app should be able to compile and run in the iOS simulator. import SMARTMarkers
into app delegate and compile again.