Developing iPhone app on multiple Macs - iphone

This is probably super dumb, but can I use multiple Macs with different development profiles to make apps? If I take my friend's Macbook on travel, who also is a developer and has his own development profile, can I use my own developer profile on it to work on my apps without interfering with his? Thanks.

For sure, as long as you install your provisioning profiles and emit new signing certificates.
I'm not aware of a way to export custom behaviors of other Xcode 4 configs, but that should not be a big problem.
After your trip is over, you can delete you provisioning profiles.

You can share a single project on multiple Macs (each one having their own signing identity, or sharing the same Keychain items if they're both yours).
You can also use a single Mac to work with multiple signing identities.
I do both regurlarly as I'm enrolled in two companies that develop iOS apps; in both of them we're at least 2 developers having our own machines.
For your part, if you're borrowing a friend's Mac, I highly recommend to clone your Keychain's private key and certificates into this "new" Mac where you'll create a new user account, then delete this user account when you'll give it back.

(Posting as another answer as it's not quite the same subject)
In any case, you'd better use some kind of source control such as Git (included with XCode) or Mercurial. Create a working copy of your project when you're off with your "roadwarrior" Mac, then merge when you come back.

Related

iPhone deployment management

I have a little app that I want (potentially) a lot of my clients to test and give feedback on before launch, do I really need to setup a massive list of UUID's in the provisioning profile and build against that certificate, email them the .APP file and the certificate?
I was hoping for a, perhaps, private app store? But I cannot seem to find much on this topic
Any advice or help is greatly appreciated here :)
Cheers,
Mark
It seems that even with the Enterprise option, you'll still need to distribute a provisioning profile:
http://manuals.info.apple.com/en_US/Enterprise_Deployment_Guide.pdf (particularly Chapter 5)
However, it looks like you won't need to add each device to this provisioning profile if it's an Enterprise profile, but the users themselves (or the IT support staff) would have to add the provisioning profile to each machine with iTunes.
Without Enterprise profile, unfortunately the answer is YES. And with enterprise profile, the scenario is already explained in previous answer.
If they all have iPhone SDK installed in their Mac, and if your app doesn't require device-specific features (camera, accelerometer...) then you can just zip your app folder in your iPhone simulator's Application Support folder and send it to all your clients.
It works great for a number of my clients, especially to validate the user interface.

iPhone using same certificate on multiple computers with different accounts

I have looked around here to see if somebody has asked this question before but nobody really has the same situation so i would like to now how to do the following:
At home i have an iMac on which i do my iPhone development. I can deploy the application on my own iPhone without any problem.
At work i have a colleague who owns a Macbook Pro and i would like to use my certificate to deploy the application on his iPhone.
The tricky part is that we (of course) have different accounts on the computers and i don't want to create an account on his Macbook Pro just for this.
I have read in several places that you can export the certificate (in my case from my iMac) and import it onto his computer, a detailed description can be found here: http://www.theevilboss.com/2009/06/iphone-sdk-development-on-multiple.html) but does this scenario also work for different accounts?
If not, how can i do this?
A second question (and which might also solve my first question), does every member on the development team need to have a personal account for the Provisioning portal? And thus pay the development fee?, i have a company registration and i can register 100 devices but when i want to add a person using the Member center i get the feeling that this person needs to register himself first and pay the development fee)
The quickest smartes and easiest solution.
Saved me hours of searching and implemnting different tactics and techniques
iphone sdk development on multiple mac machines
Two ways to do this:
First: add your buddy to your 'team' in the iphone developer portal. he then will have to generate his own certificates. There is no additional charge for this. This makes sense if you want to give him source code and let him use Xcode to work with / debug the app. If you don't want to give him source code, do the second choice.
Second: if he doesn't need to debug and use Xcode, just add his phone UUID to your 'Devices' in the portal, generate an Ad Hoc Distribution Certificate and then make an Ad Hoc build for anything you want to give him to test/try out. He then just uses itunes to copy the ad hoc certificate and the app to his phone. There are instructions in the portal for making the ad hoc builds.

iPhone:Can one mac be used for two business purpose?

I have a small doubt, so apologies first.
I am creating an iPhone application using my Macbook. I want to upload it into AppStore after some days by creating a developer certificate and use provisioning profile. My friend wants to create his own iPhone application and wants to upload to AppStore for him personally, but he wants to use my same Macbook, but he may create his own dev certificate etc. I hope this is possible. Can we both use a same Macbook to develop different business(myself and my friend's) applications? I'm just curious to ask this doubt.
One more question,
Can we submit an iPhone application into AppStore without having own website page? Is it mandatory to have my own web site page for uploading an application into AppStore?
As long as all of the right pieces are installed, you could definitely share one Mac. You'd need all of the appropriate provisioning profiles installed in XCode, and the private keys / signing certificates used to generate them installed in the Keychain.
Going with separate user accounts might be a good idea, if just so that neither of you gets confused and accidentally builds their app with the other person's profile. But there shouldn't be any technical reason why you couldn't do this with a single user.
You would both need to have different users but apart from that, I can't see a problem.
As far as I know, the certificates and public private keys are per user.
As for the second question, I have no idea, sorry!
For first question:
Sure, it is possible! Its all a matter of creating different Certificate and Provisioning and When you build the project making sure you use the correct certificate to Code Sign!
Second Question:
You don't need a website of your own. I've come across many developers who uses their Blogspot address!
But if you are serious and look serious, get a domain and a simple site :)
Cheers

