Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter: User-Defined Issue (Xcode): Unsupported Swift architecture

I am trying to run my flutter app in ios via android studio, and i am encountering this error which i do not understand.

User-Defined Issue (Xcode): Unsupported Swift architecture

like image 670
aintno12u Avatar asked Oct 16 '25 05:10

aintno12u


1 Answers

I ran into this issue with the RevenuCat package. It turns out it was my fault all along. I had added the following code to my podfile a long time ago and forgot about it:

installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end

Removing this fixed the issue.

like image 139
Joe Muller Avatar answered Oct 18 '25 20:10

Joe Muller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!