You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.
Might be a little late for to original question, but there are a couple ways.
One would be to build the static library, then import the static library, the MagicKit headers, and the magic.mgc file.
Another would be to add the MagicKit project to your iOS project, make sure that the MagicKit-iOS is a target dependency, link against libMagicKit-iOS, and import a copy of magic.mgc into your project.
mdestagnol, you need to add -D_FORTIFY_SOURCE=0 to Other C Flags in Build Settings. This will let you compile!
@jessecurry where do we import the magic.mgc file? Everything works but when I call a MagicKit function, it says it can't find the magic database. I tried putting it under Resources but no luck.
I tried for hours now but can't figure out. Do you think you could add an Installation section in the README? Many thx
The text was updated successfully, but these errors were encountered: