YouTube App OAuth

So I am in the middle of the OAuth tutorial and I am importing Alamofire and SwiftyJSON. I get prompted with the following error.

Could not find module ‘Alamofire’ for target ‘x86_64-apple-ios-simulator’; found: arm64, arm64-apple-ios-simulator.

Can you please tell me what is wrong?

Ok so. There is a different problem in town.

in /Users/prathamhebbar/Desktop/Completed One-Day Builds/YouTubeApp/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(GIDEMMErrorHandler_3a47e13d8ca81b41e9cdb7ef5468004a.o), building for iOS Simulator, but linking in object file built for iOS, file ‘/Users/prathamhebbar/Desktop/Completed One-Day Builds/YouTubeApp/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn’ for architecture arm64

Can you please tell me what that error means and how I can fix it?

Thank you

Are you on an M1 Mac?

yes I am on an m1 mac.

When something is referring to this, it’s talking about the processor. Check if the packages are compatible with M1

1 Like

Thanks for the reply! Noted.