Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Playground #304

Open
teameh opened this issue Jan 27, 2021 · 1 comment
Open

Unable to run Playground #304

teameh opened this issue Jan 27, 2021 · 1 comment

Comments

@teameh
Copy link

teameh commented Jan 27, 2021

Version

abeeb22

Environment

Mac OS Catalina 10.15.7 (19H2) , XCode 12.3 (12C33)

Description

Playground does not work: No such module 'SwiftCheck'

error: Tutorial.playground:64:16: error: cannot find 'Gen' in scope
let onlyFive = Gen.pure(5)
               ^~~

error: Tutorial.playground:74:21: error: cannot find 'Gen' in scope
let fromOnetoFive = Gen<Int>.fromElements(in: 1...5)
                    ^~~
....

Steps To Reproduce

  1. git clone
  2. Open workspace
  3. Build -> succeeds
  4. Run playground-> Fails

image

@ferologics
Copy link

you need to check the "Build Active Scheme" in the inspector (on the right). I figured it out thanks to this post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants