简体   繁体   English

应用程序在模拟器上完美运行,但不能在物理设备上运行 [在 iOS 13.3.1 上]

[英]App runs perfectly on simulators but not on physical devices [on 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 :-该应用程序在每个模拟器上都能完美运行,但是当我尝试在物理设备上运行它时,它显示以下错误:-

在此处输入图片说明

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我还尝试在 iPhone 6、iPhone 7 和 iPhone 11 等各种物理设备上运行它。之后我得出的结论是,该错误发生在运行 iOS 13.3.1 版本的设备上,因为 App 只能在 iPhone 6 上成功运行在 iOS 12.4.4 上运行

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.我还尝试在相同的物理设备上运行新项目,但它一直向我显示空白屏幕(在 iOS 13.3.1 上运行的设备上),如果我在该新项目中安装了任何框架,那么它会显示与图像中显示的相同的错误。

I already tried:我已经尝试过:

  • cleaning project清洁工程
  • restarting project重启项目
  • restarting Mac重新启动 Mac
  • reinstalling Xcode重新安装Xcode

In Alamofire issue tracker peoples are suggesting that doing these steps:Alamofire 问题跟踪器中,人们建议执行以下步骤:

  • remove/comment use_frameworks!删除/评论use_frameworks! in Podfile在 Podfile 中
  • add use_modular_headers!添加use_modular_headers! in Podfile在 Podfile 中
  • pod update豆荚更新
  • pod install吊舱安装
  • clean and run清理并运行

solves the issue with using free Apple ID on iOS 13.3.X解决了在 iOS 13.3.X 上使用免费 Apple ID 的问题

This appears to be a known issue, and most people say it is a problem with using a non-paid Apple ID.这似乎是一个已知问题,大多数人都说这是使用非付费 Apple ID 的问题。 Some kind of provisioning thing.某种配置的东西。

https://github.com/Alamofire/Alamofire/issues/3051 https://github.com/Alamofire/Alamofire/issues/3051

Apple blocked utilizing external frameworks on free accounts with 13.3.1 upgrade. Apple 在 13.3.1 升级后阻止在免费帐户上使用外部框架。 Try downgrading to 13.3.尝试降级到 13.3。

Reference and solution here: Library not loaded: @rpath/FBLPromises.framework/FBLPromises iOS 13.3.1参考和解决方案: 库未加载:@rpath/FBLPromises.framework/FBLPromises iOS 13.3.1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ios应用程序可以在调试模式下完美运行,但在发行时崩溃 - ios app runs perfectly in debug mode but crashes in release iOS React Native 应用程序在测试中运行完美但在发布构建中崩溃 - iOS React Native app runs perfectly in testing but crashes in release build 为什么包含图像的launch.xib没有出现在ios 7模拟器中,并且在ios 8模拟器中运行良好 - Why launch.xib containing image is not appearing in ios 7 simulators and works perfectly in ios 8 simulators iOS 13.3.1 在 App 文件夹下显示 .sqlite 文件 - iOS 13.3.1 shows .sqlite file under App's folder Xcode 无法为 ios 13.3.1 设备构建 flutter 代码,但在 13.3 ios 模拟器上运行代码 - Xcode fails to build flutter code for ios 13.3.1 device but runs code on 13.3 ios simulator 如何在iOS 9模拟器之间转移应用 - How to transfer app between iOS 9 simulators 可以在没有实际设备或模拟器的情况下运行iOS UI自动化吗? - Can iOS UI Automation be ran without real devices or simulators? iOS链接到专为真实设备而非模拟器设计的库时出错 - iOS Get errors in linking libraries that are designed for real devices not simulators 应用程序不能在模拟器或存档上运行,设备可以工作 - App doesn't run on simulators or archive, devices work 渲染的海边重定向在物理 iOS 设备上不起作用 - Seaside redirect for render not working on physical iOS devices
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM