2

I am using 2 dependencies in my pubspec.yml

  1. Zoom pub.dev link

  2. Razorpay pub.dev link

Zoom requires to disable the bitcode for the app and razorpay needs to enable the bitcode settings. How to solve this problem?

Tomerikoo
  • 18,379
  • 16
  • 47
  • 61
Shivam Chaurasia
  • 119
  • 2
  • 11

1 Answers1

0

Bitcode is only an additional option which will enable them to downsize the app wherever required. Razorpay will still work even if you dont enable bitcode settings for iOS.

Kaushik Chandru
  • 15,510
  • 2
  • 12
  • 30
  • According to this pub.dev link: Note for iOS: Make sure that the minimum deployment target for your app is iOS 10.0 or higher. Also, don't forget to enable bitcode for your project. And also, the changes are not working – Shivam Chaurasia Oct 20 '21 at 17:16
  • What's the current deployment target? – Kaushik Chandru Oct 20 '21 at 18:37
  • Kauhik is right add the bitcode in your podfile your app will run fine with razor pay and zoom. Keep the minimum deployment target 12 there's no need to drop it to 10 or 11 cause even older iphones 5s/6/6s do can run ios 12. Keeping it to 12 will ensure you no incompatibility problem in any dependency persist. – Ahmad Hassan Oct 21 '21 at 17:37
  • I tried enabling the bitcode and setting the deployment target to 12 but the build failed with same error – Shivam Chaurasia Oct 25 '21 at 17:14
  • Can you post the error please? – Kaushik Chandru Oct 25 '21 at 17:29