ios – Playground执行失败:错误:无法查找符号

ios – Playground执行失败:错误:无法查找符号,第1张

概述我正在使用 Xcode 7.3.我已经将Playground和Frameworks放在同一个工作区中并构建了框架.我仍然收到此错误 Playground execution failed: error: Couldn't lookup symbols: _RestofireVersionNumber 怎么解决这个? 如果您的库有.podspec,则可以使用 cocoapods-playgrou 我正在使用 Xcode 7.3.我已经将Playground和Frameworks放在同一个工作区中并构建了框架.我仍然收到此错误

Playground execution Failed: error: Couldn't lookup symbols:  _RestofireversionNumber

怎么解决这个?

解决方法 如果您的库有.podspec,则可以使用 cocoapods-playgrounds生成应该可用的Playground.

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

看起来该插件也对Carthage项目提供了初步支持.

该插件使用以下结构在项目文件夹中创建一个新文件夹:

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

生成Playground之后剩下的就是构建RestofirePlayground方案然后你就可以了.

总结

以上是内存溢出为你收集整理的ios – Playground执行失败:错误:无法查找符号全部内容,希望文章能够帮你解决ios – Playground执行失败:错误:无法查找符号所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1029669.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存