awkward / Ocarina

A library to get metadata and Open Graph information from URLs
MIT License
38 stars 13 forks source link

I can not implement Ocarina into my project #12

Open mihozil opened 4 years ago

mihozil commented 4 years ago

I see this lib great, however I can not implement into my project

At first I try to make Ocarina framework, than drag into my objective C project. However, I can not import URL+URLInformation

Than I try to do exactly as the instruction, as I drag the Ocarina.xcodeproj into my swift project. But still error: "Value of type '(UnsafePointer?, UnsafePointer?) -> Int32' has no member 'oca'"

Can you please help me. At best, can you help me to create the framework than I can pull into my objectiveC project ? Thank you

renssies commented 4 years ago

You should be able to project into a Objective-C project, remember that you have to drag in "xcodeproj" file. Not the files in the project.

Also what version of Xcode are you using?