Leandros
Leandros

Reputation: 16825

Duplicate definition with cocoapods, even though they aren't

After doing a pod install for a new pod, I'm getting a duplicate definition for the AFURLRequestSerialization protocol.

Yes, I understand that error. No, it's not defined somewhereNo, it's not defined somewhere.

Upvotes: 1

Views: 391

Answers (1)

Leandros
Leandros

Reputation: 16825

Removing use_frameworks! from the Podfile also removes the LD_RUNPATH_SEARCH_PATHS linker flag, which links in Swift frameworks into Objective-C code, even though it shouldn't. Solved.

Upvotes: 1

Related Questions