I am developing an app with Xcode 13.0 (13A233) on Macbook with an M1 chip. After updating pods to the latest version, the pods are complaining about error
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Alamofire' from project 'Pods')
and not building for either real devices or simulators.
I'm including the following pods in the project:
I've already applied the following solutions for the main project and all pods projects:
You can see Error details on this screenshot.
I know that there are many answers related to these questions, but I've tried each of them, and when I am not able to resolve it with those, I am posting question here.
Finally, I was able to figure out the issue, and it was related to the version of the pod that was being used in code.
So, If you're still experiencing the same, I recommend to: