I submit my_app.ipa file to Facebook but its rejected by Facebook. And send me this message \"Notes from our review team iPhone Can you please resubmit for review providing a si
Based on Facebook developer documentation, you just need the command below (remember to change your destination path).
ditto -ck --sequesterRsrc --keepParent `ls -1 -d -t ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app | head -n 1` path/to/YourApp.zip
To verify your build, install ios-sim package and run the command below (d is devicetypeid).
ios-sim launch /path/to/your-app.app -d iPhone-X