Export iPhone App for WWDC Submission - iphone

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.

Related

iPhone app will not run due to expired beta?

I'm not in the developer program. I can run the app fine on my iPhone, and on my friends iPhone. But when I unplug his iPhone and try to run the app is says "MYAPP beta has expired".
Anyone know how to fix this without paying apple?
Try this: Create a new user account on your Mac for your friend. Copy the Xcode project from your account to his account. Delete your Apple ID from that project copy. Have him log into his new account on your Mac, and configure it using his Apple ID. Then build the app using Xcode with his Apple ID for the personal provisioning profile, and install the app on his iPhone from his account.
Note that personal provisioning profiles might only be valid for something around one week. For longer profile expiration times on stock iOS devices, you will need to enroll in Apple's Developer Program.

Itune Application sharing blocking

IOS paid application sharing we need to block.
Planning to submit paid application in Apple store. Suppose a user brought application and download to Itunes account, then i sync to my mobile device, able to use that.
1.From itunes can we share application ipa to any other user?
2.is there any way to identify which apple id used for downloading?
3.any option for blocking user without downloading from apple store?
Apps bought/downloaded from the app store are linked to the account that download the app. You can there for not just share the IPA.
On a jailbroke device you might be able to remove the security measures that restrict this. But what you are proposing is not possible with official App Store apps.
You cant code to UDID anymore since the update to the iTunes ToS. They are all account bound. In the cases I have tried to share the .ipa file the app data inside that app specific to me did not migrate to the new user

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

Testing In-App purchasing Iphone

I am writing an app for newsstand with free subscription but the product identifier i am using always comes back in the invalid set when making the request.
I have used this tutorial:
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/
I have:
1) created an Appid (fsfe4.com.myapp.myappdesc)
1a) signed the paid ios app contract and filled in the banking/tax info
2) put that appid as the bundle id (com.myapp.myappdesc) in the plist
3) downloaded developer and distrubtion provisioning profiles (developer profile does not have wildcard)
4) updated the code signing identity (both the Debug and 'Any IOS SDK' has the iPhone developer referencing the developer profile i created and downloaded)
5) added the code
6) created and added info for the app on itunes connect (turned newsstand on, uploaded photos and filled out all the info)
7) compiled and archived the xcode project, uploaded it to itunes connect, rejected the binary.
8) created the in app purchase (free subscription), and attached it in the 'view details' part of the application.
I get this notice:
The first In-App Purchase for an app must be submitted for review at the same time that you submit an app version. You must do this on the Version Details page. Once your binary has been uploaded and your first In-App Purchase has been submitted for review, additional In-App Purchases can be submitted using the table below. Note that free In-App Purchase subscriptions may only be submitted with a version that is enabled for Newsstand.
I am not entirely sure what that means.
9) waited 24 hours
10) tried again with no luck
I have re-archived,uploaded and rejected my app a couple of times. I haven't changed the version # in itunes connect but i don't think that should matter.
According to Apple's guide it specifically says that I should not have uploaded the binary and rejected it:
Important DO NOT upload the development binary to iTunes Connect until the application is ready for App Review approval. If the binary is present in iTunes Connect and it is not
fully functional, App Review will review the binary and likely reject the development binary. Testing In App Purchase will fail if you or App Review reject your most recent
binary in iTunes Connect. The workaround in this case is to upload a binary without In App Purchase features that can get approved by App Review.
Once the binary is approved, resume testing the binary with In App Purchase features.
That goes against every other tutorial i have seen. Is there a way to remove the binary to get it back to the pre uploaded binary state so that I can test? should i just delete the app and start over? if I do delete it can I use the same bundle id and same app name?
The problem was that I didn't delete the app from the device and reinstall it after i had gone through the checklist here.
So much time wasted. Sigh.
Are you running your app with development provision or distribution provision?
Are you running your app with same app id / provision for which you have uploaded the in app purchase?
Follow this article - http://www.raywenderlich.com/2797/introduction-to-in-app-purchases

Can I change the Bundle Identifier in my app after it's been approved?

I've got my app approved a while ago and used the * provisioning profile so I created somehting like:
com.mydomain.MyApp
but now I have the necessity of adding push notifications and I can't due I am using the * provisioning profile and it needs to have its own app ID and profile.
How should I proceed in order to achieve an app update without breaking anything
The bundle identifier for an app must always remain the same between updates, but the AppID can actually be different. So all you need to do is create a new AppID that used the same bundle identifier as the original app instead of a wild card.
Apps that use a wildcard still need a normal bundle identifier. The wildcard AppID lets you use any bundle identifier you like, but it still needs one.
There used to be an Apple article about this:
but it is no longer available online However, an archive is available.
You can't change the CFBundleIdentifier of a released app if you want to release updates for it, the App Store will automatically reject it when you upload. So...
I needed to enable iAds on an app previously developed with a wildcard App ID. Here's what I did:
I have a wildcard App ID of <AlphaNumeric>.* which my app currently uses, and my app has a CFBundleIdentifier of com.companyname.mygame.
Created a new App ID of <AlphaNumeric>.com.companyname.mygame.
Created new development and distribution provisioning profiles that include the new App ID.
Download the new provisioning profiles to Xcode and my devices.
I was then able to compile the App with the new non-wildcard distribution profile, which meant on upload I could enable iAds (or Push for you). The CFBundleIdentifier didn't change so the new compilation appears as an update to the existing app.
I can confirm this process worked without issue.
Under Frequently Asked Questions in the document entitled "Technical Note TN2259," which is "Adding In-App Purchase to your iOS and Mac Applications," there's this bit
Question: My iOS application is currently signed with a Provisioning Profile
that uses a wildcard App ID. How do I enable my App ID to support
In-App Purchase?
Answer: Read the Creating and Configuring App IDs section of
the iOS Team Administration Guide to learn how you can enable your App
ID to support In-App Purchase.
The link points here, and there's a section called, "Updating Your App to Include APNS, iCloud, In-App Purchase, or Game Center Requires an Explicit App ID"
That said, I don't know (yet) at what point the app takes on the new App ID. Is it when you upload for review, before that, or when it has been approved? I am working on this problem now, so I might be able to add to this answer soon.
Edit: The explicit app id only affects the piece of software you are testing and has, essentially, nothing to do with iTunes Connect whatsoever. This means that if you are testing in-app purchases, the piece of software that's running (your app) has to have a provision profile based on a cert that is app specific. What happens in iTunes Connect is totally irrelevant.