"ionic run ios" How to add preparation profiles

I want to use Ionic to run my application on my iOs device with the pen function turned on. According to the docs, this should be easy:

ionic run ios --device -l

Of course, I need to add training profiles, but how should I do this?

I have a .mobileprovision and .p12 certificate, but no matter what I do, I still get this error when I run the command:

No matching provisioning profiles found: No provisioning profiles with a valid signing identity (ie certificate and private key pair) matching the bundle identifier "<MyBundleID>" were found

How do I add my training profiles? I can not find information about this in the framework documents.

Note. I can reuse the project using Xcode, but then I do not get the download in real time. Plus, I would rather do everything with the CLI.

+5
source share
1 answer

You need to go to Xcode and add these provisioning profiles to your device.

Install these preparation profiles in the build process and add the profile to the device.

Although you may not be using Visual Studio, their installation explanation works for all methods of creating Ionic applications.

The documentation is here , but to tell you what is going on:

  • Make sure you have a developer account to create provisioning profiles.
  • You must be logged into iTunes Connect to add your device as a test device.
  • Create Application ID
  • Create a provisioning profile associated with this application identifier
  • Download the initialization file in Xcode
  • Add initialization file to your device using Xcode
  • Launch ios ion launch --device -l

That should do the trick.

Follow the steps to set up Microsoft, starting with creating a provisioning profile.

+6
source

Source: https://habr.com/ru/post/1243234/


All Articles