I'm using the pocket api and bridging it over to use with swift and it's throwing the error "Semantic issue: Use of undeclared identifier 'NSWorkspace'" for the following line in their obj-c API:
[[NSWorkspace sharedWorkspace] openURL:url];
The app is targeting os 10.9+, so it should be available.
Any ideas on what can cause that error?
Update I've also tested in iOS, and it's returning the same error, but with 'UIApplication' instead of 'NSWorkspace'.
I also forgot to mention I had to use the -fno-objc-arc
flag in the Build Phases tab so the lib doesn't freak out over ARC.