0

I can successfully import a framework into my playground, but the classes inside it aren't accessible.

Framework

Bug

If I add keyword public to Event (and/or its initialiser), the error becomes:

'Event' is unavailable: cannot find Swift declaration for this class

What's going on?

Thanks

Alex Paterson
  • 484
  • 1
  • 7
  • 18

1 Answers1

0

Make sure you build the framework for an appropriate architecture. In my case I built if for "iPhone 5" (32 bit) and building for a later model (64 bit) solved it.

Yaser
  • 408
  • 2
  • 6