安装适用于iOS的Firebase崩溃报告窗口时出现“更高的最低部署目标”错误

时间:2016-07-27 01:54:19

标签: ios firebase firebase-crash-reporting

我正在尝试为iOS安装Firebase崩溃报告窗格。核心Firebase Pod安装正常,但是在安装Crash Reporting时,我通过终端收到以下错误:

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

我尝试过来自其他类似线程的解决方法(例如。Firebase pod install - pod 'Firebase/Database' - Required a higher minimum deployment target),但仍然会遇到同样的错误 - 还有其他可能的解决方法吗? Firebase SDK支持的最低iOS版本是什么?

9 个答案:

答案 0 :(得分:6)

确保更改Podfile中的最低部署目标,例如,如果最低部署目标是iOS 9,则应将其更改为最小值

platform :ios, '9.0'
....
....
....

答案 1 :(得分:6)

将您的 podfile 平台更新为 platform :ios, '11.0' 将解决此问题

答案 2 :(得分:5)

enter image description here

使用部署为8.0或8.1或9.0

答案 3 :(得分:2)

  

解决此问题的步骤。

IF new.daily_rate >= 15 THEN
    INSERT INTO valuable_items (
        catalogue_id,
        description,
        designer,
        type,
        daily_rate)
    VALUES 
    (new.catalogue_id,
    new.description,
    new.designer,
    new.type,
    new.daily_rate);
END IF;

答案 4 :(得分:2)

上面列出的答案都没有为我解决。更改为最新的iOS目标版本均无效。对我有用的是:

pod install --repo-update

答案 5 :(得分:1)

可能出现此问题的另一种情况是,如果您的应用有扩展程序,并且如果您在主要目标和扩展程序目标中指定了不同的版本,则会出现此错误。确保您在主目标和扩展程序目标中指定了相同版本的pod。

答案 6 :(得分:1)

确保更新 ios/Podfile 中的平台值

平台:ios,''

enter image description here

答案 7 :(得分:0)

目前,Firebase支持的最低iOS版本为7.0。它记录在案here

答案 8 :(得分:0)

只需替换平台:ios,“ 10.0”或正确的最新版本即可。