it also looks like you are maybe using an m1 and trying to build for simulator which means you are running into architeture issues. For a quick workaround turn on rosetta for xcode and simulator so that it doesn't try to build everything as arm64 architecture for the sim
Undefined symbol: _OBJC_CLASS_$_AEPMobileCore means that the library is not linked try to go into the "build phases" section of the target's settings in xcode and ensure that under 'link binary with libraries' that the AEP libraries are listed there