GithubHelp home page GithubHelp logo

Comments (15)

quanguyen avatar quanguyen commented on May 22, 2024 20

Oh shoot! I just found how to fix this: selecting a simulator instead of a physical device!

screen shot 2018-10-03 at 5 41 23 pm

(I referenced from this link)

Regards,

from rxswift.

carlosypunto avatar carlosypunto commented on May 22, 2024 10

Hi @clozach

For the playgrounds work, you need build the library before.

1.- Select RxSwift-OSX Scheme, Product -> Scheme -> RxSwift-OSX menu
2.- Select Product -> Build menu or Command+B

Then playgrounds must work.
Remember to activate Assistant editor for to see the outputs

from rxswift.

kzaher avatar kzaher commented on May 22, 2024

We'll add instructions to playgrounds, so it will be clearer in future.

from rxswift.

clozach avatar clozach commented on May 22, 2024

Thanks!

from rxswift.

paddlefish avatar paddlefish commented on May 22, 2024

This error will also occur if you have the Xcode -> Preferences -> Locations -> Derived Data [ Advanced... button ] -> Build Location = Legacy.

To fix it choose Build Location: Unique (which I think is the default).

from rxswift.

XueSeason avatar XueSeason commented on May 22, 2024

good job! Thx.

from rxswift.

PrajeetShrestha avatar PrajeetShrestha commented on May 22, 2024

Hi, I tried to integrate Playgrounds and tried to tested playground inside workspace made my cocoapods. But it shows these errors. Any idea?
image

from rxswift.

sergdort avatar sergdort commented on May 22, 2024

Hi, @PrajeetShrestha did you build RxSwift-MaOS target before?

from rxswift.

PrajeetShrestha avatar PrajeetShrestha commented on May 22, 2024

Hi Sergdort. As I mentioned. It is not this repo that I cloned. But I am integrating RxSwift in my own project through cocoapods. I created playground in there as well. I am able to import RxSwift and RxCocoa in the playground file but can't use the above method. There is no RxSwift-MacOS Target hence.

from rxswift.

sergdort avatar sergdort commented on May 22, 2024

Oh, sorry my bad :)

Which target contains MyPlayground is it TestRx?
If so have you build TestRx ?

from rxswift.

aelam avatar aelam commented on May 22, 2024

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

from rxswift.

quanguyen avatar quanguyen commented on May 22, 2024

Hi,

Please show me how to build RxSwift-macOS to get rid of this No such module 'RxSwift' from RxSwiftPlayground.swift. I've been struggling with this for an hour but still don't know how. Below is my screenshot:

screen shot 2018-10-03 at 5 19 19 pm

The instruction at the top of the page writes:

Please build the scheme 'RxSwiftPlayground' first

I tried to build but the still is not gone.

Thanks,

from rxswift.

JAIRMG avatar JAIRMG commented on May 22, 2024

The sources folder into playground file is empty, I already deleted the derived data

from rxswift.

dipkasyap avatar dipkasyap commented on May 22, 2024

Screen Shot 2020-07-09 at 1 44 49 pm

In my case Checking "Build Active Scheme" solved the problem.

from rxswift.

freak4pc avatar freak4pc commented on May 22, 2024

The original thread is 5 years old and from Xcode 6.4. If someone has a modern issue with it, it would be advisable to open a new issue, so we can track it :) Thanks !

from rxswift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.