Dynamic code patching
A shipped app has a critical bug and you can't wait for App Store review. Why did Apple ban dynamic code patching like the JSPatch that Chinese apps used to run, and how did they detect it?
A shipped app has a critical bug and you can't wait for App Store review. Why did Apple ban dynamic code patching like the JSPatch that Chinese apps used to run, and how did they detect it?
JSPatch ran JavaScript fetched from a server through JavaScriptCore and swapped existing methods with the Objective-C runtime (method swizzling and dynamic method addition). Apple banned it under review guideline 2.5.2 (no changing app behavior with downloaded code) and caught it with static analysis of uploaded binaries, looking for JSPatch symbols and the JSContext plus runtime API combination, then sent warning emails.
Build and distributionShort answerAdvanced
You're adding A/B experiments to the app. Where and how would you assign users? Describe…
#feature-flag #remote-config
Build and distributionShort answerAdvanced
You're about to make your first App Store submission. What would you check before you…
#app-review
Build and distributionShort answerAdvanced
The App Store has no rollback. What would you build into the release process to limit the…
#feature-flag
ArchitectureShort answerAdvanced
You need to improve the structure of a massive ViewController in a live UIKit order…
#feature-flag