# Nothing prints in the log in the when I run the included projects

**URL:** <https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030>\
**Category:** RxSwift\
**Created:** [March 27, 2020, 1:46pm UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030 "2020-03-27T13:46:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![joakim\_sjostedt](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/joakim_sjostedt/32/81494_2.png) [@joakim\_sjostedt](https://forums.kodeco.com/u/joakim_sjostedt)\
**Post date:** [March 27, 2020, 1:46pm UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/1 "2020-03-27T13:46:14Z")

</div>

On the very first starter project I run it through the terminal using ./bootstrap.sh (page 42). The playground file opens in a regular Xcode project without the nifty playground stuff. Perhaps this is intended, dunno, and not sure about the point of opening it this way to be honest. Anyway, if I try to run the project (iPhone simulator) nothing happens. It says it’s successful, but then nothing. If I write a print, that doesn’t show in the log. Also, all of the syntax coloring is gone, which works on all my other projects. What gives?

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [April 6, 2020, 8:26am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/2 "2020-04-06T08:26:26Z")

</div>

@joakim_sjostedt Do you still have issues with this?

---

<div class="post-metadata">

**Author:** ![joakim\_sjostedt](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/joakim_sjostedt/32/81494_2.png) [@joakim\_sjostedt](https://forums.kodeco.com/u/joakim_sjostedt)\
**Post date:** [May 6, 2020, 7:35am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/3 "2020-05-06T07:35:47Z")

</div>

Yes and it gets worse [./bootstrap files don't work](https://forums.kodeco.com/t/bootstrap-files-dont-work/108139)

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [May 6, 2020, 10:00am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/4 "2020-05-06T10:00:21Z")

</div>

@freak4pc do we have any currently tracked issues with anyone not being able to run the bootstrap?

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [May 6, 2020, 10:11am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/5 "2020-05-06T10:11:39Z")

</div>

The code behind the bootstrap was tapered for Xcode 10, it makes sense theere are some issues around this. We’ll definitely track it for the next release, but if I can cut out some time to quickly make it work in Xcode 11, I’ll ping youu here.

Sorry for the discomfort ! @joakim_sjostedt

---

<div class="post-metadata">

**Author:** ![frankaceves](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/frankaceves/32/81494_2.png) [@frankaceves](https://forums.kodeco.com/u/frankaceves)\
**Post date:** [July 3, 2020, 2:02am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/6 "2020-07-03T02:02:24Z")

</div>

I just purchased this book, so I’m running it in Xcode 11.5 on OSX 10.15.5, and ran into serious playground problems. While I was able to get bootstrap up and running, it just felt buggy. Quick Help wasn’t working most of the time, and, often, my playground would just stop working altogether. I got tired of restarting Xcode, so I took a different approach from some TDD videos I’ve been watching.

One thing I learned from reading up on Test Driven Development is that if you’re testing for something that is not UI related (like, not using UIKit), you can create a project that is a macOS Framework, and include Unit Testing when creating the project. The tests run at lightning speed because you’re not using the iOS Simulator.

So what I did initially was I started copy/pasting the playground code from the book into unit tests, and had really good/fast/reliable results. I wasn’t testing for anything, but was just using the test to run this RxSwift code.

The next experiment I tried was simply dragging the RxSwiftPlayground.playground file provided by the book into this project. These playgrounds seem to be running smoothly, with no troubles so far. Screenshot below of that. The only thing I had to do was change the platform settings to macOS, and everything worked well.

![Screen Shot 2020-07-02 at 9.57.39 PM](https://files.chunter.kodeco.com/original/3X/6/f/6f1f3ca2c74a246d06c4b66e0001c77bc35171b1.png)  
 ![Screen Shot 2020-07-02 at 9.58.12 PM](https://files.chunter.kodeco.com/original/3X/7/1/710612f8d168fe3256f16ee0f6f18d934c871e8f.png)

I hope this isn’t too confusing. I spent most of the day trying to get my playgrounds to work via Bootstrap, so to find this semi-solution really gave me hope for working on the coming chapters.

Again, I believe that this only works on the concept chapters that don’t include UI stuff. I specifically was using this approach for Chapter 5, but I’m pretty confident it would work with Chapters 2 & 3, as well. Since Chapter 4 is an “In Practice” chapter, and you’re using an actual xcworkspace, there’s no need to take this approach for that.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [July 4, 2020, 1:33pm UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/7 "2020-07-04T13:33:18Z")

</div>

Hey @frankaceves and @joakim_sjostedt  
We’ve been struggling with getting an implementation that works well across all versions of Xcode and all users. I know this is frustrating but you can also imagine it’s supper frustrating for us working around Apple’s playground issues with third-party dependencies such as RxSwift.

Would you mind trying the following with the playground open:

1. Switch the Platform (on the right bar) to macOS and then back to iOS
2. Make sure you’re on the RxSwift scheme on the top and have an iOS Simulator selected
3. Clean and build the RxSwift scheme (Cmd+Alt/Opt+Shift+K to clean and then Cmd+B)
4. Try running the playground again

If these steps work, this is at least one work around.

Regardless we’ve been looking into other options to support this scenario better for the next version of the book. Of course, you’re eligible for a free update on that since you purchased an earlier edition.

Thanks,  
Shai

---

<div class="post-metadata">

**Author:** ![mussacharles](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mussacharles/32/105896_2.png) [@mussacharles](https://forums.kodeco.com/u/mussacharles)\
**Post date:** [August 24, 2020, 11:11pm UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/8 "2020-08-24T23:11:19Z")

</div>

@freak4pc This works perfect thanks. For my case all the time I was missing the `Cmd + B` part. If this helps someone in the future if you see this at the top of playground: -

_“The playground could not continue running because the playground source did not compile successfully”_

Follow the steps as outlined on @freak4pc answer. And don’t forget to `Cmd + B`, it was the only one which I was missing from other old suggested solutions.

---

<div class="post-metadata">

**Author:** ![freak4pc](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/freak4pc/32/101113_2.png) [@freak4pc](https://forums.kodeco.com/u/freak4pc)\
**Post date:** [August 25, 2020, 4:35am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/9 "2020-08-25T04:35:05Z")

</div>

I’m glad it helped you and thanks for letting us know 🙂

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [September 10, 2020, 5:46am UTC](https://forums.kodeco.com/t/nothing-prints-in-the-log-in-the-when-i-run-the-included-projects/103030/10 "2020-09-10T05:46:17Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
