ern run-ios
--baseComposite <compositePath>
--descriptor, -d
--dev [true|false]
--extra/-e
iosConfig
attributes--extra '{"iosConfig": {"deploymentTarget": "11.0"}}'
--extra /home/user/my-container-config.json
--extra cauldron://config/container/my-container-config.json
package.json
of the MiniApp, inside the ern
object. For example:preBundle
hook, it will be executed after the composite generation, prior to running metro bundler, from the directory containing the generated composite project. --extra '{"containerGenerator": {"hooks": {"preBundle": "/workspace/ern/picking-miniapp/script/pre-script.sh"}}}'
--extra <path>/container-config.json
--extra cauldron://config/config.json
postBundle
hook, it will be executed just after metro bundler has been run, from the directory containing the bundle.--extra '{"containerGenerator": {"hooks": {"postBundle": "/workspace/ern/picking-miniapp/script/post-script.sh"}}}'
--extra <path>/container-config.json
--extra cauldron://config/config.json
--host
ipconfig getifaddr en0
command, and fallback to localhost
in the case the command fails.--launchArgs
Arguments Passed On Launch
in application scheme run config in Xcode as can be seen on screenshot below).=
on the command line to provide this option, and keep the string in quotes. For example --launchArgs="-ArgA -ArgB"
--launchEnvVars
Environment Variables
in application scheme run config in Xcode as can be seen on screenshot below).=
on the command line to provide this option, and keep the string in quotes. The string should contain key=value
pairs delimited by spaces. For example --launchEnvVars="aKey=aValue anotherKey=anotherValue"
--mainMiniAppName
--miniapps/m
--port
--usePreviousDevice/-u
ern run-ios
command for this MiniApp), the existing runner project is used.ern run-ios
command is issued, the project and your changes will remain.ern run-ios
command is the ern
equivalent of the react-native run-ios
command.