hanabi1224 / flutter_appcenter_bundle

MIT License
21 stars 48 forks source link

Can't build for Ios Simulator #47

Closed pgiacomo69 closed 3 years ago

pgiacomo69 commented 3 years ago

Flutter 2.5.3, XCode 13.1 Wen build for IOS Simulator, compilation fails with message from ld:

'..../Pods/Appcenter/ ld: in {MY App Path}/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter(MSAppCenter.o), building for iOS Simulator, but linking in object file built for iOS, file '{MY App Path}/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Already tried in XCode to exclude arm64 from building for Simulator, buth the error remains. Any Help?

pgiacomo69 commented 3 years ago

I'll answer to myself: befor I excluded arm64 architecture from "runner" project, doing the same on "pods" finally made it work.