Two iPhone Dev Licenses on one Mac?

I have an odd situation. I have a macbook that I use for work and I am an approved iPhone developer, etc. I would like to build iPhone apps to put out under my name (they should be kept and tracked separately from the work license I have, since that really belongs to the organization and not me), but I don't want to buy another mac. Can I create another admin user account on my Macbook that would be used with another (personal) developer certificate, or can there only be one dev license per machine?
I was in the same exact situation. You can use the same Mac and the same account on that machine.
Just follow the same steps as before when you setup the Developer Certificate for your company. Essentially, your Keychain will contain multiple certificates that you can use to sign your applications.
What certificate you use is chosen on an application by application basis through XCode.

Multiple iPhone Developer Accounts on One Mac?

I have searched but cant find this question anywhere. My wife and I are about to take on iPhone development and we've only got the funds to purchase one iMac 24" to do this. Anyone out there with iPhone development experience know if two different Apple developer accounts can be profiled on one development Mac? Not only via the developer program but also does the XCODE (I believe it is) IDE support it?
What we're hoping to be able to do is that I can log in with my profile and developer/debug, etc my iPhone application and her do the same under her own profile (not seeing mine and vice-versa). Time sharing wont be an issue as I work from home while she works away from home and we'll be able to figure out that part no problem.
Please understand that we're both completely new to the Mac, OS X as well as the iPhone development arena and so we have no idea if this is possible. If not our second option would be to purchase two Mac Mini's (keyboards and mice too) and figure out some KVM to each of our existing PC's monitors that we already have, and develop that way. We would rather not and just share one iMac between two developer accounts and IDE profiles.
UPDATE: My wife and I invested in a 24" iMac from Best Buy utilizing a 12 month no-interest offer, which made it the choice over the 20" iMac. Its got plenty of RAM (4G out of 8G max) and HD space (640G) and we're getting used to the MAC OS X and will begin developing soon. We've created two OS X accounts, to keep settings and such separate. Either Windows moved closer to OS X or vice-versa as things on OS X seem quite intuitive and we were highly impressed at the whole un-box and setup time of about 8 minutes! So far, so good.
Sure. Just make two user accounts on the iMac. Easy!
I have two iPhone developer accounts that I work with, so instead of two accounts and two people, it's two accounts and one person. Unfortunately, being the same person both accounts ended up with the same Agent name (and it appears nearly impossible to change this - my case requesting the change has been open with Apple for months).
This resulted in two sets of keys and certificates and the keys have the same name. This causes problems in Xcode, both in the Organizer and in code signing. I filed bugs on these 6635822) some time ago, but ended up just now finding a work-around for both problems. I wrote it down in a blog entry in case it'd be helpful to others.
http://geekanddad.wordpress.com/2009/07/25/work-around-for-multiple-iphone-dev-account-and-code-signing-and-xcode-organizer-problems/
Update: Jan 2010: it looks like Apple has addressed this with their certificate generation - User Names now seem to have a number appended to them in parenthesis (e.g., My Name (A340D)). I have not tried to regenerate certificates on previous accounts to see if they get this hash added, but newly created ones are having this added.
Update: Feb 12 2010: Yes, if you regenerate the certificate on the account it appends a number to the name and this whole issue is a non-issue. So you can just have one keychain and all your certificates there now - thanks apple!
That's one way. You can share the single copy of the /Developer tools, but each have your own login name, preferences, and keychains.
If you share the same Mac OS X user account, but have two ADC identities, on the Safari side you just have to make sure you log out of the ADC website when you trade places.
On the Xcode side, you'll need to add both Developer Certificates to your keychain, and both Provisioning Profiles to Xcode's organizer. I recommend that you each have your own phone, if you're going to have separate Provisioning Profiles and Developer Certificates.
The crucial part is that for each project you work on, you need to set the Code Signing Identity to the full and exact identity for the person who owns it. The projects come set up with a wildcard identity of "iPhone Developer"; you need to change it to "iPhone Developer—John Appleseed" to use your signing certificate and profile, and your wife has to do the same on her projects.
Also, if you copy an app from one developer account and try to use the identity and provisioning profile associated with the other account, it won't work. You'll have to quit XCode and edit the project.pbxproj file which you'll find inside the .xcodeproj bundle. Find every term next to CODE_SIGN_IDENTITY or PROVISIONING_PROFILE and delete the value in double quotes (leave the double quotes). Then restart XCode and select the provisioning profile in the Get Info's Build tab for both the main object in the upper left of Groups and Files, and also any and all Targets. Then it should work. Apparently, when an app has been build using a provisioning profile for one ADC account, XCode doesn't fix up all the information necessary to allow you to change to a different ADC account.