- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am currently trying to deploy my first Intel XDK project for Ios and things are getting a little complicated.
Upon finishing the development, I would like to put together an OTA installation so :
- I created an enterprise account
- My certificate and provisioning files are also created (In House deployment)
- I created the .ipa file with Intel XDK
- I created a .plist file (without Xcode)
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>assets</key> <array> <dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>https:/site/folder/app.ipa</string> </dict> <dict> <key>kind</key> <string>display-image</string> <key>url</key> <string>https:/site/folder/image57x57.png</string> </dict> <dict> <key>kind</key> <string>full-size-image</string> <key>url</key> <string>https:/site/folder/image512x512.png</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.site.app</string> <key>kind</key> <key>subtitle</key> <string>site</string> <key>Application Iphone</key> <string>app</string> </dict> </dict> </array> </dict> </plist>
Then I uploaded the .ipa and .plist to my web server (it has a valid SSL certificate), and used this link :
itms-services://?action=download-manifest&url=https://site/folder/manifest.plist
Clicking on this link from an Iphone result in a message displaying "cannot connect to server".
Following my research I have discovered some options may change with the Ios framework. For instance, does the URL pointing to the IPA must be HTTPS?
What's concern me and why I'm here is :
In the build option or in the config.xml, is it possible to specify an In House provisioning file?
How come my application works with the Intel XDK OTA service?
Thanks in advance for your help.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In the build option, select ios and can upload the the kind of provisioning profie(Adhoc or production). Please see the attachment.
After building successfully, here is a email message is being received.
The iOS build for InAppPurchase was successful.
Click here to install your app OTA on iOS 4+ devices.
You can download your application with this secure link. Once you have downloaded your Adhoc Application you may install the application on your device through iTunes.
- Open iTunes.
- Select the Apps section on the left.
- Drag your application to the applications list..
- Select your device in the left hand pane.
- Select the Apps tab.
- Make sure both the Sync checkbox and the application are selected.
- Hit the apply button.
- Your application should be installed on your device. Note: The UDID of the device must be contained in the provisioning profile you created when you configured the device on the Apple iOS Provisioning Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are trying to host the files on your own server, it should be just list the process I outlined in this post
https://software.intel.com/en-us/forums/topic/557252
The Enterprise account should not have any effect on it AFAIK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply, but I still have some problems :
In the build email, there is a first link : "Click here to install your app OTA on iOS 4+ devices." which point to a very long URL:
itms-services://?action=download-manifest&url=https%3A%2F%2Fam-xdk2.s3.amazonaws.com%2Fcust.9ab5b07e-ff8d-46ba-be36-29402df1c202%2Fapp.58400a1f-de47-4527-b3f3-491770fb7557%2Fiphone%2Fota.201507214915.manifest.plist%3FAWSAccessKeyId%3DASIAIR3SBEJPQRZQME6Q%26Expires%3D1437555077%26x-amz-security-token%3DAQoDYXdzEIn%252F%252F%252F%252F%252F%252F%252F%252F%252F%252FwEa4APUMQUlcygG74wr5K2Md%252FTSu2kl2ym1Jk1myCnN8WdnhefdpwnZWCjg8lvRzW5MCt2vahb1bdbY%252FN%252FOsxSQU9UThsDN9QoO3WprutzmTMs0eyTe0BCuYpFnJ52Cc%252FbnTjD3tlFLvqkbLOHq9UbJMhwjomGOMK75UMdpfJqvHGxBkWAF%252FL15PU1ABltJUzaTPyJNuxO%252FMpA0UqxzLwnsqeDErX0YLAMidl3oWQpx9814KSs1VY7jg%252B0axd1QWsO6PWsMRey%252B9PH1Wo2f%252BX7oUKV3Gnu7GNu%252BYep5WtIFdU9V%252BkPTzDrxnDhBw9ej7J6OuNKauPyJyf3sab1NXa7BD9frBx2fiMft8P1RXtCWGGoSerboy2L9f4kPQHxpBvJY6Bw6g4hlTsTOWB588T6I5Y4XxaU73gK8UX49awppQTKDWCnvRp4tmLcCeZKmMKhdtX4%252BbI%252BiAenbSxzII7SPyHtiBGOjBLNVJKgs2qKxdp0qQN5CamPLhERMmvgehdO6HV9%252BlKNOTeCTAV6f%252FDrShCu8BByv5%252FWyVh2pl6%252FcrDCs7V1RJBYCaGtUbwBjl5f%252Br5QOJO3CDQIaO3ur75d5Oala%252Br9IUSUXU6zS3RMgGqIhys2lwzO1GIgjdWNYsAKanmcgx%252F23rQU%253D%26Signature%3DhwGXluw%252B%252BGwQDVzGliiGek7n7lo%253D
There is a URL to a manifest.plist inside :
When I try to access it, the content displayed is :
<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>07639855C1FABF2B</RequestId> <HostId>3uBxAcR2ejVVIbDv8eTx9KdpD+MHG+YHkXhliv8Pi7lwneCGUqv/vUM4omIi5UmEWkGWNwrUz6I=</HostId> </Error>
And then there is a second link : "public link" where I can download the application and find inside "ResourceRules.plist" + "Info.plist" (unreadable)
So am I supposed to edit those two files or retrieve the plist from the OTA link?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the record I have my plist file stored in Dropbox which uses https as required by Apple.
My plist file then points to my ipa file stored on my web server (Completely seperate) and it works fine.
Below is a sample plist file in the format I use.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>http://myurl/apps/app.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>http://myurl/apps/logo.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>mydomain.appname</string>
<key>kind</key>
<string>software</string>
<key>subtitle</key>
<string>Sample</string>
<key>title</key>
<string>Sample</string>
</dict>
</dict>
</array>
</dict>
</plist>
My URL for the download is:-
<a href="itms-services://?action=download-manifest&url=https://mydropboxurl/app.plist"><img src="http://myurl/apps/apple.png"><br>For iOS Apple Mobile devices</a>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you all!
I updated my manifest, added the MIME types to my server and it works like a charm.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page