4
我正在使用Xcode 7.3。我已经将Playground和Frameworks放在同一个工作空间中并构建了框架。我仍然得到这个错误游乐场执行失败:错误:无法查找符号
Playground execution failed: error: Couldn't lookup symbols:
_RestofireVersionNumber
如何解决这个问题?
我正在使用Xcode 7.3。我已经将Playground和Frameworks放在同一个工作空间中并构建了框架。我仍然得到这个错误游乐场执行失败:错误:无法查找符号
Playground execution failed: error: Couldn't lookup symbols:
_RestofireVersionNumber
如何解决这个问题?
如果你的图书馆有.podspec
,你可以使用cocoapods-playgrounds来生成一个应该工作的游乐场。
$ gem install cocoapods-playgrounds
$ pod playgrounds Restofire.podspec
它看起来像插件也暂时支持迦太基项目。
插件您的项目文件夹内创建一个新的文件夹结构如下:
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
方案,那么你去好了。
我似乎与CocoaPods和迦太基一起经历了这一切。它似乎与您的框架相关,包括依赖关系。删除这些依赖关系,它工作正常,但显然这不是一个解决方案。 – squarefrog