ios – Random Issues with AppDelegate File related to move from Intel to M1 Chip


I’ve been having a hell of a time moving a code base from an old intel macbook to a newer m1 chip macbook. I’ve jumped through many hoops and finally got the code to compile after removing all cocoapods and switching to swift manager.

Per screenshots, now that I’m in the iphone simulator and testing out various screens, I’m having random bugs pop up in my AppDelegate file that just don’t make any sense and were not an issue on my intel macbook at all. I’ve tried a 100 architecture setting changes and nothing is helping.

FYI – I’m trying my best to get this all working on Xcode version 15.0.1 as I’d like to code going forward on their latest platform.

I get this below error for either of the errors I have in the screenshots:

warning: Module “/usr/lib/system/libsystem_kernel.dylib” uses triple “arm64-apple-macosx13.6.0”, which is not compatible with the target triple “arm64-apple-ios16.0.0-simulator”. Enabling per-module Swift scratch context.

enter image description here
enter image description here


Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top