Playground execution failed: error: could not find search characters

I am using Xcode 7.3. I already put Playground and Frameworks in the same workspace and created a framework. I'm still getting this error

Playground execution failed: error: Couldn't lookup symbols:  
_RestofireVersionNumber

Playground execution failed: error: could not find characters

How to resolve this?

+4
source share
1 answer

If you have one .podspecfor your library, you can use cocoapods-playgrounds to create a playground that should work.

$ gem install cocoapods-playgrounds
$ pod playgrounds Restofire.podspec

It seems that the plugin has preliminary support for Carthage projects.

The plugin creates a new folder inside the project folder with the following structure:

RestofirePlayground
├── Podfile
├── Podfile.lock
├── Pods
│   ├── Alamofire
│   ├── Headers
│   ├── Local\ Podspecs
│   │   └── Restofire.podspec.json
│   ├── Manifest.lock
│   ├── Pods.xcodeproj
│   └── Target\ Support\ Files
│       ├── Alamofire
│       ├── Pods-TidalPlayground
│       └── Restofire
├── Restofire.playground
├── Restofire.xcodeproj
└── Restofire.xcworkspace

, , , RestofirePlayground, .

+1

All Articles