Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 617
Monika Patel Avatar asked Aug 11 '15 04:08

Monika Patel


2 Answers

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

like image 181
Mukesh Avatar answered Sep 21 '22 06:09

Mukesh


I used below command and its working for me.

ditto -ck --sequesterRsrc --keepParent /Users/mac/Library/Developer/Xcode/DerivedData/yourapp.../Build/Products/Debug-iphonesimulator/yourapp.app  /Users/mac/Desktop/yourapp.zip

You can use your destination path instead of /Users/mac/Desktop/yourapp.zip.

like image 42
Bhavsang Jam Avatar answered Sep 19 '22 06:09

Bhavsang Jam