Submitting xCode simulator build to Facebook

Facebook now want’s to review your unpublished apps before allowing you to use certain features like read the friends list. To do that they want you to send a an Xcode simulator build, super annoying!

Has anyone done this with Corona app? The guide from Facebook assumes you are developing in Xcode: https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review/

Is this simply the app file that is generated in the folder I specify when I build for Xcode simulator?

That is super annoying. I think you are right, they need the .app that you generate when you build for the simulator. My recent discovery though is that my app totally crashes on the XCode simulator with an error relating to facebook.

See http://forums.coronalabs.com/topic/48157-app-crashes-only-on-xcode-simulator-complaining-about-facebook/

Can you actually build for the XCode simulator and run your app with Facebook features?

You might be better off just creating an Android platform build and giving them an .apk of your app. This is assuming Facebook doesn’t need to approve every single platform upon which the app is deployed. 

ksan: Last time I tried Facebook in Xcode Simulator it worked, will give it another go tomorrow.

Panc: They need to approve every platform :stuck_out_tongue:

ugggghhhh…

tense.gif

Did anyone manage to find out whether we can simply build for the xcode simulator in corona, and then using the resulting .app file?

@alan, ive tried a couple of times with no luck, FB just reject it saying “Your app downloads successfully, but crashes upon opening. Please resolve any technical issues that prevent us from testing your app.”. Have also posted here http://forums.coronalabs.com/topic/48204-submit-ios-simulator-build-to-facebook/

i think we need some input from corona staff.

I submitted my app for review over 10 days ago and have had no response. Very frustrating. How long did you wait for your rejection cjorgens79?

hmm thats strange, ive been getting feedback within 2-3 days, however that feedback has been that they cant get the ios simulator build to work for them. Perhaps yours does work for them and they are in the process of testing your app hence the longer delay. I presume you have checked the fb dev portal to see if you have any notifications (you get notified in email too, but maybe ur junk mail got it).

Not gotten any notifications no.

Does you review button look like its still enabled like this:  qoNZRxl.png

Kind of looks like its not submitted, but I did submit and if I try to do it again it says it has already sent me a message on that SMS email address. I think maybe something has just gone wrong.

hmm, that looks like its a bit screwed. It should look like this

[sharedmedia=core:attachments:2405]

I would suggest probably pressing discard, and resubmitting it

Ah crap, thanks for that.

I’ve asked Engineering.  It was after COB yesterday and with it being the weekend, I don’t expect a response for a few days.

Rob

What’s the verdict regarding submission of the .app file from Xcode building? Are we able to submit for iOS approval using the .app file from building with code?

Just wanted to point out that:

1: Build your app for the Xcode Simulator, not device.

2: You MUST zip your  completed .app file first before uploading, as explained near the bottom of this page:

https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review/

I haven’t had any trouble with them opening and running my app so far, though it did fail review due to the following reason pointed out in this thread:

http://forums.coronalabs.com/topic/48394-facebook-publish-actions-rejected-due-to-message-being-pre-filled/

The verdict re iOS and facebook is that it still doesnt work. I had another failed submission earlier this week, with a zipped simulator build that i had confirmed could be loaded fine in my iOS simulator using the steps that they provided in the FB doco. I have now been able to successfully get approval from FB of my features (publish_actions) by removing the iOS platform from FB and just submitting an android build for approval. (found this tip in another thread). Apparently you can then just add the iOS platform back in and it just works without getting approval, but im yet to confirm that for myself. (http://forums.coronalabs.com/topic/48204-submit-ios-simulator-build-to-facebook/)

The only possible reason i could imagine why they iOS simulator builds dont work for them is that somehow the way corona is building the simulator build is possibly locking it in to the local simulator (maybe certificate related?) and it wont work on someone elses simulator. Unfortunately i dont have multiple macs to try this on, so if someone else (maybe someone at corona) could give this a shot and see if they can get an iOS simulator build compiled on one mac to run on the iOS simulator of a different mac. (the instructions for running compiled app on simulator from command line are in the above referenced post, this is how FB try to run it apparently)

My first submission attempt had that issue, but said they couldnt load the ios simulator build as well as saying message was rejected due to being prefilled. If you got the prefilled error but not the simulator build issue then perhaps your on to something, what profile are you using when building to simulator? just a development profile one or the distribution profile? (not sure if it matters).

I did all my simulator builds with a development profile selected.

That is super annoying. I think you are right, they need the .app that you generate when you build for the simulator. My recent discovery though is that my app totally crashes on the XCode simulator with an error relating to facebook.

See http://forums.coronalabs.com/topic/48157-app-crashes-only-on-xcode-simulator-complaining-about-facebook/

Can you actually build for the XCode simulator and run your app with Facebook features?

You might be better off just creating an Android platform build and giving them an .apk of your app. This is assuming Facebook doesn’t need to approve every single platform upon which the app is deployed. 

ksan: Last time I tried Facebook in Xcode Simulator it worked, will give it another go tomorrow.

Panc: They need to approve every platform :stuck_out_tongue: