I tried to add some pods to the Playground within an Xcode project. Unfortunately, the only scope supported is targets since the update, and link_with
is no lon
In Xcode 8.2:
UPDATE
As of:
Xcode 8.2
You no longer need to add your pod folder into resources, simply use it as you would in the project.
Example:
Pre Xcode 8.1
Thanks to Eric Aya
, I have found a solution based on his first suggestion.
In order to add a CocoPods framework to Playground
, follow these steps:
pod install
Sources
folder in your playgroundAdd Files to Sources
HanakeSwift
import Pods_PodsPlayground
Step 3
Step 4
Step 5
Step 6, 7