【问题标题】:can't start the Xcode project on a physical device [duplicate]无法在物理设备上启动 Xcode 项目 [重复]
【发布时间】:2020-10-13 08:58:56
【问题描述】:

我参加了有关 ios 开发的课程并想在我的设备上运行该应用程序,但结果却出现了这样的错误。该怎么办?提前致谢!

错误:

".app/Frameworks/FBLPromises.framework/FBLPromises: stat() 失败,errno=1"

【问题讨论】:

    标签: ios swift xcode device


    【解决方案1】:

    似乎在更新到 iOS 13.3.1 时,Apple 改变了免费苹果开发者帐户的行为,不再允许他们使用嵌入式框架。

    解决办法是去掉use_frameworks!在您的 Podfile 中并将其替换为 use_modular_headers!

    例如

    target 'your_project_name' do
    use_modular_headers!
    pod 'RealmSwift'
    

    结束

    【讨论】:

      猜你喜欢
      • 2014-05-05
      • 2020-11-10
      • 1970-01-01
      • 2022-06-20
      • 1970-01-01
      • 2016-11-28
      • 2021-08-05
      • 1970-01-01
      • 2021-07-14
      相关资源
      最近更新 更多