swift - 我的一个 pod 无法使用,如何修复才能导入?

标签 swift xcode7

我的一个 pod(特别是 TNImageSliderViewController)无法导入到我的 swift 文件中。它也不能设置为 Storyboard中 View 的类。奇怪的是,TNImageSliderViewCell 可用并且没有问题。

这是我的播客文件:

platform :ios, '9.3'
use_frameworks!
inhibit_all_warnings!
project '/Users/user/myproject/myproject.xcodeproj'
target 'myproject' do
  pod 'GooglePlaces'
  pod 'GooglePlacePicker'
  pod 'GoogleMaps'
  pod 'Google/Analytics'
  pod 'TTRangeSlider'
  pod 'TNImageSliderViewController'
end

运行 pod update 不会产生错误或警告

这是我正在谈论的图片

Pod files are there but there's an error bundle

Cell is available but Controller is not Why

最佳答案

添加pod后构建项目

关于swift - 我的一个 pod 无法使用,如何修复才能导入?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42422532/

相关文章:

ios - 需要帮助将数据添加到 TableView

swift - 计算 SpriteKit 中的对象在受到脉冲时的轨迹

ios - 如何在要删除的单元格上使用 longtapGesture 从 Collection View 中删除 uicollectionviewcell? swift

ios - 运行 XCode 的发布版和 beta 版

ios - 创建一条线,像Xcode一样,在Swift中连接两个对象

ios - 如何在没有 google api 的情况下绘制路线(没有折线)?

ios - 使用后退按钮从 NavigationController 导航到另一个 NavigationController

ios - pointInside :withEvent inside uibezierpath (overlapping area between two views)

xcode7 - Xcode 7.2 : Failed to Locate or generated signing assets, 通配符应用程序 ID 无法用于创建内部配置文件

iOS xib 文件 IBOutlet 无法识别 - (类不符合键值编码)