Fix xcode warning that cause `getEngine` inline expansion