{ "id": "174620", "key": "TIMOB-27713", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2020-02-03T20:08:50.000+0000", "created": "2020-01-09T20:29:39.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling", "engTriage" ], "versions": [], "issuelinks": [ { "id": "58133", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174679", "key": "AC-6477", "fields": { "summary": "I am trying to build with xcode 11 and sdk 8.3.1.GA and I am getting this message - [ERROR] Invalid \"--distribution-name\" value", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2020-02-03T20:08:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Unable to package for distribution using SDK 8.3.0 but OK with 8.0.0\r\n\r\nCreate Hello World app and try to package for ios adhoc distribution. You will get:\r\n\r\n[ERROR] : Invalid \"--distribution-name\" value \"iPhone Distribution: Leor Brenman (7GZQ9W5WSG)\"\r\nFor help, run: titanium.js help build\r\n\r\nUsing SDK 8.0.0 works fine in same environment", "attachment": [ { "id": "67257", "filename": "certs.txt", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-31T16:52:18.000+0000", "size": 9651, "mimeType": "text/plain" }, { "id": "67258", "filename": "info 800.txt", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-31T16:52:18.000+0000", "size": 155630, "mimeType": "text/plain" }, { "id": "67259", "filename": "info 830.txt", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-31T16:52:18.000+0000", "size": 178369, "mimeType": "text/plain" } ], "flagged": false, "summary": "Unable to package for ios adhoc distribution using SDK 8.3.0 but OK with 8.0.0", "creator": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "453601", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ssekhri] can you try to reproduce this issue?", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T21:37:54.000+0000", "updated": "2020-01-09T21:37:54.000+0000" }, { "id": "453618", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce the issue using 8.3.0.GA. Was able to successfully package a default alloy project via studio as well as CLI.\r\nEnvironment:\r\nMac OS: 10.15.1\r\nSDK: 8.3.0.GA\r\nAppc CLI: 7.1.2\r\nJDK: 11.0.4\r\nNode: 10.16.3\r\nStudio: 6.0.0.201911251516\r\nXcode: 11.2\r\n\r\nAlso tried the following and couldn't reproduce the issue:\r\n1. Tried with different xcode versions (11.2, 11.0, 10.3)\r\n2. Tried with Appc CLI 7.1.2 and 7.1.0\r\n3. Added an expired adhoc distribution profile along with the already present valid profile. Both profiles were shown with appropriate status using ti info and daemon. Also no issues with package using the valid profile.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T22:59:31.000+0000", "updated": "2020-01-09T22:59:31.000+0000" }, { "id": "453729", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lbrenman] Are you still seeing this issue?", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-16T23:15:10.000+0000", "updated": "2020-01-16T23:15:10.000+0000" }, { "id": "453730", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "[~ahutton] I stopped using 8.3.0 and instead I'm using 8.0.0. Has something changed that 8.3.0 would work for me now?", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-16T23:54:14.000+0000", "updated": "2020-01-16T23:54:14.000+0000" }, { "id": "453742", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lbrenman] It wasn't reproducible on our side. Could you do a *app ti info* and send me the output?", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-17T21:55:09.000+0000", "updated": "2020-01-17T21:55:09.000+0000" }, { "id": "453743", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "Leors-MacBook-Air:~ leorbrenman$ appc ti info\r\nAppcelerator Command-Line Interface, version 7.1.2\r\nCopyright (c) 2014-2020, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 10.14.1\r\n npm Version = 6.4.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n node-appc Version = 0.2.49\r\n\r\nTitanium SDKs\r\n 8.3.0.GA\r\n Version = 8.3.0\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA\r\n Platforms = iphone, android\r\n git Hash = 2a73828e30\r\n git Timestamp = 11/21/2019 00:09\r\n node-appc Version = 0.3.4\r\n 8.1.1.GA\r\n Version = 8.1.1\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA\r\n Platforms = iphone, android\r\n git Hash = 0148ee6e79\r\n git Timestamp = 8/29/2019 14:08\r\n node-appc Version = 0.3.3\r\n 8.0.2.GA\r\n Version = 8.0.2\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/8.0.2.GA\r\n Platforms = iphone, android\r\n git Hash = a12da5b9ce\r\n git Timestamp = unknown\r\n node-appc Version = 0.2.47\r\n 8.0.1.GA\r\n Version = 8.0.1\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/8.0.1.GA\r\n Platforms = iphone, android\r\n git Hash = c4f6f25c7d\r\n git Timestamp = unknown\r\n node-appc Version = 0.2.47\r\n 8.0.0.GA\r\n Version = 8.0.0\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.GA\r\n Platforms = iphone, android\r\n git Hash = 3726240fa2\r\n git Timestamp = unknown\r\n node-appc Version = 0.2.47\r\n 7.5.2.GA\r\n Version = 7.5.2\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/7.5.2.GA\r\n Platforms = iphone, android\r\n git Hash = 31f9aa4\r\n git Timestamp = 4/2/2019 17:36\r\n node-appc Version = 0.2.47\r\n 7.4.0.GA\r\n Version = 7.4.0\r\n Install Location = /Users/leorbrenman/Library/Application Support/Titanium/mobilesdk/osx/7.4.0.GA\r\n Platforms = iphone, android\r\n git Hash = c625ad446f\r\n git Timestamp = 9/13/2018 18:45\r\n node-appc Version = 0.2.45\r\n\r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n Not installed\r\n\r\nJava Development Kit\r\n Version = 1.8.0_162\r\n Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home\r\n\r\nGenymotion\r\n Path = not found\r\n Genymotion Executable = not found\r\n Genymotion Player = not found\r\n Home = not found\r\n\r\nVirtualBox\r\n Executable = not found\r\n Version = unknown\r\n\r\nAndroid SDK\r\n Android Executable = not found\r\n ADB Executable = /Users/leorbrenman/Library/Android/sdk/platform-tools/adb\r\n SDK Path = /Users/leorbrenman/Library/Android/sdk\r\n\r\nAndroid NDK\r\n NDK Path = not found\r\n NDK Version = not found\r\n\r\nAndroid Platforms\r\n 1) android-19\r\n Name = Android 4.4.2 **Not supported by Titanium SDK 8.3.0.GA**\r\n API Level = 19\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs =\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-19\r\n 2) android-21\r\n Name = Android 5.0.1 **Not supported by Titanium SDK 8.3.0.GA**\r\n API Level = 21\r\n Revision = 2\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs =\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-21\r\n 3) android-23\r\n Name = Android 6.0\r\n API Level = 23\r\n Revision = 3\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare240x240, AndroidWearSquare320x320\r\n ABIs = armeabi-v7a, x86, x86_64\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-23\r\n 4) android-26\r\n Name = Android 8.0.0\r\n API Level = 26\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs =\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-26\r\n 5) android-27\r\n Name = Android 8.1.0\r\n API Level = 27\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs =\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-27\r\n 6) android-28\r\n Name = Android 9\r\n API Level = 28\r\n Revision = 1\r\n Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in\r\n ABIs = x86\r\n Path = /Users/leorbrenman/Library/Android/sdk/platforms/android-28\r\n\r\nAndroid Add-Ons\r\n None\r\n\r\nAndroid Emulators\r\n Nexus 5X API 28 x86\r\n ID = Nexus_5X_API_28_x86\r\n SDK Version = Android 9 (API level 28)\r\n ABI = x86\r\n Skin = nexus_5x\r\n Path = /Users/leorbrenman/.android/avd/Nexus_5X_API_28_x86.avd\r\n SD Card = /Users/leorbrenman/.android/avd/Nexus_5X_API_28_x86.avd/sdcard.img\r\n Google APIs = yes\r\n\r\nGenymotion Emulators\r\n None\r\n\r\nConnected Android Devices\r\n None\r\n\r\nXcode\r\n 10.3 (build 10G8) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 12.4\r\n iOS Simulators = 12.4\r\n Watch SDKs = 5.3\r\n Watch Simulators = 5.3\r\n Supported by TiSDK 8.3.0.GA = yes\r\n EULA Accepted = yes\r\n Teams = none\r\n\r\niOS Keychains\r\n login.keychain-db = /Users/leorbrenman/Library/Keychains/login.keychain-db\r\n System.keychain = /Library/Keychains/System.keychain\r\n\r\niOS Development Certificates\r\n/Users/leorbrenman/Library/Keychains/login.keychain-db\r\n iPhone Developer: Leor Brenman (5GJ26LZ8AV)\r\n Not valid before = 1/30/2019 8:01 AM\r\n Not valid after = 1/30/2020 8:01 AM\r\n iPhone Developer: Leor Brenman (5GJ26LZ8AV)\r\n Not valid before = 4/8/2019 7:11 PM\r\n Not valid after = 4/7/2020 7:11 PM\r\n\r\niOS App Store Distribution Certificates\r\n/Users/leorbrenman/Library/Keychains/login.keychain-db\r\n iPhone Distribution: Leor Brenman (7GZQ9W5WSG)\r\n Not valid before = 1/30/2019 8:00 AM\r\n Not valid after = 1/30/2020 8:00 AM\r\n iPhone Distribution: Leor Brenman (7GZQ9W5WSG)\r\n Not valid before = 4/8/2019 7:10 PM\r\n Not valid after = 4/7/2020 7:10 PM\r\n\r\nApple WWDR Certificate\r\n Apple WWDR = installed\r\n\r\nDevelopment iOS Provisioning Profiles\r\n wildcard dev\r\n UUID = 5f3655c1-da8a-4c7b-8911-b4683bfd37b7\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 1/30/2019 8:24 AM\r\n Date Expired = 1/30/2020 8:24 AM\r\n Managed = No\r\n wildcard MBA Dev\r\n UUID = f25e2b26-e142-4b00-85fb-1082179813c5\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 4/8/2019 7:27 PM\r\n Date Expired = 4/7/2020 7:27 PM\r\n Managed = No\r\n\r\nApp Store Distribution iOS Provisioning Profiles\r\n None\r\n\r\nAd Hoc iOS Provisioning Profiles\r\n Geofence Push\r\n UUID = 0496367f-ea34-4af6-ad79-83857c9a5838\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = com.leorbrenman.gfs\r\n Date Created = 1/30/2019 8:26 AM\r\n Date Expired = 1/30/2020 8:00 AM\r\n Managed = No\r\n Griffin Healthcare Distribution\r\n UUID = 0f351d4f-cca3-4c52-b9c6-30aad39012e1\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = com.leorbrenman.ghc\r\n Date Created = 1/30/2019 8:25 AM\r\n Date Expired = 1/30/2020 8:00 AM\r\n Managed = No\r\n MyApprovals Distribution\r\n UUID = 855d0583-f011-4e1d-8964-b57d9381257b\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = com.appcelerator.myapprovals\r\n Date Created = 9/11/2019 2:26 PM\r\n Date Expired = 4/7/2020 7:10 PM\r\n Managed = No\r\n wildcard\r\n UUID = 06cd9c2c-5246-46a2-9368-5c828e0c9435\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 6/18/2019 3:43 PM\r\n Date Expired = 1/30/2020 8:00 AM\r\n Managed = No\r\n wildcard\r\n UUID = 8235dec4-7592-4db3-a7f5-215f33fdb4de\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 1/30/2019 8:25 AM\r\n Date Expired = 1/30/2020 8:00 AM\r\n Managed = No\r\n wildcard MBA\r\n UUID = 3c5ca8de-5fcd-4bb1-81bc-c65009f41415\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 6/18/2019 3:48 PM\r\n Date Expired = 4/7/2020 7:10 PM\r\n Managed = No\r\n wildcard MBA\r\n UUID = f65e9c69-c8e3-4623-b8c5-3bff13a8801a\r\n App Prefix = 7GZQ9W5WSG\r\n App Id = *\r\n Date Created = 1/15/2020 7:08 AM\r\n Date Expired = 4/7/2020 7:10 PM\r\n Managed = No\r\n\r\nEnterprise Ad Hoc iOS Provisioning Profiles\r\n None\r\n\r\niOS Simulators\r\n12.4\r\n iPad Air (3rd generation) (ipad)\r\n UDID = B866721E-C83B-418E-9FA9-A0A31D941857\r\n Supports Watch Apps = no\r\n iPad Air (ipad)\r\n UDID = 87F09FE9-BFF0-4E85-9D9D-359544E6A9A1\r\n Supports Watch Apps = no\r\n iPad Air 2 (ipad)\r\n UDID = 2795B435-824A-4042-9CC7-EC09DD6C4D3E\r\n Supports Watch Apps = no\r\n iPad (5th generation) (ipad)\r\n UDID = 71EBCB2E-6F95-4533-9882-E8AC06542477\r\n Supports Watch Apps = no\r\n iPad Pro (9.7-inch) (ipad)\r\n UDID = 4B090E09-8949-47B5-B1D0-A5796946AB8C\r\n Supports Watch Apps = no\r\n iPad Pro (12.9-inch) (ipad)\r\n UDID = C132174B-60D5-4EFB-AD1D-EC96F4041BDA\r\n Supports Watch Apps = no\r\n iPad Pro (12.9-inch) (2nd generation) (ipad)\r\n UDID = FDA21019-7AC2-4D55-9626-A97DC185A8F9\r\n Supports Watch Apps = no\r\n iPad Pro (10.5-inch) (ipad)\r\n UDID = FFF341B0-34BC-4CA2-A711-819F5FBFD4AD\r\n Supports Watch Apps = no\r\n iPad (6th generation) (ipad)\r\n UDID = 5355E0A9-1D1D-4064-9DA3-8DC1531E937C\r\n Supports Watch Apps = no\r\n iPad Pro (11-inch) (ipad)\r\n UDID = 96BF1B4B-D7C0-4FE5-ABF2-FC5E6E445257\r\n Supports Watch Apps = no\r\n iPad Pro (12.9-inch) (3rd generation) (ipad)\r\n UDID = 300828D3-82F6-4FA1-9D0E-A6F796DDEF60\r\n Supports Watch Apps = no\r\n iPhone 8 (iphone)\r\n UDID = 82E69FC8-26F2-466A-BE2E-67108068F3C2\r\n Supports Watch Apps = yes\r\n iPhone 8 Plus (iphone)\r\n UDID = C120642A-2CA8-477E-A12A-00252D7D5DFA\r\n Supports Watch Apps = yes\r\n iPhone X (iphone)\r\n UDID = 48A83B93-4311-4A29-A524-01394B673DF3\r\n Supports Watch Apps = yes\r\n iPhone Xs (iphone)\r\n UDID = A0FEFA7A-DBCB-4079-BC0E-7033C4042474\r\n Supports Watch Apps = yes\r\n iPhone Xs Max (iphone)\r\n UDID = DE1064E0-D3CC-46B4-A631-857D1F291C7F\r\n Supports Watch Apps = yes\r\n iPhone Xʀ (iphone)\r\n UDID = EDD02D9A-8ACC-4583-AB1C-2D86AF260667\r\n Supports Watch Apps = yes\r\n iPhone 5s (iphone)\r\n UDID = C6A84F47-93E8-4920-A1D4-E24F5472D3A1\r\n Supports Watch Apps = yes\r\n iPhone 6 Plus (iphone)\r\n UDID = 996DC6A9-3F6D-4D81-88AF-B9944E58F78E\r\n Supports Watch Apps = yes\r\n iPhone 6 (iphone)\r\n UDID = 654A954D-63E1-45D4-98D2-7AFBC86F2F4E\r\n Supports Watch Apps = yes\r\n iPhone 6s (iphone)\r\n UDID = 6C31F8A5-B1A4-431B-89A4-4B6F6E62CE40\r\n Supports Watch Apps = yes\r\n iPhone 6s Plus (iphone)\r\n UDID = D0FF4372-E8FC-4D51-90F8-7983A710196B\r\n Supports Watch Apps = yes\r\n iPhone SE (iphone)\r\n UDID = F81CDADD-A771-4FBF-844F-EE156A4B5C03\r\n Supports Watch Apps = yes\r\n iPhone 7 (iphone)\r\n UDID = 5B5A19FC-6273-444A-A9FA-EAF5CDBB1522\r\n Supports Watch Apps = yes\r\n iPhone 7 Plus (iphone)\r\n UDID = CAB0B9F9-F376-462A-B7DC-9CD2C3425441\r\n Supports Watch Apps = yes\r\n\r\nWatchOS Simulators\r\n5.3\r\n Apple Watch Series 2 - 38mm (watch)\r\n UDID = 8124460E-8955-47CD-B682-B4D9C6DE1315\r\n Apple Watch Series 2 - 42mm (watch)\r\n UDID = 6747BCDB-8FC4-44C2-87A2-24FB27995CCB\r\n Apple Watch Series 3 - 38mm (watch)\r\n UDID = BDD2DF0D-3FA3-4568-BABD-2434289A31FC\r\n Apple Watch Series 3 - 42mm (watch)\r\n UDID = 0792AB7A-A09D-406C-91C4-737C6604AC48\r\n Apple Watch Series 4 - 40mm (watch)\r\n UDID = 05B635D0-789C-4300-A752-4B9123952CEC\r\n Apple Watch Series 4 - 44mm (watch)\r\n UDID = D9D88555-D2A5-489E-B587-3AF0F7824057\r\n\r\nConnected iOS Devices\r\n None\r\n\r\nAndroid Issues\r\n ! Unable to locate an Android NDK.\r\n Without the NDK, you will not be able to build native Android Titanium modules.\r\n If you have already downloaded and installed the Android NDK, you can tell Titanium where the\r\n Android NDK is located by running 'appc titanium config android.ndkPath /path/to/android-ndk',\r\n otherwise you can install it by running 'appc titanium setup android' or manually downloading\r\n from http://appcelerator.com/android-ndk.\r\n\r\n ! Android API Android 4.4.2 (android-19) is too old and is no longer supported by Titanium SDK\r\n 8.3.0.\r\n The minimum supported Android API level by Titanium SDK 8.3.0 is API level 23.\r\n\r\n ! Android API Android 5.0.1 (android-21) is too old and is no longer supported by Titanium SDK\r\n 8.3.0.\r\n The minimum supported Android API level by Titanium SDK 8.3.0 is API level 23.\r\n\r\niOS Issues\r\n ! Unable to find any valid iOS distribution provisioning profiles.\r\n This will prevent you from packaging apps for AppStore distribution.\r\n You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer\r\n account, then create, download, and install a profile.", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-17T22:03:42.000+0000", "updated": "2020-01-17T22:03:42.000+0000" }, { "id": "453744", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~ahutton] The problem is likely due to a difference in how ioslib v1 and v2 detect the certs. He's using Studio which means Studio is calling the Appc Daemon and invokes ioslib v2. The result from ioslib v2 is passed into a ti build and ti build uses v1 and v1 doesn't detect the cert as valid.\r\n\r\nWe know SDK 8.3.0.GA uses ioslib v1.7.19.\r\n\r\nWhat we don't know is what version of ioslib v2 is the iOS Appc Daemon plugin using. We could guess if we knew what version of the Appc CLI he's is using, but it's probably easier to just run {{appc appcd exec /ios/1.x}}.\r\n\r\nAlso, are 100% sure we're dealing with a Ad-hoc build and not an App Store build? It affects what type of certs are used.\r\n\r\nI have verified that ioslib v1 is properly decoding his cert, but I still don't know why the Appc Daemon is returning more certs that ti info. We should compare the output of {{appc ti info -t ios -o json}} and {{appc appcd exec /ios/1.x/info/certs}}.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-17T22:10:36.000+0000", "updated": "2020-01-17T22:10:36.000+0000" }, { "id": "453745", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "I'm doing an adhoc build", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-17T22:12:01.000+0000", "updated": "2020-01-17T22:12:01.000+0000" }, { "id": "453981", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~lbrenman] Can you please do some digging on your end and help us out? I am interested to compare the output from {{appc ti info -t ios -o json --sdk 8.0.0.GA}}, {{appc ti info -t ios -o json --sdk 8.3.0.GA}}, and {{appc appcd exec /ios/1.x/info/certs}}.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-31T16:10:27.000+0000", "updated": "2020-01-31T16:10:27.000+0000" }, { "id": "453986", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "[~cbarber] Attached are the responses [^certs.txt] [^info 800.txt] [^info 830.txt] ", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2020-01-31T16:52:23.000+0000", "updated": "2020-01-31T16:52:23.000+0000" }, { "id": "454002", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~lbrenman] Thank you for the logs.\r\n\r\nIn short, I don't know what's going on. I don't know why 8.0.0.GA works and 8.3.0.GA doesn't.\r\n\r\nThe daemon is finds 2 distribution certs: 1 valid, 1 expired. It doesn't matter because they both have the same name and fullname. Studio passes in the fullname into the {{\\-\\-distribution-name}} option. So the problem doesn't appear to be daemon or Studio related.\r\n\r\nNext is the Titanium CLI arg parser. This is actually where the error is coming from. When Studio calls the Titanium CLI, it sets {{\\-\\-no-prompt}}. This means it will validate all options and determine which options are invalid and/or missing. This code hasn't been touched in 2 years and because it works with 8.0.0.GA, I don't think the Titanium CLI is the problem.\r\n\r\nThat leaves one place left, the Titanium SDK iOS build distribution name callback. Turns out this code was touched back in August 2019! https://github.com/appcelerator/titanium_mobile/pull/11188\r\n\r\nThe Titanium CLI calls the distribution name validate() callback. This callback is returning the error, but the Titanium CLI never prints this error. Instead it prints a generic \"invalid\" error.\r\n\r\nInside the validate() callback, there are 3 ways it will error.\r\n\r\n1. The value was a literal boolean as is the case when you specify {{\\-\\-distribution-name}} without a value. This is not the case here.\r\n2. It finds more than 1 cert with a matching name. Since ioslib only finds 1 dist cert, this is also not the case here.\r\n3. Then there's a catch all where value is empty (not the case here) or it didn't find any matching dist certs.\r\n\r\nThe only thing that makes sense is it didn't find a match, but I don't see why not.\r\n\r\nTo debug this, we need do some digging.\r\n\r\nPlease edit the {{~/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/iphone/cli/commands/_build.js}}, go to line 853 and replace the entire validate() function with this:\r\n\r\n{code}\r\n\t\tvalidate: function (value, callback) {\r\n\t\t\tconsole.log('DISTRIBUTION NAME VALIDATE');\r\n\t\t\tconsole.log('target =', cli.argv.target);\r\n\t\t\tconsole.log(typeof value);\r\n\t\t\tconsole.log(value);\r\n\t\t\tconsole.log('distributionCertLookup:');\r\n\t\t\tconsole.log(distributionCertLookup);\r\n\r\n\t\t\tif (typeof value === 'boolean') {\r\n\t\t\t\treturn callback(true);\r\n\t\t\t}\r\n\t\t\tif (cli.argv.target !== 'dist-appstore' && cli.argv.target !== 'dist-adhoc') {\r\n\t\t\t\treturn callback(null, value);\r\n\t\t\t}\r\n\r\n\t\t\tif (value) {\r\n\t\t\t\t// value can either be a fullname (Apple Distribution: Joe Bloggs (TEAMID)) or just name (Joe Bloggs (TEAMID)). We want to use fullname, so if we were provided\r\n\t\t\t\t// a name try to map it back to the correct format.\r\n\t\t\t\tconst v = distributionCertLookup.filter(cert => cert.name.toLowerCase() === value.toLowerCase() || cert.fullname.toLowerCase() === value.toLowerCase());\r\n\r\n\t\t\t\tconsole.log('matches:', v.length);\r\n\t\t\t\tconsole.log(v);\r\n\r\n\t\t\t\tif (v.length === 1) {\r\n\t\t\t\t\treturn callback(null, v[0].fullname);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (v.length > 1) {\r\n\t\t\t\t\treturn callback(new Error(__('Unable to determine correct certificate from supplied value')));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcallback(new Error(__('Invalid distribution certificate \"%s\"', value)));\r\n\t\t}\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-31T22:10:18.000+0000", "updated": "2020-01-31T22:10:18.000+0000" }, { "id": "454018", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Resolving as the problem seems to have gone away!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-03T20:08:50.000+0000", "updated": "2020-02-03T20:08:50.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }