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

I didn’t try to use APEX features on Android, but I guess that it works on Android exactly as you described. And due to many crossdependecies between PhysX and APEX I think that it’s the best solution. So I can package PhysX and APEX (because standard PhysX headers require it) and I will have ability to use buiit-in PhysX header files on Android without any troubles. But on iOS I can’t do it the same way. I need to make my own physX headers and redefine standard macroses and variables as I described in my answer. Only after that I can try to use some PhysX features on iOS.