You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The run-bundled-codegen.sh script uses a bundled copy of node which is an Intel binary. This means that it cannot run on the new M1 Macs (without Rosetta), and fails with the following message:
env: node: Bad CPU type in executable
I believe that an easy fix is to upgrade the bundled Node.js version to a universal binary.
Versions
Please fill in the versions you're currently using:
apollo-ios SDK version: 0.39.0
Xcode version: 12.3
Swift version: 5.3.2
Package manager: 5.3.0
Steps to reproduce
Run the run-bundled-codegen.sh script on an M1 Mac.