mongodb / stitch-examples

MongoDB Stitch Examples
Apache License 2.0
138 stars 89 forks source link

Laundry list of build errors with Swift "Todo" app - is unusable #86

Closed SogoGolf closed 5 years ago

SogoGolf commented 5 years ago

Boy oh boy. Couldn't even get the project running after trying to fix the myriad build exceptions in Xcode. Please try to keep these examples up to date with the API's and actually building/working so people that are interested in using Stitch / Mongo Atlas have a decent place to start.

  1. provisioning profile build error: seems like someone left a hardcoded prov. profile var in Build Settings. I had to delete that, set to "automatic" etc etc

  2. import MongoSwiftMobile - doesn't exist

  3. image

  4. remoteMongoDBServiceClientFactory - use of unresolved identifier. So what exactly should be used here instead ?

MongoCaleb commented 5 years ago

@SogoGolf - sorry about the issues. We're releasing a new version in short order, with some new features added. The code and docs are in review now.

SogoGolf commented 5 years ago

Thanks. Can you please update the ticket here when its done. We'll try again then.

SogoGolf commented 5 years ago

hi @MongoCaleb , would you have an eta on these fixes ?

MongoCaleb commented 5 years ago

@SogoGolf I'll be surprised if it's not out by this time next week. Thanks for your patience!

MongoCaleb commented 5 years ago

@SogoGolf docs and tutorial app have been updated to include Sync. Take a look and let me know how it works for you!

SogoGolf commented 5 years ago

thanks @MongoCaleb . just tried the latest Todo example, unfortunately it didn't build. i just stepped through the install from scratch/followed web site instructions. let me know if there's something i missed.

image

MongoCaleb commented 5 years ago

@SogoGolf please try getting latest (I uploaded a small change) and be sure to run pod update and then pod install and let me know how that treats you!

SogoGolf commented 5 years ago

just tried again, same error unf. maybe has something to do with the project path being too deep for cocoapods ? just a guess tho.

MongoCaleb commented 5 years ago

Very strange. I also just tried with a fresh copy. I must have something set up that's not in the repo. What version of Xcode do you have?

On Thu, Jan 31, 2019, 5:14 PM SogoGolf notifications@github.com wrote:

just tried again, same error unf. maybe has something to do with the project path being too deep for cocoapods ? just a guess tho.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mongodb/stitch-examples/issues/86#issuecomment-459569373, or mute the thread https://github.com/notifications/unsubscribe-auth/AfIjAN5U81TKtuXOCI6VgrAv82Jf0Zilks5vI5UEgaJpZM4Z6p1C .

On Thu, Jan 31, 2019, 5:14 PM SogoGolf notifications@github.com wrote:

just tried again, same error unf. maybe has something to do with the project path being too deep for cocoapods ? just a guess tho.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mongodb/stitch-examples/issues/86#issuecomment-459569373, or mute the thread https://github.com/notifications/unsubscribe-auth/AfIjAN5U81TKtuXOCI6VgrAv82Jf0Zilks5vI5UEgaJpZM4Z6p1C .

SogoGolf commented 5 years ago

Xcode 10.1 (10B61) Mac OS 10.14.2 (18C54)

MongoCaleb commented 5 years ago

@SogoGolf we've got a PR that I'm going to test shortly. Feel free to have a look now, of course, and I'll update again once it's tested and merged. Thanks for your patience! https://blog.scottlowe.org/2015/09/04/checking-out-github-pull-requests-locally/ might be useful.


Update: the changes have been merged in.

SogoGolf commented 5 years ago

xcode prod builds now, thanks