2

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
Shivam Parmar
  • 1,520
  • 11
  • 27

3 Answers3

3

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

Shebuka
  • 3,148
  • 1
  • 26
  • 43
  • This is working for every user of Alamofire framework so it must work for you unless you are using other frameworks like SQLite.swift. – Shebuka Feb 04 '20 at 11:05
  • after this implementation i got Could not build objective-c module error in all pods how can i solve this . ? – Virani Vivek Apr 15 '20 at 06:40
  • You issue is so generic there is no way we can help you. Post a new question with detailed explanation of your setup. – Shebuka Apr 15 '20 at 20:39
1

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

flagoworld
  • 3,196
  • 2
  • 20
  • 16
1

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

liudasbar
  • 173
  • 4
  • 11