Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24709] unable to run iOS app on device during development

GitHub Issuen/a
TypeBug
PriorityNone
StatusResolved
ResolutionNot Our Bug
Resolution Date2017-05-19T17:35:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeBrian Immel
Created2017-05-19T15:37:18.000+0000
Updated2018-10-17T17:53:02.000+0000

Description

get the following error when trying to run the app on device: [ERROR] : Error details: Provisioning profile "generic" doesn't include signing certificate "iPhone Developer: Ilay Sener (QT9JARYJ64)". [ERROR] : Error details: Code signing is required for product type 'Application' in SDK 'iOS 10.3' I was able to package and upload the app and install it on the device, but not able to run my app on the phone for testing from the computer. Following is the output from appc titanium info -t ios Appcelerator Command-Line Interface, version 6.2.1 Copyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved. Xcode 8.3.2 (build 8E2002) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer iOS SDKs = 10.3 iOS Simulators = 10.3 Watch SDKs = 3.2 Watch Simulators = 3.2 Supported by TiSDK 6.0.4.GA = yes EULA Accepted = yes Teams = none iOS Keychains login.keychain-db = /Users/idenizsener/Library/Keychains/login.keychain-db System.keychain = /Library/Keychains/System.keychain iOS Development Certificates /Users/idenizsener/Library/Keychains/login.keychain-db Ilay Sener (QT9JARYJ64) Not valid before = 5/15/2017 7:07 AM Not valid after = 5/15/2018 7:07 AM iOS App Store Distribution Certificates /Users/idenizsener/Library/Keychains/login.keychain-db Ilay Sener (2SH59KJ9WV) Not valid before = 5/15/2017 7:21 AM Not valid after = 5/15/2018 7:21 AM Apple WWDR Certificate Apple WWDR = installed Development iOS Provisioning Profiles generic UUID = 0a9b8958-c4f6-4978-9cbc-c9e1b3b43b27 App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 4/26/2017 10:26 AM Date Expired = 4/26/2018 10:26 AM Managed = No iOS Team Provisioning Profile: com.appc.* UUID = a58d76e5-52e6-4b72-a35f-a445f68620d5 App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 5/19/2017 11:02 PM Date Expired = 5/19/2018 11:02 PM Managed = Yes and is NOT compatible with Titanium KPAY-iOS Development UUID = ca1b4bee-d79d-47ce-804a-f492ab15901a App Prefix = 2SH59KJ9WV App Id = au.com.kpmg.* Date Created = 1/17/2017 5:13 PM Date Expired = 1/17/2018 5:13 PM Managed = No lend lease UUID = f8c6d46d-4a3f-425f-b347-c56d18ccca31 App Prefix = 2SH59KJ9WV App Id = com.appc.wildcard.* Date Created = 4/26/2017 10:46 AM Date Expired = 4/26/2018 10:46 AM Managed = No lendlease UUID = 80e6aaa1-cbb9-4c2a-b5f7-9291ff6cb3ec App Prefix = 2SH59KJ9WV App Id = com.appc.wildcard.* Date Created = 4/26/2017 12:29 PM Date Expired = 4/26/2018 12:29 PM Managed = No lendlease_axle UUID = 7034413c-ab24-49db-9701-6734b156439a App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 4/26/2017 12:42 PM Date Expired = 4/26/2018 12:42 PM Managed = No lendleaseWildcardDev UUID = 3931be37-c273-4837-a9ce-0476fa9c95c9 App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 5/15/2017 7:29 AM Date Expired = 5/15/2018 7:29 AM Managed = No OUHK_development_profile UUID = 9e6da3b0-2791-4b28-8c8c-660162e4d3e6 App Prefix = 2SH59KJ9WV App Id = com.appc.OUHK Date Created = 1/12/2017 10:44 AM Date Expired = 1/12/2018 10:44 AM Managed = No App Store Distribution iOS Provisioning Profiles None Ad Hoc iOS Provisioning Profiles KPAPY-iOS Distribution UUID = 53fa9e16-e3e3-49ed-8c34-36543b02a056 App Prefix = 2SH59KJ9WV App Id = au.com.kpmg.* Date Created = 1/17/2017 5:21 PM Date Expired = 1/17/2018 5:09 PM Managed = No lendlease_dist_prof UUID = 080c3d8b-2fa5-4fde-944f-f23950fb11a2 App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 4/26/2017 12:45 PM Date Expired = 4/26/2018 12:34 PM Managed = No lendleaseWildcard_distProfile UUID = 500c07fd-2ba6-44d2-88a1-b1b34b36d691 App Prefix = 2SH59KJ9WV App Id = com.appc.* Date Created = 5/15/2017 7:33 AM Date Expired = 5/15/2018 7:21 AM Managed = No OUHK_ios_distribution UUID = fe4ea373-72d1-4184-b0db-19dac88aba88 App Prefix = 2SH59KJ9WV App Id = com.appc.OUHK Date Created = 1/12/2017 10:53 AM Date Expired = 1/12/2018 10:41 AM Managed = No wildcard_dist UUID = 0868e323-8d74-4a3b-b5cc-1a88d6e19e68 App Prefix = 2SH59KJ9WV App Id = com.appc.wildcard.* Date Created = 4/26/2017 12:34 PM Date Expired = 4/26/2018 12:22 PM Managed = No Enterprise Ad Hoc iOS Provisioning Profiles None iOS Simulators 10.3 iPad Air (ipad) UDID = D0ECF5E7-31E1-4AE6-A258-B0CD33DAD43B Supports Watch Apps = no iPad Air 2 (ipad) UDID = 80A90F4E-1EE0-44EF-8E8A-2F4E04B91CA1 Supports Watch Apps = no iPad Pro (9.7 inch) (iPad Pro (9.7-inch)) (ipad) UDID = 1BEC07CB-0401-4F76-8EB3-B9CEDD1B6614 Supports Watch Apps = no iPad Pro (12.9 inch) (iPad Pro (12.9-inch)) (ipad) UDID = 822FA0C1-04D7-47C0-AB32-4163F3A4EFAD Supports Watch Apps = no iPhone 5 (iphone) UDID = CB44BD0F-D6E0-4099-B1A1-909FB88B091C Supports Watch Apps = yes iPhone 5s (iphone) UDID = 39C3F0F5-FDF4-46B6-BCE1-19C14FBCD33E Supports Watch Apps = yes iPhone 6 Plus (iphone) UDID = D7E76F49-C6E4-487C-974C-0786A977F3BE Supports Watch Apps = yes iPhone 6 (iphone) UDID = 527D5DDD-8A3B-467F-BD5B-D286CDFDD378 Supports Watch Apps = yes iPhone 6s (iphone) UDID = D2B9FB03-612D-4CC8-9248-84D8B1E50ADD Supports Watch Apps = yes iPhone 6s Plus (iphone) UDID = 620423FF-B081-487F-8557-D1505852663C Supports Watch Apps = yes iPhone SE (iphone) UDID = 250075D8-639C-45C4-B86D-9AAC1B89ED7E Supports Watch Apps = yes iPhone 7 (iphone) UDID = 231B332F-23F1-4476-87DA-4D4352A8CDC9 Supports Watch Apps = yes iPhone 7 Plus (iphone) UDID = 63797164-C27A-4D89-A3F1-9D35E2E09CE7 Supports Watch Apps = yes WatchOS Simulators 3.2 Apple Watch - 38mm (watch) UDID = 63AE289A-2CC1-4509-B49A-F9B12A14A688 Apple Watch - 42mm (watch) UDID = 0EEC345A-97CD-49B3-81A4-707ABE0C5889 Apple Watch Series 2 - 38mm (watch) UDID = 8368BD23-8682-48CB-975D-F46814159348 Apple Watch Series 2 - 42mm (watch) UDID = B7A35D72-ECED-45E7-8C3E-2FA8F05ADBD1 Connected iOS Devices Ilay’s iPhone UDID = 3f135f7cebb246af0a83e6ce8354bac6de6d7273 Type = iPhone (2) iOS Version = 10.3.2 CPU Architecture = arm64 iOS Issues ! Unable to find any valid iOS distribution provisioning profiles. This will prevent you from packaging apps for AppStore distribution. You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer account, then create, download, and install a profile. I have the certificates already installed and able to run an app on the phone using XCode.

Comments

  1. (deactived) Brian Immel 2017-05-19

    [~isener], I moved this issue to TIMOB project as it is not a TIDOC bug.
  2. Hans Knöchel 2017-05-19

    The error is an Xcode error, no Titanium one: {quote} Provisioning profile "generic" doesn't include signing certificate "iPhone Developer: Ilay Sener (QT9JARYJ64)". {quote} It basically means that your provisioning profile is not signed for the your developer account. You need to invalidate it via the iOS dev-portal and re-assign it to your developer certificate. Ensure that you have the private key of the account in your keychain. *EDIT*: And it might work via Xcode because it will select a managed certificate by default. *EDIT 2*: You state that you use the "SDK 6.2.1" which does not exist. Either 6.0.4 (latest GA), 6.1.0 (latest pre-release / RC) or 6.2.0 (master).
  3. ILAY SENER 2017-05-26

    Hi Guys, The reason why this wasn't working is simply because I had multiple profiles and wasn't able to select the profile to run the app on the device. After a little research, I have found a way to delete the other profiles, which I am not able to from Studio. Then it was all fine. Perhaps, it would be a good idea to enable which profile to use to run the app when testing on the device.

JSON Source