Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter; Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb0e27a0) and ?? (0x1162f02b8)

Running pod install...                                              1.6s
Running Xcode build...                                                  
Xcode build done.                                            7.6s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[9381]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb0e27a0) and ?? (0x1162f02b8). One of the two will be used. Which one is undefined.
    objc[9381]: Class AMSupportURLSession is implemented in both ?? (0x1eb0e27f0) and ?? (0x1162f0308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.

I have tried deleting the bin/cache folder as well, and it has not worked. Running on an M1 Mac.

like image 443
yvngaayush Avatar asked Dec 01 '25 09:12

yvngaayush


1 Answers

In my case I solved the problem by removing a Firebase library I was using for the storage on the web. It was conflicting with the iOS version for some reason.

like image 125
Mathis Fouques Avatar answered Dec 04 '25 00:12

Mathis Fouques



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!