DX: Speeding up Kepler Build phase by build only one Arch during development

:backhand_index_pointing_right: Bug Description


1. Summary

Hey it will be great to to improve CLI and add support for --active-arch-only params
and app arch will be based on connected device: simulator or read device

see: Speeding up your Build phase · React Native

App Name: Directv

Bug Severity
Select one that applies

  • Impacts operation of app
  • Blocks current development
  • Improvement suggestion
  • Issue with documentation (If selected, please share the doc link and describe the issue)
  • Other

2. Steps to Reproduce

Add in package.json

{
  "kepler": {
    "targets": ["tv"],
}

Run

# connect your real device
# run the build
yarn react-native build-kepler --active-arch-only

3. Observed Behavior

error: unknown option '--active-arch-only'

4. Expected Behavior

Only one arch will be build for real device (4kmax_g1_vega)

Hi @DVD

You can try building your app using
npx react-native build-kepler --target 4kmax_g1_vega
I tried building my app using --active-arch-only however, I got an error stating Android project not found.
I searched a little and came to understand that --active-arch-only is used for Android builds only.

Warm regards,
Ivy