In order to learn RxSwift by example, I launched Rx.xcworkspace and clicked on Introduction.playground. You can always update your selection by clicking Cookie Preferences at the bottom of the page. We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. Already on GitHub? to your account. Successfully merging a pull request may close this issue. Already on GitHub? As I mentioned. It seems indeed to be the problem, command used was "xcodebuild -configuration Release" Not sure what to do with this one. I just tried with another project but the result was same. 2.- Select Product -> Build menu or Command+B, Then playgrounds must work. But I am integrating RxSwift in my own project through cocoapods. to your account. – Eric Aya Jul 25 '16 at 15:52. Already on GitHub? What command do you use to build debug version? I cleaned the 'DerivedData', and built the RxSwift-macOS scheme, and checked that the framework is there, but in playground, it still doesn't work. I just found how to fix this: selecting a simulator instead of a physical device! Am I missing a step? Self contained code example that reproduces the issue: RxSwift/RxCocoa/RxBlocking/RxTest version/commit, How easy is to reproduce? GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. Oh shoot! Could someone point me to the right direction please? Remember to activate Assistant editor for to see the outputs. Have a question about this project? Sign in For more information, see our Privacy Statement. Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world. For more information, see our Privacy Statement. Please show me how to build RxSwift-macOS to get rid of this No such module 'RxSwift' from RxSwiftPlayground.swift. Line 2 immediately came up with the error: No such module 'RxSwift'. Hello, when i compile in command line to get a release with "codebuild -configuration Release" (so we can know if this is a potential cause of your issue), Level of RxSwift knowledge: It was a cocoapod, so I commented out the line and reinstalled.. – Jacobo Koenig Jul 25 '16 at 16:01. I'm retesting this and I'm having issues when I run SPM outside of unit tests. Let me know does this work for you. We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. To fix it choose Build Location: Unique (which I think is the default). We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Which target contains MyPlayground is it TestRx? Learn more. We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. We'll add instructions to playgrounds, so it will be clearer in future. I tried to build but the still is not gone. devxoul changed the title RxTest via Swift Package Manager No such module 'RxTest' with Swift Package Manager Apr 23, 2017 kzaher added a commit that referenced this issue Apr 25, 2017 We’ll occasionally send you account related emails. I'm hoping SPM will provide us some built in way to distinguish this. Below is my screenshot: The instruction at the top of the page writes: Please build the scheme 'RxSwiftPlayground' first. If someone has a modern issue with it, it would be advisable to open a new issue, so we can track it :) Thanks ! By clicking “Sign up for GitHub”, you agree to our terms of service and You mean why the xcode is choosing wrong workspace and scheme? (chances of successful reproduce after running the self contained code), ⚠️ Fields below are optional for general issues or in case those questions aren't related to your issue, but filling them out will increase the chances of getting your issue resolved. Fwiw, this is in Xcode Version 6.4 (6E35b). Closing this for now. I've added an environmental variable TEST=1 to fix that issue. We use essential cookies to perform essential website functions, e.g. i get a .swift:10:8: error: no such module 'RxSwift' Sign up for a free GitHub account to open an issue and contact its maintainers and the community. The same happens if I open the playground (or any of the playgrounds in Playgrounds/ObservablesOperators). Any idea? Have a question about this project? Could someone point me to the right direction please? This error will also occur if you have the Xcode -> Preferences -> Locations -> Derived Data [ Advanced... button ] -> Build Location = Legacy. We use essential cookies to perform essential website functions, e.g. By clicking “Sign up for GitHub”, you agree to our terms of service and ¯\_(ツ)_/¯ You may have to "clean your project" (menu ... remove import SwiftyJSON to solve No such Module 'SwiftyJSON' on Swift 3.0. 1.- Select RxSwift-OSX Scheme, Product -> Scheme -> RxSwift-OSX menu Learn more. Swift can load the SwiftyJSON.swift by itself. We’ll occasionally send you account related emails. Add a documentation for SPM TEST=1 env var. I am able to import RxSwift and RxCocoa in the playground file but can't use the above method.