I'm a bit unclear on your exact question, so let me try to outline a few things for you in hopes that you'll identify your path forward from this information.
I need to upload and push to my mobile, but I can't b/c of the old software. I've moved the files to my wife's newer MacBook, but the app doesn't work.
It sounds like your iPhone is running a version of iOS that is newer than iOS 16.2. I'm picking iOS 16.2 there because that was the most recent version of iOS at the time Xcode 14.2 was released, and an older Xcode won't know how to talk to an iOS version that is newer than that. You should be able to take your Xcode project — which includes the Xcode project file, and all for resource code and assets — and open it in a newer versions of Xcode without an issue. I presume the Xcode version on your wife's Mac here is more recent than Xcode 14.2; however, depending on the iOS version of your iPhone, you may need to update that Xcode version even further. We have a table on this support page that explains the version combinations. The easiest advice there is to go to the latest released Xcode version (Xcode 16.4), or to the latest beta if your iPhone is on an iOS beta.
but the app doesn't work.
A different way of reading this is that you were able to build and run your project from the newer Mac to your iPhone just fine, but it doesn't work the way you expect. If that's the case, it's likely that you've identified a bug in your app, and you'll have to work on debugging the problem to understand what you can do to address it. If that's your situation and you're here to seek help with that, you can start a new thread on the forums here, and include as much detail as you can about the code and the issue you're trying to debug.
— Ed Ford, DTS Engineer