一些 pods 没有在项目中工作和显示

Some pods are not working and showing in the project

我正在启动一个使用 Backendless and am following the quick start guide 的项目,该项目使用 CocoaPods 来安装它。

安装 pods 很顺利,但我无法使用 Backendless。我收到“没有这样的模块”错误。另一个 pod 工作正常。

这是我的 Podfile:

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

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

  # Pods for Chatter
  pod 'Napalm', :git => 'https://github.com/Napalm-Framework/Napalm.git'
  pod 'Backendless'
end

注意几点:

您应该在桥接头中添加一行:

包括Backendless.h

你也可以调查这个话题: http://support.backendless.com/topic/cant-get-ios-sdk-working-after-xcode-8-update

我仍然不确定为什么使用 pods 不起作用,但我找到了一些关于如何手动安装 Backendless 的说明 here。问题已解决!