A sample todo list application demonstrating MongoMobile for iOS
- Install cocoapods:
sudo gem install cocoapods
- Checkout the repo:
git clone [email protected]:10gen/TestMongoMobile.git
- Install MongoDB Mobile:
cd TestMongoMobile && pod install
- Open the workspace:
open TestMongoMobile.xcworkspace
- Connect iOS device via USB cable
- Enable the Developer app on the iOS device
- Settings/General/Device Management: Select the Developer app and Trus
- Modify Xcode
- Add Apple ID from Xcode/Preferences/Accounts
- ID:
<your Apple ID>
- Manage certificates: Add iOS Development Certifcate
- ID:
- Set Development Team for TestMongoMobile
- Build Settings/Signing/Development Team:
<Your Team>
- Build Settings/Signing/Development Team:
- Set iOS Development target, i.e., 11.4
- Info/Deployment Target
- Disable Bit Code for all projects (TestMongoMobile & Pods)
- Build Settings/Build Options/Enable Bitcode: No
- Build and run it:
COMMAND-r
- Add Apple ID from Xcode/Preferences/Accounts