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:
- Alamofire
- IQKeyboardManager
- NVActivityIndicatorView
- FillableLoaders
- SQlite.Swift
- SDWebImage
- SwiftDataTables
I've already applied the following solutions for the main project and all pods projects:
- Upon updating pods, clean build folder (using Shift + Command + K)
- Excluding arm64 architecture for 'Any iOS Simulator SDK' from Excluded architectures
- Set 'YES' to 'Build Active Architecture Only'
- There is no field called 'VALID_ARCHS' in the User-Defined section
- Solution provided over Medium
You can see Error details on this screenshot.
Note
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.