Submit iOS Simulator build to Facebook

My app has feature to use Facebook Like, which require Facebook approval to use in public. Facebook requested an iOS Simulator build to test the feature.

I built my app targeting iOS Simulator, and after build completed, it automatically run the iOS simulator with my app. I tested it, everything seems work fine.

So I went to my build directory, and compress  my app, AppName.app 

I submitted the zip file to Facebook, but they rejected them, 3 times, and now I am suspended from submitting to them again for 3 days.

This is the message they sent me:

 

on iPhone - 

Your app downloads successfully, but crashes upon opening. Please resolve any technical issues that prevent us from testing your app.

Anything wrong I did? 

FYI, this is the tutorial that Facebook provided to build iOS simulator, which require XCode.

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

I have the same issue, some input from Corona staff would be much appreciated, i dont know where to go from here. You cant contact the reviewers, they just seem to ignore any alternate suggestions (i found a way to transfer it by copying the <guid> folder that the simulator creates for the app once its installed) but as far as i can see they didnt bother trying it, they just say follow this guide (as per previous post). Obviously we dont have access to xcode files for the build so what are we supposed to do? This is holding up my release :frowning:

Some additional info, ive now also tested using the exact instruction they have at the end of their document where they say “Before uploading, test your simulator build by running ios-sim launch <path to .app> and verify that the app opens in the simulator.

It took me a while to figure out how to do that (im not very familiar with mac’s). For anyone else that wants to know, you need to install some stuff to make it happen. 

First install HomeBrew by opening Terminal and pasting the below

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)")

Then it says to run “Brew Docotor” from the terminal before installing anything, so i did that, not sure what that does exactly. 

The you can install ios-sim using homebrew from the terminal by doing

brew install ios-sim

That makes the ios-sim command line tool available, looks like it just links to the xcode ios simulator

Then you can test your app using their exact steps. Just use corona simulator to Build for iOS, set the target to “iOS Simulator”, it will build and load the ios simulator. Exit the ios simulator. In the terminal, change into the directory where corona is putting your build files (ie your .app folder). For me it was the desktop. So from the terminal, while in the desktop folder (in my case), just type as it says

ios-sim launch mygame.app

where mygame.app is the name of the your game. Looks like it pretty much does the same thing as just building for simulator in corona, but to be sure i did this so i was 100% sure it was working as per FB’s instructions. I am about to submit again, but i dont hold out much hope because i just submitted the simulator build the first time and they rejected it with the message the original poster mentioned. <sigh>

Hi, my app just got approved, with another way.

When submit, you can do it in these platforms: Android, iOS, or Web. But the Like feature is approved on the app level, not platform level.

So I submitted the Like feature using Android apk, it got approved, and now Like is working on iOS.

It took me very long time to submit for Android too. Like feature is not available to non tester/admin until it got approve, we all know that, but apparently Facebook don’t know. Their staff will use a normal account to test, and when things are not showing on Timeline as you mentioned, they will reject your app.

You need to create a Test User in the Role, then provide username and password and tell Facebook to test using the test user account.

@coronaent thanks for that. Have you got an iOS platform in the FB dev portal so its linked to your facebook application page as well, i believe you would have had to remove it to submit just the android build for approval. If you re-add the iOS app to the platforms does that suddenly mean it needs additional approval?

I added back the Facebook for iOS, and the Like is already working, no additional approval required.

FYI, this is the tutorial that Facebook provided to build iOS simulator, which require XCode.

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

Follow the steps Click here

I have the same issue, some input from Corona staff would be much appreciated, i dont know where to go from here. You cant contact the reviewers, they just seem to ignore any alternate suggestions (i found a way to transfer it by copying the <guid> folder that the simulator creates for the app once its installed) but as far as i can see they didnt bother trying it, they just say follow this guide (as per previous post). Obviously we dont have access to xcode files for the build so what are we supposed to do? This is holding up my release :frowning:

Some additional info, ive now also tested using the exact instruction they have at the end of their document where they say “Before uploading, test your simulator build by running ios-sim launch <path to .app> and verify that the app opens in the simulator.

It took me a while to figure out how to do that (im not very familiar with mac’s). For anyone else that wants to know, you need to install some stuff to make it happen. 

First install HomeBrew by opening Terminal and pasting the below

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)")

Then it says to run “Brew Docotor” from the terminal before installing anything, so i did that, not sure what that does exactly. 

The you can install ios-sim using homebrew from the terminal by doing

brew install ios-sim

That makes the ios-sim command line tool available, looks like it just links to the xcode ios simulator

Then you can test your app using their exact steps. Just use corona simulator to Build for iOS, set the target to “iOS Simulator”, it will build and load the ios simulator. Exit the ios simulator. In the terminal, change into the directory where corona is putting your build files (ie your .app folder). For me it was the desktop. So from the terminal, while in the desktop folder (in my case), just type as it says

ios-sim launch mygame.app

where mygame.app is the name of the your game. Looks like it pretty much does the same thing as just building for simulator in corona, but to be sure i did this so i was 100% sure it was working as per FB’s instructions. I am about to submit again, but i dont hold out much hope because i just submitted the simulator build the first time and they rejected it with the message the original poster mentioned. <sigh>

Hi, my app just got approved, with another way.

When submit, you can do it in these platforms: Android, iOS, or Web. But the Like feature is approved on the app level, not platform level.

So I submitted the Like feature using Android apk, it got approved, and now Like is working on iOS.

It took me very long time to submit for Android too. Like feature is not available to non tester/admin until it got approve, we all know that, but apparently Facebook don’t know. Their staff will use a normal account to test, and when things are not showing on Timeline as you mentioned, they will reject your app.

You need to create a Test User in the Role, then provide username and password and tell Facebook to test using the test user account.

@coronaent thanks for that. Have you got an iOS platform in the FB dev portal so its linked to your facebook application page as well, i believe you would have had to remove it to submit just the android build for approval. If you re-add the iOS app to the platforms does that suddenly mean it needs additional approval?

I added back the Facebook for iOS, and the Like is already working, no additional approval required.

Follow the steps Click here

i also submitted the build for review and it got rejected 2 times saying message:

on iPhone - 

Your app downloads successfully, but crashes upon opening. Please resolve any technical issues that prevent us from testing your app.

 

anyone please help me,i am stuck with this issue.

 

i am using corona version ( 2014.2393a) and xcode 5.1.1 and mac os (10.8.5).

i also submitted the build for review and it got rejected 2 times saying message:

on iPhone - 

Your app downloads successfully, but crashes upon opening. Please resolve any technical issues that prevent us from testing your app.

 

anyone please help me,i am stuck with this issue.

 

i am using corona version ( 2014.2393a) and xcode 5.1.1 and mac os (10.8.5).