How to Add an Internal Tester to TestFlight If They Already Have an iTunes Connect Account

As a consultant, I’ve had this situation come up many times, and it’s very frustrating because Apple doesn’t allow an Apple ID to belong to more than one iTunes Connect account.

The scenario is that you have a client or friend that you would like to be an internal tester in your organization’s iTunes Connect account, or, perhaps it’s the corollary situation in which you have a client who has their own iTunes Connect account and you need access to their account as a tester or admin or developer. I’ve had this situation come up both ways, and here is how I’ve dealt with it.

The main requirement is that your prospective tester has a Gmail account. I’m not sure if this trick works with other email systems but it definitely works with Gmail. So if they they do, then you should be good to go. These days most individuals and companies are using Gmail as their provider so I haven’t run into anyone that this didn’t work with yet.

On with the process!

In nutshell, to circumvent Apple’s crazy limitation, you can do the “+appname” trick on their Gmail email address. For example, if the person I want to add is “fred@myclient.com”, and the name of the app I’m working on is “Awesome App” I would send him an invitation as “fred+awesomeapp@myclient.com”. Their Gmail-based mail system will let the email through just fine.

Then, they create a new, separate Apple ID with “fred+appname@myclient.com”, and iTunes doesn’t complain. iTunes Connect emails get sent to the right place because Gmail just treats them as the same account, and then your client (or you) can have multiple iTunes Connect accounts with what amounts to the same email address.

Then when they receive the follow-up notification to join TestFlight, it arrives at the right email address, and when they tap the button in the email it opens TestFlight on their device, they sign in with their normal Apple ID (even if it’s fredjones@gmail.com), and then they’re in.

It feels a bit hackish, but it works!

I’m pretty sure I learned this technique from this blog post, which also has some other great suggestions for working with clients and getting their builds up to the App Store, which is a subject for another day…

App Store Tip: Acquiring Screenshots for Devices You Don’t Have in Your Drawer…

Recently when uploading an update of my app to App Store via iTunes Connect, and I was faced with a bit of a dilemma. iTunes Connect needed screenshots from a wider variety of devices than I was originally expecting, and more devices than I possessed. 

The directions referenced this article, which actually is super helpful as a reference for what dimensions of screenshots you will need to upload. Unfortunately, the only physical devices that I have are an iPhone 5c and an iPhone 6 Plus, leaving out the currently-most-important device, the iPhone 6.

So I began musing about this… “Could I use the Simulator?” I thought.

I thought that if I needed to take a screenshot in the Simulator, using the old Shift-Cmd-4 trick would be problematic because the dimensions would be off. Then there would be the inevitable headache of launching Photoshop to get a correctly-sized screenshot, etc., etc….

Thankfully I had the presence of mind to Google this, and StackOverflow came to the rescue!

The key is the fact that the Simulator has a special menu item under the File menu! Contained in that menu, there is one item: Save Screen Shot (Cmd-S).

This will take a properly-sized screenshot for the device being currently used (iPhone 6/6s, iPhone 6/6s Plus, even iPhone 4s…), and you can then use that for your screenshots in iTunes Connect right away! No resizing or editing required!

Here’s an example of the screenshot:

4.7-inch-A

Sure it doesn’t have my carrier information on it but it’s a great capture and satisfies the iTunes Connect/App Store requirements, and that’s what was blocking me from uploading my app! Done!

Xcode Tip: Open multiple projects at once

I discovered this one accidentally since I really did want to open three projects at the same time after opening Xcode.

It turns out that the “Open Project…” dialog in Xcode supports multi-select! So you can Shift-Down/Up to select more than one project, hit Return and all three projects will be opened simultaneously!

I pretty much stumbled on this one when I did an “I wonder if this works” kind of thing at that dialog, and sure enough, it opened all three.

Score!!!

 

 

Xcode 4 Tip from iOS Developer Tips: Related Files List [@iosdevtips, #iosdev]

Good tip from iOS Developer Tips for using the “Related Files” button in the upper left corner of your code window (right next to the Back/Forward navigation buttons):

Xcode 4 : Related Files List

With Xcode 4 you can quickly access an assortment of files related to your project through the Related Files option in the Jump Bar.

 

Xcode Tip: Command-E [#iosdev #xcode]

For the longest time, to perform a search in Xcode I would take a standard, yet uninformed, approach by selecting a desired region in my code, copy it to the clipboard with Command-C and then perform a Command-Shift-F to find all instances of the search in my project. Cool.

Then after a while I actually looked at the bottom of the Edit –> Find menu. At the end of the list there is an item entitled “Use Selection for Find” and its shortcut is Command-E.

The beauty of this command is that it puts the search term in a separate location preserving the contents of your clipboard.

This is particularly nice since now I can have text in my clipboard and still perform a search – a bit like having your cake and eating it too.

Thanks Xcode Team!

iOS Simulator QuickTip: Removing all installed applications.

It was time to clean house a bit, so I wanted to remove all the currently installed applications in the iPhone Simulator. Turns out there’s a very simple way to do it…

1. With the iPhone Simulator running, click on the iOS Simulator application menu.

2. Click “Reset Contents and Settings…”.

– A confirmation dialog will appear warning that “all installed applications, content, and settings will be moved to the trash.”

3. Click “Reset.”

All the applications will be removed and you can proceed with a clean slate.