Q:

Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs

I am building a hybrid app using ionic and when I try to upload it to the app store, it gives me this error

Couldn't find platform family in Info.plist CFBundleSupportedPlatforms
  or Mach-O LC_VERSION_MIN for phantomjs

Has anyone encountered the same issue and found out how to fix it?
I suspect it comes from one the plugins or the node_modules that I use in my project that are causing the error..

A:

Had the same error, in my case the problem was that I had some DSYM files among my bundle resources.
Fixed it by removing all .DSYM files form Copy Bundle Resources build phase.
More info on this thread: https://github.com/Alamofire/Alamofire/issues/823

