App runs perfectly on simulators but not on physical devices [on iOS 13.3.1]

纵饮孤独 提交于 2020-03-15 08:19:46

问题


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

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.

I already tried:

  • cleaning project
  • restarting project
  • restarting Mac
  • reinstalling Xcode

回答1:


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

  • remove/comment use_frameworks! in Podfile
  • add use_modular_headers! in Podfile
  • pod update
  • pod install
  • clean and run

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




回答2:


This appears to be a known issue, and most people say it is a problem with using a non-paid Apple ID. Some kind of provisioning thing.

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




回答3:


Apple blocked utilizing external frameworks on free accounts with 13.3.1 upgrade. Try downgrading to 13.3.

Reference and solution here: Library not loaded: @rpath/FBLPromises.framework/FBLPromises iOS 13.3.1



来源:https://stackoverflow.com/questions/60014739/app-runs-perfectly-on-simulators-but-not-on-physical-devices-on-ios-13-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!