Search code examples
iosfacebookios-simulator

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


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 simulator build of your iOS app, and not an .ipa file? I'm reviewing your submission in an iOS simulator that needs your app to be built following these instructions: (.zip) https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review" But i was enable to create .zip file of simulator build. and i tried below steps also

Step 1: open finder and press option+ shift+g
Step 2: paste "~/Library/Developer/Xcode/DerivedData"
Step 3: select my_app-jkfksdfhskdhfksdh some this like this folder
Step 4: my_app-jkfksdfhskdhfksdh >>Build >>Products>>Debug-iphonesimulator
Step 5: I see 2 file one is my_app(icon like rounder and 1 cross line ) and 2nd file is my_app.app.dsym

Solution

  • In my case ,i use the below command to build zip file ditto -ck --sequesterRsrc —-keepParent “source" "destination"

    where source is /Users/home/Library/Developer/Xcode/DerivedData/yourapp.../Build/Products/Debug-iphonesimulator/yourapp.app

    and destination is where you save the .zip file.

    enter image description here