Giter Club home page Giter Club logo

Comments (14)

anuj-rajput avatar anuj-rajput commented on July 29, 2024 10

I was having this problem in Xcode 12.4 but running ./bootstrap.sh clear and checking Build Active Scheme inside of Playground fixed my issue. You can find it in the right sidebar

from rxs-materials.

seoulboy avatar seoulboy commented on July 29, 2024 6

I followed these steps and it worked for me.

Quit Xcode
-> run ./bootstrap.sh clear
-> Xcode will start up automatically
-> In source navigator, select RxSwiftPlayground
-> On the right side in the File Inspector under Playground Settings, check Build Active Scheme
-> Build by pressing the keyboard shortcut, Command + B
-> After the build has finished, try running the playground code with keyboard shortcut Command + Shift + Enter (return)

Hope this helps someone out there. It's strange how this is not set up to to work out-of-the-box.

from rxs-materials.

loinsir avatar loinsir commented on July 29, 2024 2

From now on, It worked for me. (M1 Pro, 2020)

just run ./bootstrap.sh clean

This removes all caches about Rx Modules

from rxs-materials.

gabrielcolmena avatar gabrielcolmena commented on July 29, 2024 2

From now on, It worked for me. (M1 Pro, 2020)

just run ./bootstrap.sh clean

This removes all caches about Rx Modules

Thanks a lot, It worked

from rxs-materials.

jiexishede avatar jiexishede commented on July 29, 2024 2

RxSwift 15.1.0 RxCocoa 15.1.0
Xcode 15 show error:
error: error while processing module import: Failed to load linked library swiftQuartzCore of module RxSwift - errors:

from rxs-materials.

seoulboy avatar seoulboy commented on July 29, 2024 1

@olgusirman The solution I posted stopped working after the recent Xcode update to 12.5.1 as well. I'm currently re-downloading the version 12.4 to see if it works. Here's a link to it if you're interested -> https://developer.apple.com/download/all/

Update:
Upgrading the mac OS to 11.5.1 & Xcode to 12.5.1 worked for me. (with Build Active Scheme enabled)

from rxs-materials.

gloomikon avatar gloomikon commented on July 29, 2024 1

I also have XCode 12.5.1 and the solution above didn't help me 😢
However, I copied the files from 03-subjects/projects/starter/RxPlayground folder to other folders and it worked for me. For some reason, in the mentioned directory Rx is imported without problems.

from rxs-materials.

liwenDeng avatar liwenDeng commented on July 29, 2024

I was having this problem in Xcode 12.4 but running ./bootstrap.sh clear and checking Build Active Scheme inside of Playground fixed my issue. You can find it in the right sidebar

it works for me

from rxs-materials.

comeonyoh avatar comeonyoh commented on July 29, 2024

I have a similar problem when I tried to run ./boostrap.sh.
I fixed the RxSwift module issue but faced RxRelay issue.

Also activate the 'Build Active Scheme' option. please help me.

from rxs-materials.

nelson-cch avatar nelson-cch commented on July 29, 2024

I have the same issue with RxRelay as well. I've tried ./bootstrap.sh clear + check Build Active Scheme, but issue persists.

from rxs-materials.

olgusirman avatar olgusirman commented on July 29, 2024

Unfortunately these solutions didn't worked for me with Xcode 12.5.1.

from rxs-materials.

olgusirman avatar olgusirman commented on July 29, 2024

@olgusirman The solution I posted stopped working after the recent Xcode update to 12.5.1 as well. I'm currently re-downloading the version 12.4 to see if it works. Here's a link to it if you're interested -> https://developer.apple.com/download/all/

Update:
Upgrading the mac OS to 11.5.1 & Xcode to 12.5.1 worked for me. (with Build Active Scheme enabled)

Thanks @seoulboy , I will try to update mac os.🙋‍♂️

from rxs-materials.

arslaman avatar arslaman commented on July 29, 2024

Above suggestions with ./bootstrap.sh clean and Build Active Scheme worked for me on Xcode 14.2 on M2. I think it would be better if the author of the book updated the "Observables" chapter to include these instructions.
CC @fpillet @scotteg @icanzilb

from rxs-materials.

icanzilb avatar icanzilb commented on July 29, 2024

Thanks @arslaman, that's a good suggestion

from rxs-materials.

Related Issues (3)

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.