应用可以在模拟器上完美运行,但不能在物理设备上运行[在iOS 13.3.1上] [英] App runs perfectly on simulators but not on physical devices [on iOS 13.3.1]

查看:140
本文介绍了应用可以在模拟器上完美运行,但不能在物理设备上运行[在iOS 13.3.1上]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该应用程序可以在每个模拟器上完美运行,但是当我尝试在物理设备上运行该应用程序时,它显示以下错误:-

The app runs perfectly on every simulator but when I try to run it on a physical device , it shows the following error :-

我还尝试在各种物理设备(例如iPhone 6,iPhone 7和iPhone 11)上运行它. 之后,我得出结论,该错误是在运行iOS 13.3.1版本的设备上发生的,因为App仅在运行于iOS 12.4.4的iPhone 6上成功运行

I also tried to run it on various physical devices like iPhone 6 , iPhone 7 and iPhone 11. After that I came to a conclusion that the error is occurring on devices running on version of iOS 13.3.1 as App only runs successfully on iPhone 6 which is running on iOS 12.4.4

我也尝试在相同的物理设备上运行新项目,但它始终向我显示空白屏幕(在运行iOS 13.3.1的设备上),如果我在该新项目中安装了任何框架,则显示的错误与镜像所示相同.

I also tried to run new project on same physical devices but it keeps showing me blank screen (on devices running on iOS 13.3.1) and if I install any framework in that new project then it's showing same error as shown in image.

我已经尝试过:

  • 清洁项目
  • 重新启动项目
  • 重新启动Mac
  • 重新安装Xcode

推荐答案

Alamofire问题跟踪器人们建议执行以下步骤:

In Alamofire issue tracker peoples are suggesting that doing these steps:

  • 在Podfile中删除/注释use_frameworks!
  • 在Podfile中添加use_modular_headers!
  • pod更新
  • pod安装
  • 清理并运行
  • remove/comment use_frameworks! in Podfile
  • add use_modular_headers! in Podfile
  • pod update
  • pod install
  • clean and run

解决了在iOS 13.3.X上使用免费Apple ID的问题

solves the issue with using free Apple ID on iOS 13.3.X

这篇关于应用可以在模拟器上完美运行,但不能在物理设备上运行[在iOS 13.3.1上]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