Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/113.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和WatchOS上的红蜘蛛-Cocoapods_Ios_Swift_Cocoapods_Watchkit_Starscream - Fatal编程技术网

iOS和WatchOS上的红蜘蛛-Cocoapods

iOS和WatchOS上的红蜘蛛-Cocoapods,ios,swift,cocoapods,watchkit,starscream,Ios,Swift,Cocoapods,Watchkit,Starscream,我尝试在iOS和WatchOS上使用红蜘蛛和Cocoapod 这是我的播客文件: inhibit_all_warnings! def all_pods pod 'Starscream', '~>3.0.5' end target ‘ProjTest’ do platform :ios, '10.0' use_frameworks! all_pods end target 'ProjTestTests' do inherit! :search_paths e

我尝试在iOS和WatchOS上使用红蜘蛛和Cocoapod

这是我的播客文件:

inhibit_all_warnings!

def all_pods
    pod 'Starscream', '~>3.0.5'
end

target ‘ProjTest’ do
  platform :ios, '10.0'
  use_frameworks!
  all_pods
end

target 'ProjTestTests' do
    inherit! :search_paths
end

target 'ProjTestUITests' do
   inherit! :search_paths
end

target 'ProjTestWatch' do
  platform :watchos, '5.0'
  all_pods
end
我已经在应用程序上使用了一个类SocketManager,我只想在watchApp目标上使用同一个类,但我得到的唯一错误是:
导入行上没有这样的模块“红蜘蛛”


对我来说最奇怪的是,如果im在监视目标上查看
框架搜索路径
,以及
标题搜索路径
,它们都是空的。但如果我尝试与iOS应用程序目标相同。然后放入一个
$(继承的)
,他们从iOS应用程序继承libs。

您是否尝试过“使用框架!”对于watchos目标?添加、pod安装、清理和构建是的,已经尝试使用\u框架!,还是同样的错误