iOS packaging fails with "PhysX" and "APEX" modules

Hm… This answer should not be marked as correct because the main question: why it works on Android and doesn’t work on iOS? And it is still unanswered.