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..
I solved this issue by removing unneeded files in my project. Specifically I have a Cartfile
in my project and the Carthage
Folder reference so that I can easily access it.
I removed the folder reference but I kept the Cartfile
in my project. I made sure that the Cartfile
is not in my Copy Bundle Resources
build phase. One of these 2 fixed my problem.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With