Has anyone been rejected by apple reviewers for these reasons?

Some reason

  • Guideline 2.3.1 - Performance
    We discovered that your app contains hidden features. Specifically, this app contains a switch which causes it to behave differently during the review process for remote Javascript downloading and other feature presentation.
  • Guideline 2.5.2 - Performance - Software Requirements
    Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement.
    This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to users of your app.

Are the above reasons related to hot update? my app doesn’t use it

You can directly reply to the reviewer that you have not used the hot update function, which is built into the game engine. If it still doesn’t work, remove the hot update function of the engine.

Thanks for reply @260608586. How to remove hot update function of the engine ?

custom engine

Should i comment some code related to “remoteManifestUrl”, “remoteVersionUrl” ?

I don’t think there is a need to customize the engine, you can refer to these examples