ios - 在安装新的 pod 文件时出错

标签 ios iphone objective-c cocoapods

我的项目中安装了pod文件。

现在我想为“PhotoPickerPlus”添加新的 pod 文件,但我收到重复符号错误和警告,如下面的屏幕截图所示;

enter image description here

我尝试通过使用安装 pod 文件

pod 安装

安装成功。我还包含了所有必需的框架。

我的pod文件如下;

platform :ios, '6.0'

# ignore all warnings from all pods
inhibit_all_warnings!

pod 'ARGenericTableViewController', '~> 1.0.0'
#pod 'CocoaLumberjack', '~> 1.6'
pod 'TBXML', '~> 1.5'
pod 'GoogleAnalytics-iOS-SDK', '~> 2.0beta4'
#pod 'FlurrySDK', '~> 4.1.0'
pod 'SDWebImage', '~> 3.5.4'
#pod 'PSTCollectionView', '~> 1.2.0'
pod 'BSKeyboardControls', '~> 2.2'
pod 'HockeySDK', '~> 3.5.4'
pod 'MBProgressHUD', '~> 0.8'
pod 'MKMapView+AttributionView', '~> 0.1.0'
pod 'Facebook-iOS-SDK', '~> 3.13.0'
pod 'TTTAttributedLabel', '~> 1.9.0'
pod 'JASidePanels'
#pod 'ARChromeActivity', '~> 1.0.1'
#pod 'TUSafariActivity', '~> 1.0.0'
pod 'REComposeViewController', '~> 2.3.1'
pod 'iRate', '~> 1.9.3'
pod 'PhotoPickerPlus', '~> 2.2'
pod 'UIPhotoGallery', :podspec => 'UIPhotoGallery.podspec'
But I am getting errors after installing this file. 

可能是什么问题?

最佳答案

也许您的项目中 Build Settings 中的 Other Linker Flags 设置错误。在 Project Navigator 中单击您的项目。如果您在 PROJECT 上选择您的应用程序,您的 Build Settings 应该如下所示

enter image description here

在我的项目中,我还删除了 Other Linker Flags 中的所有内容,但如果您插入此内容,它可能对您有用

enter image description here

当然,不要忘记在这些步骤之后进行清洁。

关于ios - 在安装新的 pod 文件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23883148/

相关文章:

iOS 11 Facebook 登录显示初始系统警报

ios - 哪个更好 : many controls or code to arrange the controls?

ios - 需要有关使用核心位置计算距离的帮助

ios - 显示多个 map 的 SKMaps

html - 从查询 url 获取 HTML (index.php?[arguments] ) Swift 3 ios

ios - Xamarin 表格 : CustomWebView on iOS didn't show a simple webpage

ios - 如何判断 'Mobile Network Data' 在 iOS 中是启用还是禁用(即使通过 WiFi 连接)?

iphone - 核心数据内存问题

iphone - GDataXml 和命名空间

objective-c - 如何在 mac 中的 Objective-C 中计算应用程序和缓存内存,如事件监视器?