Appcelerator Titanium: Code Error: No Identification Codes

It drives me crazy, I spent about 10 hours removing and updating Apple keys and provisioning profiles for the Appcelerator Titanium iPad app. I had it all, working and compiling 1 year ago, then my Mac crashed and I had to reformat and start all over again.

I canโ€™t get through this error: โ€œCode sign error: no identifiers for identification codes were found (that is, pairs of certificates and private keys) that match the preparation profile specified in the build settings (โ€œ Okland Construction 2014 โ€).โ€

At the Apple Developer Center, I created the necessary distribution profiles and installed them in my keychain, but I always get this error.

I just donโ€™t know what is missing or not.

I already read this and the following instructions, to no avail:

iOS 7.0 Code Signing IDs Not Found

Hope someone can help before I lose my mind. 10 hours, 100+ attempts, restarts, deletes, regenerates.

+6
source share
2 answers

Assuming you are trying to deploy an application to a device,

In two situations, this problem occurs.

  • If you have not installed a preliminary profile and the corresponding developer certificate on your computer.

    • You need to use the correct developer certificate and training profile. Go to your keychain and check if a developer certificate is installed that matches the profile of your software.
    • If a developer certificate is not installed, you can download it from the developer center or create a new developer certificate.
    • If you are creating a developer certificate, you need to request a certificate from the authority, then upload the .certSigningRequest file to the developer center and create a developer certificate. Then update the current provisioning profile.
  • Running configuration for your project is incorrect.

    • In some cases, Titanium Studio does not reset your project configuration automatically. Therefore you need to reset it manually. For this
    • Open your Titanium studio, then open your project.
    • Right-click on the project and select "Run As" - "Run Configurations" (see image 1)

enter image description here

  • Select the development certificate, training profile, and device on the next screen (see Figure 2).

enter image description here

  • Click the start button and then the Apply button.

Hope this helps you.

+7
source

My application could not be compiled after following the instructions in the selected answer. I found that the answer above was correct after I did the following.

  • Open the xcode project in {app-root-directory} / build / iphone / {app-name} .xcodeproj
  • Verified identity. Xcode reported that I did not have a private key for the developer certificate that I used.
  • Revoke and reissue the developer certificate in Xcode.
  • Removed all my old named developer certificates in the application to access the keychain.
  • Download and install a new developer certificate from developer.apple.com
  • Created, downloaded and installed a new provisioning profile for the application.
  • Learn about the new uuid for the new app preparation profile.
  • Follow the instructions in the selected answer above.
  • Now it compiles.

Installing, deploying, and distributing on Android is much simpler ... I really prefer iOS devices, but now I'm developing for Android primarily because of the barriers set by the Apple Certificate system.

+1
source

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


All Articles