Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linking Cocoapods as shared iOS 8 Library

iOS 8 introduced a feature to allow for shared frameworks in the application sandbox. This is especially useful when using extensions alongside the main application.

Statically linking Cocoapods in both the main application and the extension seems like a non-optimal solution. How do I link Cocoapods as a shared framework to be used by both my Extension(s) and the main application using Xcode?

like image 319
felinira Avatar asked Jun 08 '14 21:06

felinira


1 Answers

There is a active development branch will support implement Pod in swift. That will also support build pods as new Dynamic Library and link against.

See https://github.com/CocoaPods/CocoaPods/pull/2222

like image 102
Quanlong Avatar answered Nov 19 '22 23:11

Quanlong