Q:

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

I am trying to build IOS app in ionic using ionic build ios The build is success. But when I use Xcode to deploy my App to apple store it is showing me above mentioned error.
I have gone through many github and stackoverflow issues but none of them worked for me. List of things I have tried:

Remove all .DSYM files
Add > CFBundleSupportedPlatforms as array and MacOSX as string to my info.plist
Removing all the Elements in my > Copy Bundle Resources
Clean project before building and the clicking archive option

Some of the links I found result:

https://github.com/Alamofire/Alamofire/issues/823
Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs

But none of these worked for me. I tested my app to my phone it is working properly but could not upload to apple store. 

There is no plugin installed in my Framework as sqlite but on
  Validating it shows error with sqlite

Any help would be appreciated.

A:

After spending so many hours, I solved it by deleting a file which in my www/lib folder with name sqlite, this was the part of some other library I was using and it was showing me this file even before I starting validating. Might help some one with same problem.

