• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating an IPA in Xcode 4.2 / Code Signing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating an IPA in Xcode 4.2 / Code Signing


  • Subject: Re: Creating an IPA in Xcode 4.2 / Code Signing
  • From: Alex Zavatone <email@hidden>
  • Date: Sun, 15 Apr 2012 20:52:00 -0400


On Apr 15, 2012, at 8:41 PM, Apple Xtools List wrote:

Putting the IPA on the web server and emailing an URL works very well. I agree it could be documented better, but there are plenty of articles on it on the web. (if you want to email it, just zip it up and send it. The user can unzip and use iTunes to install. But the web site is even easier for the user)

But that's the problem.  There is no iTunes to use to install.  When people are traveling all over the planet, they don't have time to do anything except install straight from their iDevice.

Just follow the directions here:  http://jeffreysambells.com/posts/2010/06/22/ios-wireless-app-distribution/  It explains it.

Ya, ya, that's what I'm already doing.  But see, you might have missed that we are on a staged server that where I only have privs to copy into SIT, which then moves the files into PROD 2 hours later.


You do NOT need an enterprise account. But you do use the "Save for enterprise" option in Xcode. Basically you just need a simple html file with 2 links, one for the provision file, and one for the ipa. You put the html file, the provision, and the ipa on a web server and your done. I use apache that is built into the OS and it works every time.

Yeah, I think I'll have to make one HTML file with two links and publish the IPA twice, OR make two IPAs, and set one to the SIT URL and one to the PROD URL.

When you archive the project, make sure you use the correct signing provision. Otherwise it will not work. It will stop half way thru the install.

Actually, it will stop 3/4 of the way through the install.  We had our provisioning files changed last week, much to my surprise and chagrin.

To handle updates, you can have your app check a file on the web site at startup, if you need to update, just do an openURL to the html file on the server and it will take the user the site and update the app.

Todd

Thanks Todd.  I'll see how to roll this in to our distro plan.  

First thing I'm going to do is get a subset of folders updated on a 10 minute basis, rather than a 2 hour basis.



On Apr 15, 2012, at 12:23 PM, Alex Zavatone wrote:


On Apr 15, 2012, at 11:48 AM, Fritz Anderson wrote:

On 15 Apr 2012, at 9:39 AM, Alex Zavatone wrote:

On Apr 14, 2012, at 12:28 PM, Apple Xtools List wrote:

You do NOT need to have a device plugged in to create an IPA. Just select "iOS DEVICE" and the archive menu will enable. This is in Xcode 4.2 or later.

Jesus Apple, WHY REQUIRE THIS?  Why gray it out unless an iOS device is plugged in OR you select iOS Device?  Why not have it enabled all the time?  You have to be kidding me.  Xcode 4.x is not nearly obtuse enough.

Because the destination half of the build scheme is there for a reason. You have to tell Xcode where the app is going. Look at the build settings: The code-signing setting depends on the build configuration _and_ the destination device. Signing an app that's heading for the simulator is an error. Even if you miss the destination selector (it's in the largest font in the toolbar), the unavailability of an action that builds for devices should be enough to direct you to requesting a build for devices.

It's just that so many of the options that have changed when going from Xcode 3 to 4 seem to offer such a greater level of user hostility.

I can't remember running into so many problems in Xcode 3.  I mean, I had no idea whatsoever that you actually could/had to select iOS Device to enable the Archive menu.  I always plugged in a device to make it work. 

Also, you can email an IPA. There is nothing that prevents this.  It's just a file. The device will need a proper provisioning file installed on it for the app to install.

Not to an iOS device.  It's useless once it gets there.  I tried that on the very same device I just built to using Xcode 4.2 and iOS 5.0.1.  Mail did not know how to handle the enclosure.  Neither did Safari if I just put the IPA up on a URL I could access.

I've sent out dozens of .ipas for Ad Hoc and (pilot) Enterprise distributions via an (internal, passworded) web-based file sharing site. It is true that email distributions stopped working for me a few months ago. With the sharing site available, I didn't bother to debug the email problem.

Really?  How?  Did you just email them?  Did you zip them?

I think the factor here is that when something fails now in Xcode 4, Apple's docs are so thick that we all simply rely on "who has gotten this working before, let me hit StackOverflow and look it up".

It would be simply awesome to be able to email an IPA to my other team members (to be opened and installed from the iDevice) and just plop an IPA on a http directory and actually be able to surf to it from the device and have it install.

When someone's out of the office, or doesn't even have a Mac, I want to minimize the time I spend in getting a build onto their machine.  Simple is best in this use case.

So, does anyone know why we can't email an app, or just plop an IPA into a web server directory and give them the straight URL to the IPA?


Some servers (MS IIS) "helpfully" recognize that .ipa files are zip-compressed and push them (at least to IE) as the uncompressed .app package. There's a configuration option to correct the MIME type.

Well, our IIS server had the mime type properly configured, so our web tech (naturally) added the mime type and that caused a conflict.  This resulted in the IPA not being able to be downloaded which too k a few more hours to figure out.

Does this work with a non Enterprise license?  This matters since I'm on two dev accounts.  One with Enterprise and one as a Personal developer.

As far as I know, yes. Personal developers put out Ad Hoc distributions through the Net all the time.

Unreal.  We have a terminology collision then.  Doesn't "Distribute for Enterprise" imply that you have to have an Enterprise license?  

Can you do "Ad Hoc" distribution without the pList manifest file and ignoring the "Distribute for Enterprise" options?

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Creating an IPA in Xcode 4.2 / Code Signing (From: The Rhythmic <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Alex Zavatone <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Apple Xtools List <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Alex Zavatone <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Fritz Anderson <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Alex Zavatone <email@hidden>)
 >Re: Creating an IPA in Xcode 4.2 / Code Signing (From: Apple Xtools List <email@hidden>)

  • Prev by Date: Re: Creating an IPA in Xcode 4.2 / Code Signing
  • Next by Date: Re: Where does XCode 4.3.2 store account information?
  • Previous by thread: Re: Creating an IPA in Xcode 4.2 / Code Signing
  • Next by thread: Re: Creating an IPA in Xcode 4.2 / Code Signing
  • Index(es):
    • Date
    • Thread