Wireless distribution

Discussion in 'iOS Programming' started by DennisBlah, Jun 1, 2014.

  1. DennisBlah macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #1
    Hello fellow ios coders.
    I hope someone can be of help about this part.

    I'm working on a app with a friend of mine. Who is one of our testers, but I'm fed up by sending the ipa all the time.
    I readed things about this before and last night I was about to set this up, what I readed from an post
    wireless distribution

    So I end up with the following:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
            "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>My Cool app</title>
    </head>
    <body>
    <ul>
    	<li><a href="http://192.168.2.46/ios.mobileprovision">
                    Install Provisioning File</a></li>
    	<li><a href="itms-services://?action=download-manifest&url=http%3A%2F%2F192.168.2.46%2FmyApp.plist">
                    Install myApp Application</a></li>
    </ul>
    </body>
    </html>
    
    As you see I'm doing this right on my own local network.
    However my iPhone 5S gives me an error when I follow the install myApp application link:
    Cannot install applications because the certificate for 192.168.2.46 is not valid.

    What is this error about, and how can I fix this?
     
  2. xStep, Jun 1, 2014
    Last edited by a moderator: Jun 1, 2014

    xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #2
    I've overheard our ipa distribution person talk about iOS requiring a properly signed, not self signed, certificate for the IP address. This is a new thing Apple has implemented. I don't recall hearing a way around it. They are expecting a secure and signed connection.
     
  3. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #3
    Starting with iOS 7.1 the OTA ad-hoc method requires https with valid certs.

    You can use something like TestFlight (which was purchased by Apple) to wirelessly distribute.
     
  4. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #4
    Hmmz, I will take a look at that.
    I'm known with ipashare.com and diawi.com
    but.. ipashare.com does not work for my iphone 5S, but does for my mate's 4S.
    And with diawi.com its other way around -_-
     
  5. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #5
    Hey guys,

    my mate has an VPS with SSL signed to his domain.
    I'm trying to install my inhouse app from there.
    the html is fine. The app gets downloaded to my phone.

    It says installing, right underneath the icon.
    After 10% it stops and I get a notification:

    "Unable to Download App

    "myApplication" could not be installed at this time."

    I readed about setting up mimetypes. So I done this, and still didn't work. After restarting the server by the terminal it still gives me this error.

    I also provided the inhouse.mobileprovision to the page so I also installed that on the device.

    Anyone have any idea how to solve this?
     

Share This Page