Bug report
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.
Bug report
The
run-bundled-codegen.shscript uses a bundled copy ofnodewhich is an Intel binary. This means that it cannot run on the new M1 Macs (without Rosetta), and fails with the following message: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-iosSDK version: 0.39.0Steps to reproduce
Run the
run-bundled-codegen.shscript on an M1 Mac.