update ios to read the target from the environment config if needed