【问题标题】:flutter project failed to run on xcodeFlutter 项目无法在 xcode 上运行
【发布时间】:2022-01-13 18:54:37
【问题描述】:

我已经使用 android studio 在 mac 上创建了一个新项目,它仍然使用默认代码/p>

构建文件列表... rsync:link_stat “/Users/mac/AndroidStudioProjects/guide/build/ios/Debug-iphonesimulator/App.framework” 失败:没有这样的文件或目录(2)

据我从错误消息中了解到,这是与模拟器相关的问题,但模拟器运行良好

【问题讨论】:

    标签: ios xcode flutter


    【解决方案1】:

    有时来自 Xcode 的派生数据会导致这些问题。尝试清理 User/Library/Developer/Xcode/DerivedData 中的 Derived data 文件夹,然后转到 Xcode 并尝试 Product > Clean Build Folder 。在项目目录上运行flutter clean && flutter pub get && cd ios && pod deintegrate && pod install。然后在模拟器上运行应用程序。让我知道它是否适合您。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-25
      • 1970-01-01
      • 2019-01-24
      • 1970-01-01
      • 2022-06-20
      • 2021-04-10
      • 2018-03-14
      • 2022-01-19
      相关资源
      最近更新 更多