I can't build iOS Build on my Apple M1 MacBook?

I have 2 MacBookcomputer (Silicon and M1 apple). I can build iOS and Android build on my silicon computer fine and successful, tried it multiple times and it still works. It’s same project and same Unity Version for both computer and I am doing the same action for both. My silicon doesn’t have that much space so I rather do all my work on my M1 apple silicon. However, when I build iOS or android it fails, and I get this error “UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors”. I don’t know how to fix it. Nothing changed, same project but different computer. Why my builds fail, help me fix this please. Thank you!

Even I am not able to build on Mac M1, Can someone help.

I have a range of issues, I resolve one and another is raised. Currently stuck on file not found Firebase SDK.

Even if you do everything correctly, you can encounter issues because of the Firebase SDK. Each version of the SDK has some bugs. The best option in this situation is to downgrade the SDK version.

If you have problems with the Cocoapods, you can learn how to use the brew: https://brew.sh/ It makes it easy to install ruby, cocoapods etc.