首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >火柴盒'InAppMessagingDisplay‘

火柴盒'InAppMessagingDisplay‘
EN

Stack Overflow用户
提问于 2018-08-23 16:03:49
回答 5查看 2.8K关注 0票数 3

我在安装Firebase新功能"In-App Messaging“时遇到了困难。当试图在项目上运行pod install时,我会得到以下错误:

代码语言:javascript
运行
复制
[!] CocoaPods could not find compatible versions for pod "Firebase/InAppMessagingDisplay":
  In Podfile:
    Firebase/InAppMessagingDisplay

Specs satisfying the `Firebase/InAppMessagingDisplay` dependency were found, but they required a higher minimum deployment target.

这些是我的项目中的pod文件:

代码语言:javascript
运行
复制
target 'MyProject' do
    platform :ios, '10.1'
    inhibit_all_warnings!
    use_frameworks!

    pod 'AlamofireImage', '~> 3.1'
    pod 'AKPickerView-Swift', :git => 'https://github.com/Akkyie/AKPickerView-Swift.git', :inhibit_warnings => true
    pod 'Firebase/Database', '~> 5.0.0'
    pod 'Firebase/Messaging', '~> 5.0.0'
    pod 'Firebase/Core'
    pod 'Firebase/Auth'
    pod 'Firebase/RemoteConfig'
    pod 'Firebase/InAppMessagingDisplay'
    pod 'Google/Analytics'
    pod 'Protobuf', '~> 3.2', :inhibit_warnings => true
    pod 'PromiseKit/CoreLocation', '~> 4.1'
    pod 'GoogleConversionTracking'
    pod 'FBSDKCoreKit'
    pod 'Branch'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'Apply'
    pod 'SnapKit', '>= 4.0.0'
    pod 'KeychainSwift', '~> 10.0'
    pod 'Bond'
end

我在这里读过其他的问题,并尝试了两种不同的解决方案。首先,我尝试了这样的方法: 1. pod repo remove master 2. pod setup 3. pod install没有工作。也有同样的错误。

然后我尝试这样做: 1. pod repo update 2. pod deintegrate 3. pod install具有相同的结果。

你们中有谁经历过这件事并知道解决办法吗?

EN

Stack Overflow用户

发布于 2018-08-23 16:06:00

尝试使用pod install —repo-update,它可以解决您的问题。

票数 0
EN
查看全部 5 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51989988

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档