Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/100.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/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_Ionic Framework_Node Modules - Fatal编程技术网

电容器iOS同步失败与离子

电容器iOS同步失败与离子,ios,ionic-framework,node-modules,Ios,Ionic Framework,Node Modules,我正试图为iOS生成一个捆绑包,但是POD抛出了这个错误。 我95%肯定这是插件的问题,但我无法解决 我试着重新安装播客,重新创建ios。 我在mac上用新的m1做 ✔ 在25.89ms中更新Android插件 找到2个适用于android的电容器插件: @电容器社区/保持清醒(1.0.0) 电容器保持屏幕打开(1.0.0-alpha.6) 找到6个android Cordova插件 cc.fovea.cordova.purchase(10.1.1) cordova插件设备(2.0.3) cor

我正试图为iOS生成一个捆绑包,但是POD抛出了这个错误。 我95%肯定这是插件的问题,但我无法解决

我试着重新安装播客,重新创建ios。 我在mac上用新的m1做

✔ 在25.89ms中更新Android插件

找到2个适用于android的电容器插件: @电容器社区/保持清醒(1.0.0) 电容器保持屏幕打开(1.0.0-alpha.6) 找到6个android Cordova插件 cc.fovea.cordova.purchase(10.1.1) cordova插件设备(2.0.3) cordova插件文件(6.0.2) cordova插件文件传输(1.7.1) cordova插件(5.4.7) cordova插件白名单(1.3.4) 在这里输入代码

✔ 在65.89毫秒内更新android

✔ 在8.94ms中更新iOS插件 找到2个ios电容器插件: @电容器社区/保持清醒(1.0.0) 电容器保持屏幕打开(1.0.0-alpha.6) 找到5个用于ios的Cordova插件 cc.fovea.cordova.purchase(10.1.1) cordova插件设备(2.0.3) cordova插件文件(6.0.2) cordova插件文件传输(1.7.1) cordova插件(5.4.7) ⠋ 使用“pod i”更新iOS本机依赖项⠙ 使用“pod i”更新iOS本机依赖项⠹ 使用“pod i”更新iOS本机依赖项⠸ 使用“pod i”更新iOS本机依赖项⠼ 使用“pod i”更新iOS本机依赖项⠴ 使用“pod i”更新iOS本机依赖项⠦ 使用“pod i”更新iOS本机依赖项⠧ 使用“pod i”更新iOS本机依赖项⠇ 使用“pod i”更新iOS本机依赖项⠏ 使用“pod i”更新iOS本机依赖项

✖ 使用“pod安装”更新iOS本机依赖项(可能需要几分钟):

✖ 更新ios: [错误]分析依赖项

――标记模板――――――标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记模板―标记

命令 报告
  • 你做了什么

  • 你以为会发生什么

  • 发生了什么事

堆栈 插件 播客文件
平台:ios,“11.0”
使用你的框架!
#避免Xcode缓存需要
#产品->安装新Cordova插件后清理构建文件夹
#需要CocoaPods 1.6或更新版本
安装cocoapods',:禁用输入输出路径=>true
def电容器吊舱
#自动电容器盒依赖项,不删除
pod“电容器”,路径=>'../../node_modules/@capactor/ios'
pod'CapacitorCordova',:path=>'../../node_modules/@capacitor/ios'
pod'CapacitorCommunityKeepAwake',:path=>“../../node_modules/@capacitor community/keep awake”
pod“CapacityWorkedEpsCreenon”,路径=>'../../node_模块/电容器保持屏幕打开'
pod'CordovaPlugins',:path=>“../cordovaIOS插件”
#不删除
结束
目标“应用程序”是什么
电容器吊舱
#把你的豆荚放在这里
结束
错误
外国金融机构创业板似乎还不支持M1芯片

从brew卸载cocoapods,然后尝试在rosetta模式下运行终端。右键单击终端,获取在rosetta中运行的信息。然后通过键入以下内容从那里安装ffi gem:

sudo gem install ffi
然后继续安装cocoapods和

sudo gem install cocoapods
最后

pod install
之后,您可以将终端返回到本机,也可以复制应用程序并保持一个本机和一个处于rosetta模式

LoadError - dlopen(/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ffi-1.14.2/lib/ffi_c.bundle, 0x0009): missing compatible arch in /opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ffi-1.14.2/lib/ffi_c.bundle - /opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ffi-1.14.2/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ffi-1.14.2/lib/ffi.rb:6:in `rescue in <top (required)>'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ffi-1.14.2/lib/ffi.rb:3:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/ethon-0.12.0/lib/ethon.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:74:in `cdn_url?'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:178:in `block in sources'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:177:in `map'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:177:in `sources'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:414:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:160:in `install!'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/gems/cocoapods-1.10.0/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/bin/pod:23:in `load'
/opt/homebrew/Cellar/cocoapods/1.10.0_2/libexec/bin/pod:23:in `<main>'
sudo gem install ffi
sudo gem install cocoapods
pod install