【发布时间】:2020-07-04 02:10:14
【问题描述】:
当我尝试在 xcode 中运行我的项目时,我收到以下错误:
'auto_orientation/AutoOrientationPlugin.h' file not found.
如果我删除此插件,它将转到下一个插件并在该插件的 .h 文件上失败,依此类推每个插件。
以前,此问题仅在我尝试制作存档时才会发生,但它始终可以正常运行。现在它甚至不会运行。
关于这个有很多线程,我已经浏览了这些线程,但到目前为止找不到任何有效的建议。
Pubspec.yaml 文件,根据要求:
name: app_name
description: My application.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 6.0.0
environment:
sdk: ">=2.3.0-dev.0.5 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: 0.1.2
firebase_admob: 0.5.5
screen: 0.0.5
image_picker: 0.6.1
firebase_auth: 0.11.1+7
shared_preferences: 0.4.3
rflutter_alert: 1.0.2
url_launcher: 5.0.3
in_app_purchase: 0.2.0
firebase_dynamic_links: 0.4.0+4
app_review: 1.1.0+1
auto_orientation: 1.0.4
vibration: 1.2.1
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
assets:
- lib/images/
- lib/images/example1.png
- lib/images/example2.png
- lib/images/example3.png
uses-material-design: true
Cenk 的屏幕截图:
【问题讨论】:
-
用于说明我尝试不同解决方案、阅读不同论坛等的时间长度。给出的答案可能不是一个简单的答案,并且可能需要一些“外部box' 类型的解决方案(正如该线程中的最终答案所证明的那样)。所以不,“halfer”,这在任何意义上都没有用,而且是故意无故责骂。
-
我理解您的沮丧,如果我的语气显得过于严厉,我深表歉意(我自己也说不出来)。但我敢肯定,您所说的意思会被一些读者理解为乞求。这个解释过程不在你的掌控之中——这是人类交流的一个诅咒,语言意味着它们是如何被听到的,而不是它们的含义。
-
毫无疑问,一个有用的观察是我们在这里得到了很多乞求。各种紧急情况,尽快,即将失去工作,跪在地板上,哭泣,扯掉头发,我很绝望,我无能为力,以及其他各种淫秽的情感胁迫。我还注意到它在某些文化中比其他文化更常见。我提到它的原因 - 很多 - 是它最终以不适合志愿者的方式向读者施加压力。