Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Firebase软件包和插件破坏颤振应用程序_Firebase_Flutter_Google Cloud Firestore_Firebase Cloud Messaging_Google Cloud Functions - Fatal编程技术网

Firebase软件包和插件破坏颤振应用程序

Firebase软件包和插件破坏颤振应用程序,firebase,flutter,google-cloud-firestore,firebase-cloud-messaging,google-cloud-functions,Firebase,Flutter,Google Cloud Firestore,Firebase Cloud Messaging,Google Cloud Functions,我在应用程序中使用Firebase软件包时遇到了严重问题。现在在iOS上,我的应用程序将无法编译。我想它是从我更新Xcode开始的,但不知道为什么会出现问题。我已经坚持了一个多星期了 导致问题的两个包是: firebase_存储^3.0.6 cloud_firestore 0.12.9+4 其他Firebase软件包都不会导致问题 firebase_核心:^0.4.0+9 firebase_认证:^0.14.0+5 firebase_消息:^5.1.6 firebase_动态链接:^0.5

我在应用程序中使用Firebase软件包时遇到了严重问题。现在在iOS上,我的应用程序将无法编译。我想它是从我更新Xcode开始的,但不知道为什么会出现问题。我已经坚持了一个多星期了

导致问题的两个包是:

  • firebase_存储^3.0.6
  • cloud_firestore 0.12.9+4
其他Firebase软件包都不会导致问题

  • firebase_核心:^0.4.0+9
  • firebase_认证:^0.14.0+5
  • firebase_消息:^5.1.6
  • firebase_动态链接:^0.5.0+1
  • 云计算功能:^0.4.1+1
我得到的错误是:

Launching lib/main.dart on iPhone 7 in debug mode... Xcode build done.
103.6s Failed to build iOS app Error output from Xcode build: ↳
    2019-10-01 05:54:27.049 xcodebuild[80532:1543780]  DTDeviceKit: deviceType from 6aa0c9719a85c174869a09656237b42f23701a91 was NULL
    2019-10-01 05:54:27.192 xcodebuild[80532:1543775]  DTDeviceKit: deviceType from 6aa0c9719a85c174869a09656237b42f23701a91 was NULL
    2019-10-01 05:54:27.643 xcodebuild[80532:1543780]  DTDeviceKit: deviceType from 023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4 was NULL
    2019-10-01 05:54:28.935 xcodebuild[80532:1543771] [MT] DTDeviceKit: deviceType from 023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4 was NULL
    2019-10-01 05:54:28.944 xcodebuild[80532:1543771] [MT] DTDeviceKit: deviceType from 023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4 was NULL
    2019-10-01 05:54:28.951 xcodebuild[80532:1543771] [MT] DTDeviceKit: deviceType from 023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4 was NULL
    ** BUILD FAILED ** Xcode's output: ↳
    /Users/earyzhe/dev/FlutterProjects/Mini exercises/Firebase Projects/firebase_compile_test/ios/Pods/Protobuf/objectivec/google/protobuf/Wrappers.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Wrappers.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Wrappers.pbobjc.h>
    1 warning generated.
    /Users/earyzhe/dev/FlutterProjects/Mini exercises/Firebase Projects/firebase_compile_test/ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:19:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Type.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Type.pbobjc.h>
    /Users/earyzhe/dev/FlutterProjects/Mini exercises/Firebase Projects/firebase_compile_test/ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:20:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Any.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Any.pbobjc.h>
    /Users/earyzhe/dev/FlutterProjects/Mini exercises/Firebase Projects/firebase_compile_test/ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:21:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/SourceContext.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/SourceContext.pbobjc.h>
    3 warnings generated.
    /Users/earyzhe/dev/FlutterProjects/Mini exercises/Firebase Projects/firebase_compile_test/ios/Pods/Protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
在调试模式下在iPhone 7上启动lib/main.dart。。。Xcode构建完成。
103.6s无法从Xcode生成生成iOS应用程序错误输出:↳
2019-10-01 05:54:27.049 xcodebuild[80532:1543780]数据设备套件:6AA0C9719A85C174869A096566237B42F237001A91中的设备类型为空
2019-10-01 05:54:27.192 xcodebuild[80532:1543775]数据设备套件:6AA0C9719A85C174869A096566237B42F237001A91中的设备类型为空
2019-10-01 05:54:27.643 xcodebuild[80532:1543780]数据设备套件:023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4中的设备类型为空
2019-10-01 05:54:28.935 xcodebuild[80532:1543771][MT]DTDeviceKit:023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4中的设备类型为空
2019-10-01 05:54:28.944 xcodebuild[80532:1543771][MT]DTDeviceKit:023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4中的设备类型为空
2019-10-01 05:54:28.951 xcodebuild[80532:1543771][MT]DTDeviceKit:023ad015ab9ce7b62b0a4e86af10805b3ef8fdb4中的设备类型为空
**生成失败**Xcode的输出:↳
/Users/earyzhe/dev/flatterprojects/Mini exercises/Firebase Projects/Firebase_compile_test/ios/Pods/Protobuf/objectivec/google/Protobuf/Wrappers.pbobjc.m:17:10:警告:文件“”的非可移植路径;指定的路径在大小写上与磁盘上的文件名不同[-Wnonportable include path]
#进口
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
生成1个警告。
/Users/earyzhe/dev/flatterprojects/Mini exercises/Firebase Projects/Firebase_compile_test/ios/Pods/Protobuf/objectivec/google/Protobuf/Type.pbobjc.m:19:10:警告:文件“”的非可移植路径;指定的路径在大小写上与磁盘上的文件名不同[-Wnonportable include path]
#进口
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/earyzhe/dev/platterprojects/Mini exercises/Firebase Projects/Firebase_compile_test/ios/Pods/Protobuf/objectivec/google/Protobuf/Type.pbobjc.m:20:10:警告:文件“”的非可移植路径;指定的路径在大小写上与磁盘上的文件名不同[-Wnonportable include path]
#进口
^~~~~~~~~~~~~~~~~~~~~~~
/Users/earyzhe/dev/flatterprojects/Mini exercises/Firebase Projects/Firebase_compile_test/ios/Pods/Protobuf/objectivec/google/Protobuf/Type.pbobjc.m:21:10:警告:文件“”的非可移植路径;指定的路径在大小写上与磁盘上的文件名不同[-Wnonportable include path]
#进口
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
生成3个警告。
/Users/earyzhe/dev/flatterprojects/Mini exercises/Firebase Projects/Firebase_compile_test/ios/Pods/Protobuf/objectivec/google/Protobuf/Timestamp.pbobjc.m:17:10:警告:文件“”的非可移植路径;指定的路径在大小写上与磁盘上的文件名不同[-Wnonportable include path]
事实上,这种情况还会持续100行左右,基本上重复同样的内容。


我非常感谢您的帮助,因为这会阻止产品发布,并且在任何地方都找不到解决方案

尝试不指定版本号,只需输入任何