导入Parse的问题 - 没有这样的模块Parse

时间:2017-12-26 13:23:06

标签: ios parse-platform cocoapods

我使用Cocoapod安装了Parse iOS SDK,并想在我的appDelegate中导入它。

但即使我尝试清理构建,我也会遇到错误No such module Parse。我也有很多来自Parse AND Bolt(依赖)的警告。

我将软件包从目前的1.15.3(在撰写本文时)降级到1.14.4,但遇到同样的问题。

这是我的Podfile

# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'

target 'BookBank' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for BookBank
  pod 'Parse'

end

有什么想法吗?

修改

我想我发现了原因。即使打开*.xcworkspace文件XCode似乎也没有与Cocoapod库链接。我尝试使用Alamofire或其他众所周知的软件包,我遇到了同样的问题。所以它指出这不是图书馆问题。

我谷歌一天(并失去了一天的工作),我解决了我的问题。 我不得不像这样改变应用程序的方案

点击应用名称

上XCode的左上角

xcode

然后Manage Schemes

enter image description here

最后将您的应用容器更改为具有工作区的容器。

enter image description here

清理buildetvoilà!

0 个答案:

没有答案
相关问题