xCode pods problem when building for iOS

A warning:

 Target 'Pods-Unity-iPhone' of project 'Pods' was rejected as an implicit dependency for 'libPods-Unity-iPhone.a' because its architectures 'armv7' didn't contain all required architectures 'armv7 arm64'

That ends up in this error:

 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am getting crazy. Where the hell can I set this in Unity? If it’s not possible then what to do?
Is this an error from Unity?

The issue, doesn’t matter how I set up the project, was unsolvable in xCode.

The solution is, simply, to switch from Mono2x to IL2CPP in the player settings in the Unity editor.

PS: Lately I am doing monologues on this Q&A…