I’m unable to build an app when I use the IronSource plugin due to encountering issues with Cocoapods on my Mac M1.
I tried uninstalling and installing Cocoapods.
I tried running the following on the Xcode build directory:
sudo arch -x86_64 gem install ffi
and then
arch -x86_64 pod install
I tried adding in the Xcode project the new line ‘$(inherited)’ in: Build Settings > Other linker flags.
In the terminal I can see that everything was installed correctly (pod --version) with Cocoapods version: 1.15.2.
Please find the attached screenshots that show the two errors I receive, both in Unity after the build and in Xcode after trying to build but it fails.
IronSource is a Unity plugin, how come this doesn’t work out of the box?
I see many people struggled with this issue, but I couldn’t find a solution that worked for me.
And idea of what should solve this?
Thanks in advance!