找不到Plugin.h文件:flutter和xcode

Bisclavret

当我尝试在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的屏幕截图:

在此处输入图片说明

Bisclavret

最后,我在另一个论坛中找到了解决此问题的方法:

好像是通过双击Runner.xcworkspace而不是Runner.xcodeproj来打开项目,xcode最终可以弄清所有内容。

我试过了,它确实有效。现在,我的应用将运行一个新错误(当然是因为):

malloc: can't allocate region securely

但是,我将对此提出一个新问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

找不到文件.h xcode

来自分类Dev

Xcode:找不到“RegisterMonoModules.h”文件

来自分类Dev

Wordpress:activate_plugin函数找不到文件

来自分类Dev

Wordpress:activate_plugin函数找不到文件

来自分类Dev

Xcode 找不到 .h 文件“找不到 ABC.h 文件”

来自分类Dev

使用Cocoapods和Xcode找不到AWSCognitoIdentityService.m FABKitProtocol.h文件

来自分类Dev

找不到文件tidy.h和buffio.h

来自分类Dev

Xcode-找不到'openssl / opensslconf.h'文件

来自分类Dev

找不到Restkit / Restkit.h文件Xcode 6.1

来自分类Dev

在XCode 4上找不到wx / setup.h文件

来自分类Dev

XCode-iOS-找不到<OCMock / OCMock.h>文件

来自分类Dev

#import在Xcode(版本6.3)中找不到.h文件

来自分类Dev

#import在Xcode(版本6.3)中找不到.h文件

来自分类Dev

在xcode 7中找不到facebooksdk.h文件错误

来自分类Dev

找不到库.h文件

来自分类Dev

突然找不到文件XCode

来自分类Dev

Xcode找不到源文件

来自分类Dev

Flutter TFLite错误:找不到“ metal_delegate.h”文件

来自分类Dev

找不到这样的文件和目录Xcode 7

来自分类Dev

Xcode找不到Mogenerator

来自分类Dev

Xcode找不到SpriteKit?

来自分类Dev

maven-enforcer-plugin抱怨我在pom.xml文件中找不到依赖项

来自分类Dev

thunar-archive-plugin-无法提取文件:找不到合适的存档管理器

来自分类Dev

找不到mkdir,找不到文件

来自分类Dev

找不到mkdir,找不到文件

来自分类Dev

找不到Flutter iOS MobileFFmpegConfig.h

来自分类Dev

Xcode中找不到Flutter模块

来自分类Dev

找不到“算法”文件

来自分类Dev

找不到清单文件