Taimur Ajmal
Taimur Ajmal

Reputation: 2855

Type does not conform to Protocol 'URLConvertible'

When I imported the URLNavigator library along with the files exactly as implemented in the Example project - I got these errors in URLConvertible.swift file. Can anyone please look into it. Try google-ing a lot but couldn't find any solution.

Type 'String' does not conform to protocol 'URLConvertible'

Type 'URL' does not conform to protocol 'URLConvertible'

Upvotes: 0

Views: 430

Answers (1)

Rashwan L
Rashwan L

Reputation: 38833

I would say that you probably have missed some files when you imported them. I created a new project and installed the framework through CocoaPods and it worked fine. You can download the project that I created here and since I´m using CocoaPods make sure to run the .xcworkspace project file.

Upvotes: 1

Related Questions