The meteor tools should be checking these version numbers at the start and giving out a user-friendly error message. Too many developers are tripping on these version mismatches (a few from our team did). And with such errors, we are only seeing the tip of the iceberg or those who have time to post and ask questions. There is a big majority who are getting the errors and cannot proceed and just move on to another framework.
Ok, now that you are confident Meteor is running in the right environment, it look that your issue is not Meteor related :).
You would probably need to check your Mac M1 configurations, XCode environment and maybe find something valuable here: Failed to initialize client contex… | Apple Developer Forums.
What I can say, same as the other mention above, I have 0 problems building both Android and IOS with a Mac Mini M1.
@osrl ok I can confirm everything works fine.
Some mentions: I use Meteor without Rosetta, I built my app this time for IOS13.6 and IOS 15.5 with XCode 13.0 - compatible.
I use Meteor build ios-device (instead of meteor build ios) so I can get XCode pop up and from there I push to device or Simulator.
okay, I can confirm that adding arm64 to excluded architectures (all three projects in the workspace) caused this. I add it because of OneSignal. It’s only built with that option for simulator. I get the following error when I try to run on simulator if I don’t:
ld: in /blabla/ios/project/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/blabla/ios/project/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal'
By the way I build the app using this: meteor build ../release --server https://foo.com --mobile-settings ./foo-settings.json --platforms=ios