When you register your developer account: Be careful not to use China email
$99 Certificate: only support upload AppStore.
299 USD Certificate: Refers to the application that I developed is only supported by package installation. Enterprise-Class.
Suppose you've applied for a developer account. That is, after paying the hundreds of dollars, you will be able to enter the backstage.
1, create a development certificate, using the Mac Keychain tool, certificate Assistant-"to apply for the Apple certificate." This is a file after the application has been successfully downloaded.
2. Enter Apple's official website,
Sitemap-"Developer-" Overview-"top right corner member-" Member login backstage.
Join the device: Plug our iphone into Xcode. You will be able to see the phone's device number and then add it to the device list.
3. Request a certificate here: requires an iOS developer certificate to be generated
The certificate here has two options: at least one development debug certificate must be generated, here you need to upload a local certificate request file:
After uploading, you will get a certificate file, and the Apple website will give you feedback based on the user's application certificate, and we need to download this certificate file here. It is common to install the downloaded certificate by double-clicking it and installing it to the Keychain tool's login by default. For example, the following:
4, the equipment has, the certificate has. A descriptive narrative document is also required. Over here:
Select Debug Device-"Add app id-" Add adjustable device-"name Allmydev all adjustable devices
Create a resource profile-"re-download
5. If Xcode is installed on your computer, we'll double-click the resource profile to install it. This resource profile is installed in Xcode.
Oc Unity Interaction:
Unity calls iOS we also need to create a new plugins directory in the resource configuration file, add the current scene to the build, this time will be able to put the OC code in the plugins.
We can announce the scene first, so that it's a xcodeproject.
The Cocos Project can run in the simulator.
Unity's project requirements must be run in the real machine.
Because: the CPU in our phone is using the ARM architecture, and the CPU of the computer is the Intel X86 architecture. The Cocos project is open source, assuming we are running in the computer. The project can be cross-compiled and compiled into a x86 architecture. Let's say we run in the phone. Can be cross-compiled into an ARM architecture, so the Cocos project can be executed on iphone and PC.
To package into a Xcode project, you need to use the Unitysendmessage function.
Application of Apple Certificate, UNITYOC interaction basis