How to add a CocoaPod framework to Xcode 8 Playground

后端 未结 2 997
走了就别回头了
走了就别回头了 2021-01-13 13:54

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

2条回答
  •  一个人的身影
    2021-01-13 14:07

    In Xcode 8.2:

    1. Click on your project name in the left column
    2. Click "New File" and choose "Playground"
    3. Import the pod that you have installed in your Podfile
    4. Possibly do a build and run to get rid of the error if it temporarily can't find the pod
    5. That's it! You should be good to go

提交回复
热议问题