Using ACF get_field() in TF themes

I’m facing an issue with using ACF plugin’s get_field() function in my theme for TF. get_field() is not available when the theme is freshly activated and ACF plugin is not activated. So, it throughs an error Fatal error: Call to undefined function get_field() on fresh install. How to resolve this?

I’ve described the issue in detail here: