NativeScript Sidekick Errors while Generate Provisioning Profile and Certificate - ios

I am trying to setup a Mobile development environment, a true WORA.
NativeScript seems to be ticking all the boxes.
I have therefore installed Visual Studio Code with NativeScript Plugin and SideKick. I am trying to do a simple thing at the moment, namely testing HelloWorld App on physical devices such as Android Tablet/Phone and iPad. Android was a breeze however iPad proved to be a pain. I am trying to use "iOS Auto Generate Provisioning Profile and Certificate" inside SideKick but I am getting two types of errors:
1) Using my Main Apple ID (with no Developer account) I am getting following message:
An error has occured while generating the certificate and mobile provision. Reason: Two-step verification not supported at the moment
Fair enough, I thought I will try a Free Apple ID (as advised in SideKick documentation, see result in next bullet point)
2) Free (newly created) Apple ID
An error has occured while generating the certificate and mobile provision. Reason: Could not find app with bundle id. (node:12659) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated. Could not find app with bundle id
Is there any step-by-step walk through on how to test simple apps on your local Apple devices?!?
Many thanks in advance

The issue could be the bundle id, for a free account the bundle id must be really unique, across anyone ever used so far.

Related

App Center iOS build unable to verify integrity

I'm working on a Xamarin application and I'm doing iOS builds to run and test on different devices using App Center.
Everything was ok, on Apple Developer I created the Ad-Hoc certificate, the provisioning file, and the identifier and it was all good.
During the last implementation, I added on Entitlements the Associated Domain due to enabling the possibility to use the App Link and let the user open the application using a link provided via email.
I updated the Identifier adding the feature also to it and I downloaded it and uploaded it again to the dedicated branch on App Center, but now when I try to download the app to the device I receive this message:
Unable To Install "App Name". This app cannot be installed because its integrity could not be verified.
I tried different ways trying to solve it:
Create a completely new certificate with a new identifier, provisioning, and .p12 file
Checked Entitlement feature list correspond to the identifier list on Apple Developer
Used different versions of SDK and Xcode on App Center
I already searched around on the web but they talk about the provisioning file list but I already checked and it is updated.
Thank you for your help and for your suggestions.

Ionic Apple push notification signing for development

This is a 3 part question that I'm asking as one because they're tightly related and 2 of them don't warrant being asked on their own.
I have an app that works and has been successfully installed on an iOS device. I've been able to install it with ionic run --device as well as Xcode.
First Question:
I've noticed that I have 2 options for signing - "Lee Nathan" and "Lee Nathan (Personal Team)" even though I've only created one certificate. Can someone explain what this means or where I can find more information about it? Google revealed nothing and I don't know enough to know what to search for.
Second Question:
I've noticed that if I use Xcode to create an IPA for distribution, I have to use the "Lee Nathan" signing team. If I want to build my app with the Ionic command line, I have to use "Lee Nathan (Personal Team)". I prefer the command line because I can attach live reload and debugging tools to my app. But after adding push notifications I get signing errors when I use the personal team but not the regular team. I am able to install from Xcode to my device and receive push notifications though. How can I use the personal team to continue to run from the command line?
Here are my errors:
Failed to create provisioning profile.
The app ID "com.example.yadayada" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
No profiles for 'com.example.yadayada' were found
Xcode couldn't find a provisioning profile matching 'com.example.yadayada'.
Third Question (joke):
The Apple certificate process is ridiculous. Why does Apple hate their developers?

Came up with this unusual error when trying to run my Xcode made app on my iPhone.

I'm currently using the new Xcode-Beta as of the 30th July. I have been playing around and I found some Projects on GitHub that I have been looking at. I have been able to package them and then run them on my iPhone, however when I go to create my own project and run it, I receive this error message:
No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
I'm not sure what the issue is, as I cannot run the app on the simulator or my iPhone
Thanks for your help!
Its because the people on Github posting their own apps have signed them with their apple developer account. You need an apple developer account to create signed applications. Its 100$ a year. https://developer.apple.com

Add App Group entitlement

I'm trying to build an existing application that provides a Today widget. Unfortunately I cannot make the app to communicate with the widget. In the Capabilities section I get the following errors
I've installed appropriate provisioning profiles and I've double-checked that the App ID in DevCenter includes App Groups. Fix Issues button throws an error as I don't have sufficient privileges in the team. What else should I try?
You have to have at least one device in your developer account at the DevCenter.
Hope it helped.

iOS App Failed to Install

I've been browsing the internet for a solution to this issue and have found plenty of threads about the same problem, but there was either no solution found or the ones proposed didn't work.
I followed along with the tutorial linked in the iOS text file in the Air project template for FlashDeveop. Since I do not currently have an iOS device, I've been sending the IPA to a coworker to have him test it. When he attempts to load the application onto the iTouch, he gets an "app failed to install" with no further information on why it failed. Does anyone know what could cause this?
Here's what I've already done/checked:
made sure the app ID in the apple portal matched the ID in the application.xml
sent my co-worker the provision profiled used to create the IPA
tried the test targets (fast test, fast debug, etc) as well as an "ad-hoc" build
recreating the certificates
Its also worth noting that the app runs fine on my Android device, so I'm fairly certain that I've missed something in the certification process for iOS.
Yeah sounds like a provisioning problem. Make sure the UDID of all devices you are targeting are in each listed provisioning profile (Note: You will need to add any additional UDID's added to the developer portal again to any provisioning profile).
Although I strongly recommend using Testflight for your circumstance, makes sending an .ipa extremely easy. https://testflightapp.com/

Resources