Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

swift - 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 :-

enter image description here

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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...