{ "id": "152246", "key": "TIMOB-19762", "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": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-07T23:59:49.000+0000", "created": "2015-10-22T09:59:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "debugger", "profiler", "qe-5.4.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" }, { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [ { "id": "49439", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151205", "key": "TIMOB-19528", "fields": { "summary": "iOS: Debugging your app onto device will crash on launch and fail on subsequent builds", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49416", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152197", "key": "TISTUD-7799", "fields": { "summary": "Error connecting to profiler and debugger: Error Domain=NSPOSIXErrorDomain Code=2 \"No such file or directory\"", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-29T21:36:36.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": "iOS app Debugging/profiling is getting failed with Mac OS El Capitan. Please find the error below.\r\nBut this works fine if I disable run on main thread flag from iOS section in tiapp.xml file.\r\nTISTUD-7799 is the related ticket for this.\r\n\r\n{code}\r\n[INFO] : productiouser/1.0 (5.2.0.419c5c2)\r\n[INFO] : 2015-10-22 17:45:51.753 productiouser[71613:436649] -[KrollContext contextId]: unrecognized selector sent to instance 0x7fb910c0eec0\r\n[INFO] : 2015-10-22 17:45:51.769 productiouser[71613:436649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[KrollContext contextId]: unrecognized selector sent to instance 0x7fb910c0eec0'\r\n[INFO] : *** First throw call stack:\r\n[INFO] : (\r\n[INFO] : \t0 CoreFoundation 0x000000010d0f5f65 __exceptionPreprocess + 165\r\n[INFO] : \t1 libobjc.A.dylib 0x000000010cac8deb objc_exception_throw + 48\r\n[INFO] : \t2 CoreFoundation 0x000000010d0fe58d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[INFO] : \t3 CoreFoundation 0x000000010d04bf7a ___forwarding___ + 970\r\n[INFO] : \t4 CoreFoundation 0x000000010d04bb28 _CF_forwarding_prep_0 + 120\r\n[INFO] : \t5 productiouser 0x0000000107a99647 TiDebuggerCreate + 167\r\n[INFO] : \t6 productiouser 0x000000010781cb13 -[KrollContext main] + 195\r\n[INFO] : \t7 productiouser 0x000000010781c206 __21-[KrollContext start]_block_invoke + 38\r\n[INFO] : \t8 libdispatch.dylib 0x000000010dcf0df5 _dispatch_call_block_and_release + 12\r\n[INFO] : \t9 libdispatch.dylib 0x000000010dd0c4a7 _dispatch_client_callout + 8\r\n[INFO] : \t10 libdispatch.dylib 0x000000010dcf6fc9 _dispatch_main_queue_callback_4CF + 714\r\n[INFO] : \t11 CoreFoundation 0x000000010d0563e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[INFO] : \t12 CoreFoundation 0x000000010d017939 __CFRunLoopRun + 2073\r\n[INFO] : \t13 CoreFoundation 0x000000010d016e98 CFRunLoopRunSpecific + 488\r\n[INFO] : \t14 GraphicsServices 0x000000010e42aad2 GSEventRunModal + 161\r\n[INFO] : \t15 UIKit 0x00000001096be676 UIApplicationMain + 171\r\n[INFO] : \t16 productiouser 0x00000001077fe4c6 main + 310\r\n[INFO] : \t17 libdyld.dylib 0x000000010dd3b92d start + 1\r\n[INFO] : )\r\n[INFO] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code} \r\n\r\nPlease find the complete console log here.\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.0.3\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\nTRACE | __command__ search paths:\r\n[\r\n \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package\",\r\n \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/Contents/MacOS/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/Contents/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/node_modules\",\r\n \"/Users/kondalkolipaka/development/node_modules\",\r\n \"/Users/kondalkolipaka/node_modules\",\r\n \"/Users/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/kondalkolipaka/.appcelerator/.npm/lib/node_modules\"\r\n]\r\nDEBUG | [PLUGIN-LOAD] 0ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/appc.js\r\nDEBUG | [PLUGIN-LOAD] 627ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/appc.js\r\nDEBUG | [PLUGIN-LOAD] 0ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/arrow/appc.js\r\nlog level set to \"trace\"\r\nexecuting command \"run\"\r\nset environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\",\"baseurl\":\"https://platform.appcelerator.com\"}\r\nchecking credentials for existing session\r\nAttempting to load session info from config file\r\ncheck if session is invalidated\r\nsession expiry 1446087529108 false\r\nArrow Cloud config file: /Users/kondalkolipaka/.acs\r\nfound Arrow Cloud login { mid: 'af31ce68ea17b4a8fff2b7dcdb8fccd67d6bddfe',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: 'kkolipaka@appcelerator.com',\r\n cookie: [ 'connect.sid=s%3AiSGTZDaAOM2vBMhudRQktzBn.OiZ5j9xBydTrZ9LpSA0bpT6tsB%2BNEaX8tYLjEtHaaLQ; Path=/; Expires=Fri, 23 Oct 2015 02:58:58 GMT; HttpOnly' ],\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\nArrow Cloud cookie expiry [ 1445569138000 ]\r\nsession already loaded in opts.session\r\ngetCredentials() session:\r\n{\r\n \"ipaddress\": \"192.168.0.112\",\r\n \"username\": \"kkolipaka@appcelerator.com\",\r\n \"password\": \"\",\r\n \"session\": \"\",\r\n \"nonce\": \"\",\r\n \"environment\": {\r\n \"name\": \"production\",\r\n \"isProduction\": true,\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n \"acsAuthBaseUrl\": \"https://secure-identity.cloud.appcelerator.com\",\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n },\r\n \"token\": \"\",\r\n \"fingerprint\": \"af31ce68ea17b4a8fff2b7dcdb8fccd67d6bddfe\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02GH2D3DRJC\",\r\n \"org_id\": 14301,\r\n \"expiry\": 1446087529108\r\n}\r\nloading plugins for command \"run\"\r\nrun search paths:\r\n[\r\n \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package\",\r\n \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/Contents/MacOS/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/Contents/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/Eclipse.app/node_modules\",\r\n \"/Users/kondalkolipaka/development/eclipse/node_modules\",\r\n \"/Users/kondalkolipaka/development/node_modules\",\r\n \"/Users/kondalkolipaka/node_modules\",\r\n \"/Users/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/kondalkolipaka/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n[PLUGIN-LOAD] 0ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/appc.js\r\n[PLUGIN-LOAD] 421ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/appc.js\r\nrun plugin: /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium\r\n[PLUGIN-LOAD] 1ms /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/arrow/appc.js\r\nrun plugin: /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/arrow\r\nplugin \"arrow\" failed its \"when\" function check, skipping...\r\nloading plugin \"titanium\" for command \"run\" CLI options via function\r\nloading plugin \"titanium\" for command \"run\" CLI options via array\r\nDuplicate option \"colors\" for command \"run\", removing...\r\nexecuting command \"run\" with the following plugins:\r\n[\"titanium\"]\r\nTRACE | Attempting to load session info from config file\r\nTRACE | check if session is invalidated\r\nTRACE | session expiry 1446087529108 false\r\nTRACE | session already loaded in opts.session\r\nDEBUG | Titanium Downloads Last Checked: 1445424205288\r\nTRACE | \"/usr/local/bin/node\" \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" config -o json-object\r\nTRACE | \"/usr/local/bin/node\" \"/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium\" sdk -o json\r\nTRACE | checking for titanium, result:\r\n { activeSDK: '5.2.0.v20151019184553',\r\n defaultInstallLocation: '/Users/kondalkolipaka/Library/Application Support/Titanium',\r\n installLocations: \r\n [ '/Users/kondalkolipaka/Library/Application Support/Titanium',\r\n '/Library/Application Support/Titanium' ],\r\n installed: \r\n { '5.2.0.v20151019184553': '/Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.v20151019184553',\r\n '5.0.2.GA': '/Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' },\r\n sdks: \r\n { '5.2.0.v20151019184553': \r\n { name: '5.2.0.v20151019184553',\r\n manifest: [Object],\r\n path: '/Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.v20151019184553' },\r\n '5.0.2.GA': \r\n { name: '5.0.2.GA',\r\n manifest: [Object],\r\n path: '/Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' } } }\r\nTRACE | /usr/local/bin/node [ '/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',\r\n 'build',\r\n '--platform',\r\n 'ios',\r\n '--log-level',\r\n 'trace',\r\n '--sdk',\r\n '5.2.0.v20151019184553',\r\n '--project-dir',\r\n '/Users/kondalkolipaka/development/workspaces/runtime-Titanium-360/productiouser',\r\n '--target',\r\n 'simulator',\r\n '--ios-version',\r\n '9.0',\r\n '--device-family',\r\n 'universal',\r\n '--deploy-type',\r\n 'development',\r\n '--sim-type',\r\n 'iphone',\r\n '--sim-version',\r\n '9.0',\r\n '--device-id',\r\n 'BBD92EE1-E400-44B1-8747-36A95DBA7B04',\r\n '--debug-host',\r\n 'localhost:63825',\r\n '--skip-js-minify',\r\n '--no-colors',\r\n '--no-progress-bars',\r\n '--no-prompt',\r\n '--prompt-type',\r\n 'socket-bundle',\r\n '--prompt-port',\r\n '64656',\r\n '--plugin-paths',\r\n '/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules',\r\n '--config-file',\r\n '/var/folders/9n/xpk1tm596cbctmwyfhcqysfw0000gn/T/build-1445507115892.json',\r\n '--no-banner' ] { env: \r\n { SHELL: '/bin/bash',\r\n TMPDIR: '/var/folders/9n/xpk1tm596cbctmwyfhcqysfw0000gn/T/',\r\n SHLVL: '1',\r\n JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home',\r\n STUDIO_PRODUCT_ID: 'com.appcelerator.titanium.rcp.product',\r\n JAVA_MAIN_CLASS_64662: 'org.eclipse.equinox.launcher.Main',\r\n __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',\r\n STUDIO_VERSION: '4.4.0.qualifier',\r\n PATH: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin',\r\n ANALYTICS_SOURCE: 'studio',\r\n JAVA_STARTED_ON_FIRST_THREAD_64662: '1',\r\n XPC_FLAGS: '0x0',\r\n APTANA_VERSION: '4.4.0.qualifier',\r\n USER: 'kondalkolipaka',\r\n PWD: '/Users/kondalkolipaka/development/eclipse/Eclipse.app/Contents/MacOS',\r\n HOME: '/Users/kondalkolipaka',\r\n STUDIO_NAME: 'Appcelerator Studio',\r\n APP_ICON_323: '../Resources/Eclipse.icns',\r\n JAVA_STARTED_ON_FIRST_THREAD_323: '1',\r\n XPC_SERVICE_NAME: 'org.eclipse.platform.ide.57312',\r\n LOGNAME: 'kondalkolipaka',\r\n Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.6pSDZGSvEP/Render',\r\n SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.LRaiUq4VDX/Listeners',\r\n LANG: 'en_US.UTF-8',\r\n APPC_NPM_VERSION: '4.2.0',\r\n npm_config_cache: '/Users/kondalkolipaka/.appcelerator/.npm',\r\n npm_config_prefix: '/Users/kondalkolipaka/.appcelerator/.npm',\r\n APPC_INSTALL_DIR: '/Users/kondalkolipaka/.appcelerator/install',\r\n APPC_INSTALL_BIN_DIR: '/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/bin/appc',\r\n APPC_CONFIG_PROXY: '',\r\n NODE_PATH: '/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules:/Users/kondalkolipaka/.appcelerator/cache/node_modules:',\r\n APPC_SUPPRESS_PROGRESS: 'true',\r\n APPC_REGISTRY_SERVER: 'https://software.appcelerator.com',\r\n APPC_SECURITY_SERVER: 'https://security.appcelerator.com',\r\n APPC_DASHBOARD_URL: 'https://platform.appcelerator.com',\r\n APPC_ENV: 'production',\r\n APPC_SESSION_TOKEN: 'c0847593cbca17a0f6d1c5790513946e8dea2c3e%20oKdgSCZfpFfYTPVl2Nn5ot7ujeiq4Bk4Swhma2ar3GNwa%2BBOCG%2FtQ36QKmkXcmLJvvMoxsYLUfS1EtFy%2FYClz1mwKmATIyifj3gd8lkFO%2BbdmzP4FrclwyAnaHU%2FabHZ86DWxyK6e8dTOJkysXAOuzpWdvlZcd6a9GD8eBTdHaN9vvG866%2F0FKrFjTGTiZ2v3Ml7u7j0yorIFVhYy2ntX%2BsncSJ95pfKABvnmUo%2BesXo%2FlxsGJWK2IZFeEmnaVL9bewB89zJVGd%2F81IUC7Q7FZa%2FL1f4COwHTmQQcxx7DjIoFwMxqqvwrLHQD7hicDALm0pTwkwiha8oU5PcMcprdTt1vIB1BjAsQBQ2wNzbEdFjhh9J%2FfMWYCOHSAbX%2FAzzZKViIIgRZxGshmEZ5NQWkDtpV644sMTdpZh1vL8od6jyJMLOr1THWXoLlwdbpX%2F6xP89f5qluQJJuuzvllJMTVHZxcs14g1dQ%2FJgB%2BLL6NfFMrlOBwwVEgwV8ZBnJDiDMMRdR0wuG4rZSJoGe7cPITue4TkBd8D57hqyN0cPXWh5L9iBf4xOC8iyLMwjrggEsjn11PAvpNhAucImqHrIf4VDZ68%2BUiN%2Bzq%2B09OYAkd2olEvCISCFXiDvlVVPVf545%2Bxikdb9LkARJXB9A%2FN1Rd9o2ksOCqtuslTITTCkKOmz7II%2FhtpwHJ6P9OKRI2r0WftT43aQ%2Fy%2B%2BrkS39%2FrF4bC%2BEGo0r6z%2F8D7BiL5c5DEfaQiB8Ke0z70rD8mIk8rShdEQotbw3oiycqa6lMtfr8U8P7Mmwzzix4uyvYZWv40%3D',\r\n APPC_SESSION_SID: 's%3Aw9xklnXJftFKYnWWnkdQEuae61_GO8Rv.qYsOyjDNIseH64lJsAfxHKJydBgrM5D%2Bxjed8bRhCVY',\r\n APPC_SESSION_USERNAME: 'kkolipaka@appcelerator.com',\r\n APPC_SESSION_ORGID: '14301',\r\n APPC_SESSION_ENV: '{\"name\":\"production\",\"isProduction\":true,\"acsBaseUrl\":\"https://api.cloud.appcelerator.com\",\"acsAuthBaseUrl\":\"https://secure-identity.cloud.appcelerator.com\",\"nodeACSEndpoint\":\"https://admin.cloudapp-enterprise.appcelerator.com\"}',\r\n APPC_SESSION_ENTITLEMENTS: '{\"id\":\"54d8e4abce78815d81104cb4\",\"name\":\"Enterprise\",\"partners\":[\"acs\",\"analytics\",\"crittercism\",\"soasta\"],\"supportLink\":\"http://support2.appcelerator.com/\",\"users\":{\"min\":1,\"max\":-1},\"testingDevices\":{\"min\":0,\"max\":-1},\"allowProduction\":true,\"arrowPublish\":true,\"nativeSDK\":true,\"insights\":true,\"apiRateMonthPerSeat\":10000000,\"apiRateMinute\":200,\"pushRateMinute\":200,\"storageGBRateMonth\":100,\"eventRateMonthPerSeat\":2000000,\"daysDataRetained\":-1,\"maxOrganizations\":-1,\"dateRangeLimit\":-1,\"dateRangeCustom\":true,\"exportMetrics\":true,\"exportAcs\":true,\"paid\":true,\"containerPoints\":0,\"containerPointsPerSeat\":9,\"_version\":1}',\r\n ALLOY_PATH: '/Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy' },\r\n stdio: \r\n [ Socket {\r\n _connecting: false,\r\n _hadError: false,\r\n _handle: [Object],\r\n _parent: null,\r\n _host: null,\r\n _readableState: [Object],\r\n readable: true,\r\n domain: null,\r\n _events: [Object],\r\n _eventsCount: 4,\r\n _maxListeners: undefined,\r\n _writableState: [Object],\r\n writable: false,\r\n allowHalfOpen: false,\r\n destroyed: false,\r\n bytesRead: 0,\r\n _bytesDispatched: 0,\r\n _sockname: null,\r\n _writev: null,\r\n _pendingData: null,\r\n _pendingEncoding: '',\r\n fd: 0 },\r\n Socket {\r\n _connecting: false,\r\n _hadError: false,\r\n _handle: [Object],\r\n _parent: null,\r\n _host: null,\r\n _readableState: [Object],\r\n readable: false,\r\n domain: null,\r\n _events: [Object],\r\n _eventsCount: 3,\r\n _maxListeners: undefined,\r\n _writableState: [Object],\r\n writable: true,\r\n allowHalfOpen: false,\r\n destroyed: false,\r\n bytesRead: 0,\r\n _bytesDispatched: 4768,\r\n _sockname: null,\r\n _writev: null,\r\n _pendingData: null,\r\n _pendingEncoding: '',\r\n _type: 'pipe',\r\n fd: 1,\r\n _isStdio: true,\r\n destroySoon: [Function],\r\n destroy: [Function] },\r\n 'pipe' ] }\r\n10/22/2015, 5:45:20 PM\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 4.1.0\r\n npm Version = 2.14.3\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.2.0.v20151019184553\r\n SDK Path = /Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.v20151019184553\r\n Target Platform = iphone\r\nCommand\r\n /usr/local/bin/node /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform ios --log-level trace --sdk 5.2.0.v20151019184553 --project-dir /Users/kondalkolipaka/development/workspaces/runtime-Titanium-360/productiouser --target simulator --ios-version 9.0 --device-family universal --deploy-type development --sim-type iphone --sim-version 9.0 --device-id BBD92EE1-E400-44B1-8747-36A95DBA7B04 --debug-host localhost:63825 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 64656 --plugin-paths /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules --config-file /var/folders/9n/xpk1tm596cbctmwyfhcqysfw0000gn/T/build-1445507115892.json --no-banner\r\n[INFO] : Found Titanium plugin id=ti.alloy version=1.0 \r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: simulator\r\n[INFO] : Building using iOS SDK: 9.0\r\n[INFO] : Building for iOS Simulator: iPhone 5s\r\n[INFO] : Building for device family: universal\r\n[INFO] : Minimum iOS version: 7.1\r\n[INFO] : Debugging enabled via debug host: localhost:63825\r\n[INFO] : Profiler disabled\r\n[INFO] : Set to copy files instead of symlinking\r\n[INFO] : Forcing rebuild: use RunOnMainThread flag changed since last build\r\n[INFO] : Was: false\r\n[INFO] : Now: true\r\n[INFO] : Initializing the build directory\r\n[INFO] : Found Alloy app in /Users/kondalkolipaka/development/workspaces/runtime-Titanium-360/productiouser/app\r\n[INFO] : Executing Alloy compile: /usr/local/bin/node /Users/kondalkolipaka/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy compile /Users/kondalkolipaka/development/workspaces/runtime-Titanium-360/productiouser/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator --no-colors\r\n[INFO] : [config.json] config.json unchanged, using cached config.json...\r\n[INFO] : ----- MVC GENERATION -----\r\n[INFO] : [global style] loading from cache...\r\n[INFO] : [index.xml] view processing...\r\n[INFO] : style: \"index.tss\"\r\n[INFO] : view: \"index.xml\"\r\n[INFO] : controller: \"index.js\"\r\n[INFO] : created: \"Resources/iphone/alloy/controllers/index.js\"\r\n[INFO] : created: \"Resources/iphone/alloy/styles/index.js\"\r\n[INFO] : \r\n[INFO] : \r\n[INFO] : [app.js] using cached app.js...\r\n[INFO] : \r\n[INFO] : ----- OPTIMIZING -----\r\n[INFO] : - iphone/alloy.js\r\n[INFO] : - iphone/alloy/sync/localStorage.js\r\n[INFO] : - iphone/alloy/sync/properties.js\r\n[INFO] : - iphone/alloy/sync/sql.js\r\n[INFO] : \r\n[INFO] : Alloy compiled in 0.76566s\r\n[INFO] : Alloy compiler completed successfully\r\n[INFO] : Creating Xcode project\r\n[INFO] : Creating Entitlements.plist\r\n[INFO] : Creating Info.plist\r\n[INFO] : Disabling ATS\r\n[INFO] : Creating main.m\r\n[INFO] : Creating Xcode config files\r\n[INFO] : Copying Titanium libraries\r\n[INFO] : Copying Titanium iOS files\r\n[INFO] : Creating debugger and profiler plists\r\n[INFO] : Analyzing Resources directory\r\n[INFO] : Analyzing platform files\r\n[INFO] : Analyzing module files\r\n[INFO] : Analyzing localized launch images\r\n[INFO] : Analyzing CommonJS modules\r\n[INFO] : Creating asset catalog\r\n[INFO] : Creating app icon set\r\n[WARN] : Skipping Resources/iphone/appicon-60@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-60@3x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-76.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-76@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small-40.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small-40@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small@2x.png because app icons must not have an alpha channel\r\n[INFO] : Creating launch image set\r\n[INFO] : Creating assets image set\r\n[INFO] : Processing JavaScript files\r\n[INFO] : Writing app properties\r\n[INFO] : Writing i18n files\r\n[INFO] : Processing Titanium symbols\r\n[INFO] : Removing files\r\n[INFO] : Invoking xcodebuild\r\n[INFO] : Finished building the application in 29s 463ms\r\n[INFO] : Launching iOS Simulator\r\n[INFO] : Application started\r\n[INFO] : productiouser/1.0 (5.2.0.419c5c2)\r\n[INFO] : 2015-10-22 17:45:51.753 productiouser[71613:436649] -[KrollContext contextId]: unrecognized selector sent to instance 0x7fb910c0eec0\r\n[INFO] : 2015-10-22 17:45:51.769 productiouser[71613:436649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[KrollContext contextId]: unrecognized selector sent to instance 0x7fb910c0eec0'\r\n[INFO] : *** First throw call stack:\r\n[INFO] : (\r\n[INFO] : \t0 CoreFoundation 0x000000010d0f5f65 __exceptionPreprocess + 165\r\n[INFO] : \t1 libobjc.A.dylib 0x000000010cac8deb objc_exception_throw + 48\r\n[INFO] : \t2 CoreFoundation 0x000000010d0fe58d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[INFO] : \t3 CoreFoundation 0x000000010d04bf7a ___forwarding___ + 970\r\n[INFO] : \t4 CoreFoundation 0x000000010d04bb28 _CF_forwarding_prep_0 + 120\r\n[INFO] : \t5 productiouser 0x0000000107a99647 TiDebuggerCreate + 167\r\n[INFO] : \t6 productiouser 0x000000010781cb13 -[KrollContext main] + 195\r\n[INFO] : \t7 productiouser 0x000000010781c206 __21-[KrollContext start]_block_invoke + 38\r\n[INFO] : \t8 libdispatch.dylib 0x000000010dcf0df5 _dispatch_call_block_and_release + 12\r\n[INFO] : \t9 libdispatch.dylib 0x000000010dd0c4a7 _dispatch_client_callout + 8\r\n[INFO] : \t10 libdispatch.dylib 0x000000010dcf6fc9 _dispatch_main_queue_callback_4CF + 714\r\n[INFO] : \t11 CoreFoundation 0x000000010d0563e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[INFO] : \t12 CoreFoundation 0x000000010d017939 __CFRunLoopRun + 2073\r\n[INFO] : \t13 CoreFoundation 0x000000010d016e98 CFRunLoopRunSpecific + 488\r\n[INFO] : \t14 GraphicsServices 0x000000010e42aad2 GSEventRunModal + 161\r\n[INFO] : \t15 UIKit 0x00000001096be676 UIApplicationMain + 171\r\n[INFO] : \t16 productiouser 0x00000001077fe4c6 main + 310\r\n[INFO] : \t17 libdyld.dylib 0x000000010dd3b92d start + 1\r\n[INFO] : )\r\n[INFO] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS Debugger/profiler fails when run-on-main-thread is enabled", "creator": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 4.1.0\r\n npm Version = 2.14.3\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.2.0.v20151019184553\r\n SDK Path = /Users/kondalkolipaka/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.v20151019184553\r\n Target Platform = iphone", "closedSprints": [ { "id": 585, "state": "closed", "name": "2016 Sprint 5 SDK", "startDate": "2016-02-27T01:30:43.377Z", "endDate": "2016-03-12T01:30:00.000Z", "completeDate": "2016-03-14T11:50:17.995Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "371696", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "If I set {{}} to true in the tiapp.xml's iOS section e.g.:\r\n{code}\r\n\r\n true\r\n\t...\r\n\r\n{code}\r\n\r\nthen I can reproduce this issue *only with debugging* on iOS; not with profiling.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 4.4.0.201511241829\r\nAppc CLI NPM: 4.2.2\r\nAppc CLI Core: 5.1.0\r\nArrow: 1.3.22\r\nSDK: 5.1.1.GA\r\nNode: v4.2.2\r\nOS: El Capitan (10.11.1)\r\nXcode: 7.1.1\r\nDevices: iphone simulator (9.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-30T23:36:01.000+0000", "updated": "2015-11-30T23:36:19.000+0000" }, { "id": "379083", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR for debugger: https://github.com/appcelerator/titanium_debugger/pull/47", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-07T23:36:32.000+0000", "updated": "2016-03-07T23:36:32.000+0000" }, { "id": "379123", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "built new debugger lib based on above PR.\r\nPR for timob: https://github.com/appcelerator/titanium_mobile/pull/7815\r\npre-release lib: https://github.com/appcelerator/titanium_debugger/releases/tag/1.05\r\n[~apetkov] please test and merge PR, as well as set pre-release to release\r\nh4. Steps to test\r\n1. Create new project in studio\r\n2. add a breakpoint somewhere in the app\r\n3. in tiapp.xml, include property true\r\n\r\nh4. Expected result\r\nbreakpoint successfully hits. with run-on-main-thread true and false ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T05:12:33.000+0000", "updated": "2016-03-08T05:12:59.000+0000" }, { "id": "392037", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Created a new project in studio and set multiple breakpoints, and ran the app in Debug to Device, with {{}} set to true / false. I was able to hit the breakpoints successfully in both cases.\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device \r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160727143921\r\nAppc Studio: 4.7.0.201607111053\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.4.0-36\r\nXcode 7.3\r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-29T21:36:23.000+0000", "updated": "2016-07-29T21:36:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }