Ionic state restore didnt update the hooks directory to have execute permissions

Hi Team! I’m using ionic state to restore my platforms and plugins, I got the logs below:

Attempting to restore your Ionic application from package.json

Restoring Platforms

cordova platform add ios

Restore platforms is complete
...

and when I run ionic build ios, I got an error. after some searching on google, I found the reason, cordova platform add ios didn’t update the hooks directory to have execute permissions.

ionic version 1.0.1

Thanks so much!