Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.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
在iOS颤振插件的框架模块中包含非模块头_Ios_Swift_Flutter_Dart - Fatal编程技术网

在iOS颤振插件的框架模块中包含非模块头

在iOS颤振插件的框架模块中包含非模块头,ios,swift,flutter,dart,Ios,Swift,Flutter,Dart,我试图在我的TrsurveysPlugin.h中添加一个Obj-C头文件,但是它显示了错误- Include of non-modular header inside framework module 'trsurveys.TrsurveysPlugin': '/Users/arnav/Desktop/taprsurveys 在我的flatter插件中没有桥接头文件让我在其他地方调用它,这是我的podspec Pod::Spec.new do |s| s.name

我试图在我的
TrsurveysPlugin.h
中添加一个Obj-C头文件,但是它显示了错误-

Include of non-modular header inside framework module 'trsurveys.TrsurveysPlugin': '/Users/arnav/Desktop/taprsurveys
在我的flatter插件中没有桥接头文件让我在其他地方调用它,这是我的podspec

Pod::Spec.new do |s|
  s.name             = 'trsurveys'
  s.version          = '0.0.1'
  s.summary          = 'A new flutter plugin project.'
  s.description      = <<-DESC
A new flutter plugin project.
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.public_header_files = 'Classes/**/*.h'
  s.dependency 'Flutter'
  s.platform = :ios, '8.0'
  s.dependency 'TapResearch'
  s.static_framework = true
  # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
  s.swift_version = '5.0'
end
Pod::Spec.new do|s|
s、 名称='trsurveys'
s、 版本='0.0.1'
s、 summary='一个新的颤振插件项目'
s、 描述='email@example.com' }
s、 source={:path=>'.}
s、 源文件='Classes/***'
s、 public_头文件='Classes/***/*.h'
s、 依赖“颤振”
s、 平台=:ios,“8.0”
s、 依赖性“研究”
s、 静态框架=真
#flatter.framework不包含i386切片。仅支持x86_64模拟器。
s、 pod_target_xcconfig={'DEFINES_MODULE'=>'YES','VALID_ARCHS[sdk=iphonesimulator*]'=>'x86_64'}
s、 swift_版本='5.0'
结束

您好,您解决了吗?