Creating custom dev client with eas build --local

I am trying to create a custom dev client for my app, so I can bundle native library code (react-native-firebase). It is a managed project, so I cant expo run:ios

I am building this locally(–local). Is this possible locally yet?

I read that it was possible on expo sdk 42.

I added a item for “development” in my eas.json with “developmentClient”: true, but it still builds the whole app instead of just the custom dev client.

Command:

eas build -p android --local --profile development

What am I missing?

{
“builds”: {
“android”: {
“release”: {
“buildType”: “apk”,
“credentialsSource”: “local”
},
“development”: {
“developmentClient”: true,
“distribution”: “internal”,
“credentialsSource”: “local”
}
},
“ios”: {
“release”: {
“credentialsSource”: “local”
},
“adhoc”: {
“distribution”: “internal”,
“credentialsSource”: “local”
},
“simulator”: {
“distribution”: “simulator”,
“credentialsSource”: “local”
},
“development”: {
“developmentClient”: true,
“distribution”: “internal”,
“credentialsSource”: “local”
}
}
}
}

You can run expo run:ios in a managed project :grinning_face_with_smiling_eyes:

what do you mean by ‘it builds the whole app instead of just the dev client’? The dev client is included in your app, but it is still the whole app