I'm facing a few issues when generating an iOS archive on my Mac Mini M1. In one project, it gives me an error for "camera avfoundation" and in another project, it gives "cloud_firestor," as mentioned in the following screenshots. But it's working fine on a MacBook Pro with an Intel chip. I am using the same code base on both the machines.
XCode Error:
Using this package:
camera: ^0.10.0+1
Using the following packages for another project:
firebase_core: ^2.3.0
firebase_auth: ^4.1.5
firebase_storage: ^11.0.6
cloud_firestore: ^4.1.0
Xcode version : 14.2 (Same on both machines)
OS version: 12.5 (Same on both machines)
Xcode Info : Open using Rosetta
Anyone facing this kind of issue when generating archive from Flutter project?
I tried almost all the related solution found on StackOverflow and Github. But no luck so far.
- Uninstalled and reinstalled pods
- Removed pod cache
- Regenerated & reconfigure iOS project
- Installed Rosetta related stuff