Ionic platform add iOS and ionic build iOS doesn't work correctly. al plugins are not compiled when opened in Xcode to ionic platform add iOS and ionic build iOS doesn't work correctly. all plugins are not compiled when opened in Xcode

So i am running my project and each time i do ionic build iOS. sometimes some of my cordova plugins do not compile and appear on the iOS/Project Name/Plugins folder. And in the event whereby they all compile, when i open the built xcodeproject, in the Plugins folder, it doesn’t compile all the plugins and some are left out. I have tried various things.

i have deleted my ios.json file in my ProjectName/plugins folder as suggest and done ionic platform remove ios and then ionic platform add iOS but still no avail, i have repeated the same process but with cordova platform remove iOS and cordova platform add ios but still no luck.

Thought maybe something wrong with my Xcode. I am now using
xcode 7.1,
ionic -v 1.6.5.
cordova 3.9.1
Sox El capitan 10.11
but it is also still happening.

at all times, the plugin cordoba-plugin-whitelist never gets compiled to the ios/Project name/Plugins folder. I have also tried rebuilding the project but still same issues. All works fine on Android. only ios having issues.

Did you fix this?
I Have the same problem.