@greg_s Do you still have issues with this?
I was having this problem after updating to Xcode 12 but running ./bootstrap.sh clear and checking Build Active Scheme inside of Playground fixed my issue.
Thank you! It worked!
Thanks. This is what worked for me.
How run ./bootstrap.sh
I have issue no such file or directory: ./bootstrap.sh
the bootstrap.sh file is inside of each chapter’s RxPlayground folder.
Make sure you check “Build Active Scheme” and “Render Documentation” in the Plaground Settings (on the right sidebar)
I am having a problem that even with running boootstrap.sh on Chapter 3, I don’t get RxRelay . I even copied the build line for RxCocoa and replaced RxCocoa with RxRelay and it runs but I don’t get it. I don’t know enough about playgrounds yet to get this figured out
So if I hit BUILD enough times in Xcode it fixed itself with RxRelay chosen as the scheme. The first time I built that it did not seem to do it but I did it a few more times and the errors went awaty
The fix to this seems to be manually checking “Build Active Scheme”
Trust me, as authors, it is quite challenging following Apple’s yearly shenanigans and Xcode bugs
Thanks for the notes.
That is generally the answer (mark the checkbox to Build Active Scheme" and the doc one above it. The chapter that had RxRelay I had to duplicate the xcode build line and substitute RxRelay as the scheme in the bootstrap script. And then build the RxSwift and then RxRelay schemes. That worked for me, though there may have been an easier way.
Hello, I am having this issue. What exactly is checking “Build Active Scheme”?
My build settings of scheme looks like this
I tried to do all the advices given in this thread but still the same result.
I really have no idea what to do to get this working. Can you please help?
Ok, I’ve finally noticed it. This solved my problem:
Thank you so much for finding a solution! I’m using Xcode 12 but this worked for me as well
Had the same issue with Xcode 12. Selecting “build active scheme” worked for me as well.
Just hoping this will help others in the future, this + build active scheme helped me too
I had to duplicate the xcode build line and substitute RxRelay as the scheme in the bootstrap script.
This worked for me
It’s really helpful, thanks
Hi! I already read all the threads concerning this problem but it does not seem to work with Xcode 12.3. When the project opens (Chapter 11 - starter) the error is “no such module ‘RxSwift’”. When I select “Build active scheme” the error changes to “no such module ‘RxCocoa’” which I did not manage to solve. Any help would be appreciated. Thanks!
I checked this on my old machine running Xcode 11.2.1 and it runs perfectly out of the box.
true, running with iPhone 8 simulator, finally. tricky solution, it works.
Thanks but it’s not working either I think I keep on working with Xcode 11.2.1
solved my problem, really thanks.