Search code examples
iosswiftxcodemongodb-stitchxcode10.2

MongoSwift Pod contains 100 compiler errors. Unable to build after install


I have an iOS app I am planning on integrating with MongoDB. After installing the pod files, upon build I get about 100 errors and I'm not really sure what's causing it or how to fix them.

Added a screenshot of some of the errors. They are all almost exactly the same.

I have tried reinstalling the MongoDB cocoapod (pod 'StitchSDK', '~> 5.0.0') With the same results.

I'm using Xcode 10.2, set Swift language to 4.0, iOS target build to 11.0 (I may have done these completely wrong though.)

Expecting to be able to build the app with no errors.


Solution

  • You can now use the latest version, StitchSDK 6.0.0.

    You will need to wait for the SDK to be updated. Meanwhile, you can download a previous version of Xcode. You will be able to test iOS apps with iOS 12.1.4, but NOT 12.2 and up

    https://github.com/mongodb/stitch-ios-sdk/issues/156.