How to test an iOS Facebook app before getting an app ID from Apple? - iphone

I'm developing an iPhone app which uses Facebook sharing. I cannot create the Facebook app because it requires an "iPhone app store ID". I don't have this id because I haven't submitted the app yet. I can't submit the app because it doesn't work yet... because the Facebook integration isn't set up.
It seems that I'm stuck in a paradox! Am I missing something?

You can generate an Apple ID for your app, by logging into iTunesConnect and going through the submission process. Just stop short of clicking the 'Ready to Upload' button. Then your app will have an Apple ID that you can use, and you can still go back and change any of the metadata that Apple asked you to enter (description, keywords, screen shots, etc.).
Once you've finished building your app, log back into iTunesConnect, make the final changes to your App Store details, then upload the binary.

You don't need YOUR Appstore ID, you just need ANY. This ID is used for a link from facebook to your App in the store. As long as you don't care that this link will leed to another app - not yours - i.e. while testing, you can just enter any Appstore ID. That's what I did and it works fine.
Facebook's iOS tutorial says:
iPhone App Store ID - If you have an iPhone app that is listed in the
iTunes App Store enter the ID here, e.g. 123456. If Facebook links out
to your app and finds that the user does not have your app installed,
then it will take the user to your app in the store. The user can then
install your app. If your app is not in the iTunes App Store you can
enter any valid app's ID but be sure to update this when your app is
approved in the App Store.

For testing use 0(Zero),
iPhone Store ID = 0
iPad Store ID = 0
and click on Save Changes.
0 Will be disappeared but your work will be done.
Note:- update this id before going live.

Related

Xcode 7 Swift 2 Prompt user to rate your iOS app within your app

I've seen many posts on prompting/alerting user to rate the app within the app. As I understood, Apple will only allow users to rate it within App Store.
Now in my app, I would like to have a button to rate my app. When you click the button, it should take the user to App Store and directly to my app Page.
How I can create the link to my App in App Store when I've not yet uploaded my app in App Store. How will I know to direct the link to my App in App Store?
Any help will be appreciated.
Thank you.
You can use the app identifier number that is attached to your app that you see in your iTunes developer account. It will not be a live URL until your app is published. More information here:
How to link to apps on the app store
The button itself should have an action function that opens a browser, like so:
UIApplication.sharedApplication().openURL(NSURL(string: "<YOUR_APP_URL>"))

Export iPhone App for WWDC Submission

I will shortly be applying for the WWDC Student Scholarship. I have been working on an app that I would like to link to in my application. The app is not currently on the App Store.
When I export the app by exporting the .ipa file through Xcode, and email it to a friend for testing, he is unable to transfer the app from iTunes to his iOS device.
I can set up an Ad Hoc profile for him so that he can test it, but I obviously don't have information affiliated with iPhones Apple will use to review the app once I submit it to them.
What must I do to allow the app to run on any iOS device without setting up Ad-Hoc accounts for each?
Have you looked at the submission page? Login required: https://developer.apple.com/wwdc/scholarships/application/
It says your app must be on the App Store. First submit it to the App Store, then once it is approved you can apply for the student scholarship.
Without the device ID of the test phone, you can't distribute your app in development mode. One thing you could do is setup a free TestFlight account, include TestFlight in your app (takes about 10 mins to setup), and then include the TestFlight tester signup link with your application. Then if they want to try your app they can follow that link to register their device with TestFlight, then you'll get alerted when they do that and you can recompile your app with their device id and push it to them via TestFlight.

Testing Facebook Native iOS App

I would like to integrate Facebook into an iOS application I am building, however it seems there is no way to set up a Facebook 'Native iOS Application' with an iOS application that is not already published and available in the App Store.
When I Set up a Native iOS Application for my Facebook App from my Facebook developer's account it requires that I fill in my App Store ID. However when I submit I get the following error message:
Your iPhone App Store ID is invalid because the iTunes App Store
reports your app as being unavailable for iPhone and iPod touch.
I have set up my application on iTunes Connect, but I have not submitted my binary yet as I am in the process of building it, so I assume that this message is due to it being unavailable on the App Store.
This seems like a catch 22 situation. I can't test my app until its in the App Store but I can't get my app in the AppStore until I have tested (and built) it. How can I test my iOS application with Facebook before release?
I've been there, but the solutions is simple.
Don't fill out the Facebook 'Native iOS Application'!
For testing all you needed is the Facebook appid.
Later on in the Deep Linking portion of the iOS Facebook Tutorial, it also mentions the AppStore ID and that you can use somebody else's ID temporarily to get all the data to save. They just say to make sure you use your own id when you finally do publish the app.
I dont think facebook Native iOS App settings are necessary. I have done facebook login with it in two of my apps and without it in one of my app and all are running well. Here are workaround by me:
Native iOS Facebook SSO won't return to app

Facebook app error when leaving "native ios app" field blank

I previously had a facebook app working great with my native IOS app. I recently recreated the app to rename it for when we release to the app store.
When I select "Native IOS App" and enter the bundled Id but leave "iphone app store id" blank, I get this error:
"Error
You have enabled a Native iOS App integration for your app, but have not specified an iPhone App Store ID or iPad App Store ID"
It says this field is optional.
Use 210849718975311, the iPhone App Store ID used by the sample application Hackbook found on Facebook's developer pages.
As a work around go ahead and add any valid iTunes app ID, even if you do not have a live app in the iTunes store. Once your app goes through iTunes you can come back and change this setting. The other alternative is to come back and add your bundle ID and iTunes information when your app is live.

how can you get the app ID for my iPhone application before I submit it to Apple?

I am using Appirater for my iPhone application and it requires me to put in the APPIRATER_APP_ID which is described as the Apple generated software id. How do I get this ID while my app is still under development?
You basically create the app in iTunesConnect and then you get its Apple ID, which consists of a number. You will see this full ID once you have completed registering your app.
So go to iTunesConnect, select Manage Your Apps and then Add your app using the button at the top or select an existing app. Under App Information there is the apple ID given.
You can then later upload your app to iTunesConnect.