[TIMOB-26367] iOS: Xcode 10 cannot build for device with Performance enabled
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-09-07T13:02:37.000+0000 |
Affected Version/s | Release 7.4.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-7.4.0 |
Reporter | Eric Wieber |
Assignee | Hans Knöchel |
Created | 2018-09-06T23:28:12.000+0000 |
Updated | 2018-09-07T13:02:37.000+0000 |
Description
When trying to build to device with Xcode 10 and Performance enabled (APM) I receive the error at the bottom of the ticket.
*Steps to reproduce*
1. Create a new project
2. Build that project for an iOS device
*Expected Results*
The build succeeds
*Actual Results*
The build fails with the below error
*Notes*
1. I have tried with an iOS 12 and iOS 11.4.1 device
2. Simulators build without error
3. Removing APM allows the build to succeed
4. Building with Xcode 9.4.1 allows the build to succeed
5. Full build log attached
*Error*
[TRACE] : duplicate symbol l019 in:
[TRACE] : /Users/Eric/Library/Application Support/Titanium/modules/iphone/com.appcelerator.apm/3.1.2/libcom.appcelerator.apm.a(CRSetting.o)
[TRACE] : /Users/Eric/Library/Application Support/Titanium/modules/iphone/com.appcelerator.apm/3.1.2/libcom.appcelerator.apm.a(PLCrashHostInfo.o)
[TRACE] : ld: 247 duplicate symbols for architecture arm64
[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:31.784 xcodebuild[43661:8770256] iPhoneSupport: <DVTiOSDevice (0x7fe9b351d080), The iPhone, iPhone, 11.4.1 (15G77), 6b1a4d63177f249894658ff0fb70f761faa0dbfa> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
[ERROR] : 2018-09-06 16:00:31.945 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:32.093 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:32.163 xcodebuild[43661:8770272] iPhoneSupport: <DVTiOSDevice (0x7fe9b351d080), The iPhone, iPhone, 11.4.1 (15G77), 6b1a4d63177f249894658ff0fb70f761faa0dbfa> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=601 "Could not find platform" UserInfo={NSLocalizedDescription=Could not find platform})
[ERROR] : 2018-09-06 16:00:32.343 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : 2018-09-06 16:00:32.425 xcodebuild[43661:8770144] [MT] DTDeviceKit: deviceType from c02b3b4a5595d8848f7f67613f63c5a6dc28516c was NULL
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld /Users/Eric/Documents/Appcelerator_Studio_Workspace/alloySmoke/build/iphone/build/Intermediates/alloySmoke.build/Debug-iphoneos/alloySmoke.build/Objects-normal/arm64/alloySmoke normal arm64
[ERROR] : (1 failure)
Attachments
File | Date | Size |
---|---|---|
buildlog.txt | 2018-09-06T23:32:16.000+0000 | 3204744 |
Issue fixed in Beta 6