Note on Modules

When you install the MongoDB Stitch iOS SDK via CocoaPods, several importable modules will be available in your project. Some of these modules are meant to be imported, while others are internal dependencies which should not be used as the classes and protocols within them may change at any tiem and result in undefined behavior for your application. This page will list the imports that should and should not be made for each Pod.

StitchSDK

// OKAY 
import StitchCore // basic Stitch features
import StitchRemoteMongoDBService // MongoDB Atlas service features
import MongoSwift // BSON types

// DO NOT IMPORT - INTERNAL AND UNSTABLE
import StitchCoreSDK
import StitchCoreRemoteMongoDBService

StitchSDK/StitchFCMService

// OKAY 
import StitchFCMService // FCM service features

// DO NOT IMPORT - INTERNAL AND UNSTABLE
import StitchCoreFCMService

StitchSDK/StitchHTTPService

// OKAY 
import StitchHTTPService // HTTP service features

// DO NOT IMPORT - INTERNAL AND UNSTABLE
import StitchCoreHTTPService

StitchSDK/StitchTwilioService

// OKAY 
import StitchTwilioService // Twilio service features

// DO NOT IMPORT - INTERNAL AND UNSTABLE
import StitchCoreTwilioService