nvzqz/Sage

No such module, when importing Sage in playground

Sajjon opened this issue ยท 4 comments

Hi, I am very excited about this project! ๐Ÿ‘

I git clone master branch and opened the Playground but I get a compile error on the

import Sage

Line, with the error "No such module 'Sage'".

Any ideas?

nvzqz commented

You need to open Sage.xcodeproj, build it, and then go to the playground file from within the Xcode project.

For some reason Xcode 8 doesn't want to run any of the library's code, but it works correctly in Xcode 7.

Ah I had to build the Sage OSX and not iOS target! Maybe this info can be added to the installation README? ;)

Thanks!

nvzqz commented

The default platform for the playground is OS X, but you can change it to iOS or tvOS. I'll definitely clarify this in the readme, thanks!

nvzqz commented

Added 17d2bd9