Apple certificate application, unityoc interaction basis, unityoc Interaction

Source: Internet
Author: User
Tags key string

Apple certificate application, unityoc interaction basis, unityoc Interaction

When registering a developer account: Do not use a Chinese email

$99 certificate: Only AppStore upload is supported.

$299 certificate: indicates that my developed applications only support packaging and installation, and are enterprise-level.

 

If you have applied for a developer account, that is, after paying a few hundred dollars, you can enter the background.

1. Create a development certificate. Use the key string tool of mac and certificate assistant-to apply for an Apple certificate. This is an object after the application is successfully downloaded.

2. Go to Apple's official website,

Website map-> developers-> overview-> Members in the upper right corner-> members log on to the background,

Add device: insert our iPhone to Xcode to view the device Number of the iPhone and add it to the device list.

3. In the request certificate here: an ios developer certificate must be generated

 

The certificate here has two options: at least one development and debugging certificate must be generated. here you need to upload a local certificate request file:


After uploading, you will get a certificate file. The official website of apple will provide feedback based on the certificate you requested. here we need to download this certificate file. You can install the downloaded certificate by double-clicking. The downloaded certificate is installed in the key string tool logon by default. As follows:

4. If the device has a certificate, a description file is required. Here:

Select the device to be debugged-add app id-add an adjustable device-name allMyDev all the adjustable devices


Create a resource configuration file and download it.

5. If Xcode is installed on your computer, double-click the resource configuration file to install it. The resource configuration file will be installed in Xcode.

 

 

 

Oc unity Interaction:

 

If Unity calls iOS, we also need to create a new plugins folder in the resource configuration file and add the current scenario to build. At this time, we can put the oc code in plugins.

We can release the scenario first, so we can get to an Xcode project.

The Cocos project can be run in the simulator.

The Unity project must be run on a real machine.

Because: the cpu in our mobile phone uses the ARM architecture, and the cpu in the computer is the intel X86 architecture. The Cocos project is open-source. If we run it on a computer, the project can be compiled into an x86 architecture. If we run it on a mobile phone, we can build it into an ARM architecture, so the cocos project can run on the iPhone and computer.

To package it into an Xcode project, you need to use the unitysendMessage function.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.