Playgrounds inside projects question

I am having some difficulty getting started with this feature.


my project is a framework, And It's time to test soem of the things I'm doing in that framework.

I saw that I could add a playground to my project, and I thought that was exactly what I needed.

I added a new playground to my project, imported my framework, compiled that framework, and nothing works.


Is this not what it's meant for? Does it just plain not work like that? or have I missed something?

Replies

Can you be more specific about what you mean by “nothing works”? What are the actual symptoms you’re seeing?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

sorry, should have book-ended this with the rest of the story.


Xcode, just didn't work. I followed the process to add a playground to my project, imported the framework into the project, imported it into my playground. and that errored out. no such framework as far as the playground was concerened.


then I posted this in the forums.

then I had a handful of other problems, with the same project.

then I rebuilt my project, writing every line of code from scratch... no copying. just looking at it, and refactoring as I went.


the same process produced different results. I now have a playground in my project that can import the frameworks in question.

So it was just buggy behavior in XCode.