{ "id": "172193", "key": "TIMOB-26367", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-09-07T13:02:37.000+0000", "created": "2018-09-06T23:28:12.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-7.4.0" ], "versions": [ { "id": "20183", "description": "", "name": "Release 7.4.0", "archived": false, "released": true, "releaseDate": "2018-09-17" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-09-07T13:02:37.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": "When trying to build to device with Xcode 10 and Performance enabled (APM) I receive the error at the bottom of the ticket.\r\n\r\n*Steps to reproduce*\r\n1. Create a new project\r\n2. Build that project for an iOS device\r\n\r\n*Expected Results*\r\nThe build succeeds\r\n\r\n*Actual Results*\r\nThe build fails with the below error\r\n\r\n*Notes*\r\n1. I have tried with an iOS 12 and iOS 11.4.1 device\r\n2. Simulators build without error\r\n3. Removing APM allows the build to succeed\r\n4. Building with Xcode 9.4.1 allows the build to succeed \r\n5. Full build log attached\r\n\r\n*Error*\r\n{code}\r\n[TRACE] : duplicate symbol l019 in:\r\n[TRACE] : /Users/Eric/Library/Application Support/Titanium/modules/iphone/com.appcelerator.apm/3.1.2/libcom.appcelerator.apm.a(CRSetting.o)\r\n[TRACE] : /Users/Eric/Library/Application Support/Titanium/modules/iphone/com.appcelerator.apm/3.1.2/libcom.appcelerator.apm.a(PLCrashHostInfo.o)\r\n[TRACE] : ld: 247 duplicate symbols for architecture arm64\r\n[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] iPhoneSupport: unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 \"Could not find platform\" UserInfo={NSLocalizedDescription=Could not find platform})\r\n[ERROR] : 2018-09-06 16:00:31.945 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:32.093 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] iPhoneSupport: unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 \"Could not find platform\" UserInfo={NSLocalizedDescription=Could not find platform})\r\n[ERROR] : 2018-09-06 16:00:32.343 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : 2018-09-06 16:00:32.425 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL\r\n[ERROR] : ** BUILD FAILED **\r\n[ERROR] : The following build commands failed:\r\n[ERROR] : \tLd /Users/Eric/Documents/Appcelerator_Studio_Workspace/alloySmoke/build/iphone/build/Intermediates/alloySmoke.build/Debug-iphoneos/alloySmoke.build/Objects-normal/arm64/alloySmoke normal arm64\r\n[ERROR] : (1 failure)\r\n{code}", "attachment": [ { "id": "65503", "filename": "buildlog.txt", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-06T23:32:16.000+0000", "size": 3204744, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Xcode 10 cannot build for device with Performance enabled", "creator": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.13.6 (17G65)\r\nStudio 5.1.1.201809051655\r\nTi SDK 7.4.0.v20180906093302\r\nAppc NPM 4.2.13\r\nAppc CLI 7.0.6\r\nAlloy 1.13.2\r\nXcode 10.0 (10L221o)\r\nNode 8.9.4\r\nJava 10.0.1", "comment": { "comments": [ { "id": "441410", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Issue fixed in Beta 6", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-07T13:02:37.000+0000", "updated": "2018-09-07T13:02:37.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }