Application Center installers web-app shows error when installing mobile-client - ios

This is with reference to the Application Center. Getting this error when attempting to download the mobile-client uploaded to the Application Center when tried from within a simulator:
"Safari cannot open the page because the address is invalid."
and the following error when attempting the same step from a browser running on a device:
"Cannot install applications because the certificate for is not valid."
In both cases, the login to the mobile-web-app at https:///applicationcenter/installers.html was successful. I am assuming that this means that the certificate was valid. [Note the Application center has a web-server reverse proxy in front of it.]
Additionally, in both cases, when the mobile-client is side-loaded from Xcode, these errors are not seen. In such cases, once the mobile-client is installed and running, the target app is downloadable and runnable from the application center store.
Any pointers that explains why the installers mobile-web-app is throwing these errors?

You should use the mobile browser to access the installers.html or inst.html page.

Related

pkpass not downloading on physical iOS device

Background: I'm learning Apple Wallet by creating a barebones sample app and am trying to automatically update a pass. In order to do so, I understand I need to run a web server that sends push notifications to the device when it's time for the pass to update. I'm using Apple's sample code and running their Ruby webserver via localhost. It correctly generates a .pkpass file, which I can add to Apple Wallet in the simulator by visiting the localhost site or by dragging in the .pkpass file.
Problem: This process doesn't work on my physical iPhone. When I go to the localhost on my iPhone, it shows a 200 response code but comes with the popup "Safari cannot download this file." Even if I try just emailing the generated .pkpass file to myself, it won't open in Wallet.
For anyone who may be wondering, I got it to work by changing the web host to https. Then I ran into another problem getting automatic updates to work, solved here: How to allow HTTP webServiceURL in apple wallet's pass.json file

How debug Universal links

I use the cordova plugin "ionic-plugin-deeplinks" (to my knowledge also works with a plain cordova app).
On Android, links when clicked let users choice between chrome and my application.
=> I suppose that app links works
=> As I'm able to access window.IonicDeeplink and redirect the user to the right page
I'm not able to have the same behavior on iOS, when I click a link I always get the app open in Safari.
How can I find clue on issues ?
More context:
apple-app-site-association is got with a HTTP 200 (over https only), it's located in /.well-known/apple-app-site-association:
I checked TeamID and BundleID 5 times (at least);
with the branch.io validator i get all validations green:
Your domain is valid (valid DNS).
Your file is served over HTTPS.
Your server does not return error status codes greater than 400.
Your file's 'content-type' header was found :)
Your JSON is validated.
with the apple validator, I got : "Action required
Could not extract required information for Universal Links. Learn how to implement the recommended Universal Links.
Error no apps with domain entitlements
The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update." (but some devs said that working app add the same error) what to do with that result?
when monitoring server's log while installing the app with Xcode I see a request get a HTTP 200 on apple-app-site-association
while installing the app with Xcode I got no logs referring to swcd in Xcode (I read here that I should if I had error while installing the app). Is a successful installation silent?
I followed that guide to setup entitlements, but some things feel odd with it:
Unlike the snapshot in the guide, I didn't found any *.entitlements file in my project. Should I have one with cordova? (my xCode seems to remember my setting though). Is it possible to check that installed app get entitlements?
I did set my domain in Xcode like this: applinks:mydomain.com and the switch is ON. But I never uploaded any thing from my local dev environment to apple services. Should I have? If yes, how ?
My current interrogations are highlighted but any explanations on any lack of understanding will be more than welcome!!!
Until then I started a verification for testFlight looking for more info.
while installing the app with Xcode I got no logs referring to swcd in xCode
I implemented Universal Links manually, but situation was similar. Particularly I mentioned empty swcd process log while installing the app, and it turned out that most likely iOS didn't even try to download apple-app-site-association file, like if responsible process wasn't run. In my case device restart helped and deep-linking began to work.
Thus I think restarting device is one another step in troubleshooting when you are sure about all your setup.
For anyone trying to debug this in development:
In XCode, ensure you're editing the Debug version of Signing & Capabilities.
To bypass the Apple Universal Links CDN, configure your Debug domains like applinks:?mode=developer -- adding that query string in development is important.
On your iOS Device, go to Settings->Developer->Universal Links and ensure the Associated Domains Development toggle is switched on.
On your iOS Device in Settings->Developer->Universal Links->Diagnostics, enter your Universal Links URL and ensure you get a green checkmark.
After following all of these steps, Universal Links work locally.

How to set user name in Philips Hue

I have downloaded Hue-Emulator and after running the emulator by running this url http://localhost:8000/api/newdeveloper/ I am getting the config.
I am using Apple SDK to control the lights.
After following SDK steps 1 to 4 using following code to connect to the device.
I am using the IP address and mac address shown in config.
[self.phHueSDK setBridgeToUseWithIpAddress:#"192.168.2.13:8000" macAddress:#"00:00:81:10:ab:ee"];
And after using PUSHLink notification
I am getting No Connection error and
When I Use enable connection i am getting No Authentication error.
In NS Log I am getting this errors.
The code taking Username 1i71xQmdLjajcqAk but it should be newdeveloper according to the HUE emulator. please anyone suggest how can i recover from this error.
I have never used the Apple SDK with the Emulator, but creating new users in the Emulator is supported so it should work.
When you create your new user in your app, do you see a white message in the emulator console (saying link button not pressed)? if so, then mouse click the bridge image 'within 30 seconds' and this should authenticate. From your log file it appears this is what is missing.

iOS Developer Enterprise Program - Hosting on Web Server

I am new to this site, so bear with me. I just wanted to ask a quick question regarding the iOS Developer Enterprise Program. I am enrolled, and I have made a few apps that are ready for in-house distribution. I have uploaded the .plist and .ipa file to my website in a separate directory. However, whenever anybody tries to download it, they just get the error message "Could not connect to website.com". Then, when I open up Xcode and launch the console when my iPhone is connected and I try to download it, Xcode displays this: "Could not load download manifest with underlying error: (null)". The null part really throws me off. Everyone has iOS 7.1 (or mostly everyone), and the website does have an SSL certificate, so I can't figure out why it is showing that error. Any help with this would be great.
Thanks!
Was ready to give up and change SSL provider, but managed to get the reason for me. Hope this will help for someone:
Problem occurred because my server was responding 403 Forbidden for manifest download request by Safari (because this request does not send cookies required for being authorised).
You need to make sure that the website that hosts the .plist and the .ipa files uses https. This is a requirement in iOS 7.1 and above.

Blackberry error: "Module attempts to access secure API"

I am trying to run my application on Blackberry 9360. I am getting an error:
Module attempts to access secure API
I have already signed the application, but still I am getting this error. Can anybody tell me the solution?
You will need to sign the code every time you make a new build.
I had to move the code over to blackberry device using Eclipse > > Load Project(s) on device, as opposed to using blackberry desktop manager.
If you are using Windows, make sure you have turned UAC off.
make sure your signing keys are valid. If it is please build the code again and re-sign it. So the sign the code again and make sure all succeeds. it should work. I had a look at Signing server status and it shows that some of them failed. So maybe you tried to sign during the failure period.

Resources