How to generate iPhone simulator build or .zip file for submit in Facebook for review in iOS

前端 未结 7 580
慢半拍i
慢半拍i 2021-02-01 08:03

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

7条回答
  •  执念已碎
    2021-02-01 08:41

    1. 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
      

    1. 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
      

提交回复
热议问题