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

Categories

0 votes
1.1k 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 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...