运行POD安装的错误。 iPhone 8上启动应用程序的错误

发布于 2025-02-12 09:21:34 字数 231 浏览 0 评论 0原文

运行我的应用程序后,我会得到此错误: 错误运行POD安装 在iPhone 8上启动应用程序的错误。

我已经尝试过: 删除行

#platform:ios,9.0

  1. sudo拱门-x86_64 gem install ffi

  2. ARCH -X86_64 POD install

任何帮助将不胜感激

After running my app I get this error:
Error running pod install
Error launching application on iPhone 8.

I've tried already:
Uncommenting the line

#platformform: iOS, 9.0

and

  1. sudo arch -x86_64 gem install ffi

  2. arch -x86_64 pod install

Any help will be appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

呢古 2025-02-19 09:21:34
  1. 删除PODS文件夹
  2. 从您的项目/iOS delete .symlink中
  3. /ios delete podfile.lock
  4. Run Arch -X86_64 POD安装
  5. ,然后尝试Flutter Run
  1. Delete pods folder from your project/ios
  2. Delete .symlinks from project/ios
  3. Delete podfile.lock
  4. Run arch -x86_64 pod install
  5. Then try flutter run
甜妞爱困 2025-02-19 09:21:34

请访问您的Podfile,您会注意到前几行包​​含以下信息。

# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

向下滚动并评论这三行。

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
 # target 'RunnerTests' do
 #   inherit! :search_paths
 # end

Please access your Podfile, and you will notice that the first few lines contain the following information.

# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

Scroll down and comment out these three lines.

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
 # target 'RunnerTests' do
 #   inherit! :search_paths
 # end
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文