I’m trying to use the “before_compile” cordova hook to fix an bug with a plugin. It’s working on my mac when I run “ionic cordova build ios” but when I run it through Ionic Pro, it looks like it never gets triggered. I think it’s because it’s using xcode to compile with the gym step (I’m guessing. I’m not very familiar with Mac and iOS development). So, does that mean I can’t run the cordova hooks? Is there something I can do instead?
I was able to solve this myself. Looks like cordova hooks have to be outside the platform tags. So, if it needs to be platform specific, make the hook itself check.