nvzqz/RandomKit

Playground not working

vineethvijayan opened this issue · 8 comments

I opened RandomKit.playground and it shows

'No Such Module 'RandomKit''

I am using xcode 7 and swift 2

nvzqz commented

Did you build the OS X target?

I'll also get this sometimes but after a few seconds it'll find the framework.

I just opened RandomKit.playground file
Is there any other way should open?

nvzqz commented

Open RandomKit.xcworkspace and it should work.

Nope same effect sorry

nvzqz commented

Are you building the framework, though?

Open the workspace, select the OS X target on the top left, and hit cmd+b to build it. Then open the playground.

@nvzqz thanks mate, so if I create a playground it wont work standalone rite?

nvzqz commented

From my understanding, Xcode requires the opened playground to be in the same workspace as the framework.

So no, @vinbhai4u I don't think a standalone playground would work.

Playground works fine alone, if no extra libs added.
I wish I could test some pods easily if it was possible. Anyways thanks brother.