Hi @jecht83 Really sorry you’re having this problem…still Had hoped @freak4pc’s bootstrap file / approach was the silver bullet. It does work much better and I am not able to reproduce the problem you’re having, but here are some things you can try:
Change the scheme destination to a simulator or device instead of My Mac
I have found that the latest Xcode playgrounds work fine now for new projects, but still seem to be problematic when opening projects created in older versions ().
So, if all of the above steps do not resolve the issue for you, you could download this starter playground I created, which has RxSwift and RxCocoa added to it. This does not use the bootstrap script. Just be sure to build first every time you open it. And if you do use this starter playground throughout the book, also be sure to copy in any code and resources from the original playground for that chapter.
At the beginning I was trying with Xcode 10.2 so decided to download Xcode 10.1 and after that every time I tried to run the bootstrap.sh script it throws the error “Xcode not installed”
After reading your suggestions decided to give one last chance to the bootstrap.sh script before following your steps so I had to run “brew install swiftlin” to silence the waning of swiftlin then commented the lines 41-43 (Xcode check) of the script to run it and changed the scheme destination to simulator
And now it’s working
I really don’t know what was the issue or how it was fixed but it works
I tried downloading the starter playground with RxSwift and RxCocoa added. But the link is no longer active. Can you kindly post a new link ? Thanks.
Your recommendation in Episode 3 - the nuke and repave option - became my last resort for getting pods to install RxSwift. It didn’t work but maybe you can spot something I missed. BTW, your tutorial on RxSwift is thoughtfully-presented with just the right amount of silence and no annoying music!
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.