Xcode 6 Beta/Swift - Playground Not Updating

Xcode 6 Beta / Swift - Playground not updating

Make sure you haven't inadvertently added an error to your Playground code. Unfortunately, there is no inline notification of an error, and after an error is created, nothing in the Playground will update.

To help with this, open up the Assistant Editor (File > View > Assistant Editor > Show Assistant Editor), which should include a Console Output box. If there are any errors in your Playground, they will show up there. Once corrected, your Playground should hopefully update once more.

That said, it can be a bit slow depending on the complexity of your Playground and its size.

Swift auto completion not working in Xcode 6 Beta

I have figured it out. If your Swift files contain Unicode characters, auto completion will fail even if the characters are comments. So just delete all the Unicode characters, and the auto completion feature will work well!

I think this is a Xcode 6 Beta bug!

Xcode: Any way to refresh/re-run the playground?

Try Editor > Execute Playground from Xcode menu

Sample Image

I don't know what Reset Playground is, by the way.

Swift Playground not showing errors

What you're seeing is correct behavior. If you want the "red marks" inline with your code, use a real project. Playgrounds don't show all errors, and if they do show them, they show them as you described, in console, first with the same message you would get in the "red marks" and then with the rather pointless crash log. (It is not Xcode that is crashing; it's the special playground execution process.)

So, this is what you see in a playground:

Sample Image

This is what you see an app project:

Sample Image

Xcode Playground Failed to launch

I've the same issue. If I launch Xcode using rosetta, it doesn't show anything. You must switch off rosetta and it works perfect.

Why does Xcode 10 in Playground not run automatically?

I believe you mean this:
Click and hold the run button and select Automatically run.

Sample Image



Related Topics



Leave a reply



Submit