Environment Variable not set: ARCHS || getting error in apple m1

Getting this XCODE error in Apple M1 System. Xcode version - 12.4. Reproduce issue- Cloning application from Git Update Carthage file Getting error- Could not find module Alamofire for target 'x86_64',- apple -ios -simulator After Excluding x86_64 architecture getting error - Module 'Alamofire was created for incompatible target arm64-ios 10.0 6.after excluding arm64 architecture this error I am getting please help me to short out this issue.

Environment Variable not set: ARCHS || getting error in apple m1
 
 
Q