View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015669CMakeModulespublic2015-07-29 08:072016-01-04 11:52
ReporterSeppo Tomperi 
Assigned ToGregor Jasny 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformApple MacOSOS XOS Version10.10.4
Product Version 
Target VersionCMake 3.4Fixed in VersionCMake 3.4 
Summary0015669: XCTest for iOS target has incorrect TEST_HOST
DescriptionPath to executable in TEST_HOST is not correct when targeting iOS device.
Steps To Reproduceunzip iOSNavAppXCTest.zip
cd iOSNavAppXCTest
mkdir build
cd build
cmake -G Xcode ..

grep TEST_HOST NavApp3.xcodeproj/project.pbxproj

####

TEST_HOST variable has extra directory: "Contents/MacOS", which is not there. Executable is in NavApp3.app-directory.

If "Contents/MacOS" is edited away from project file then project works and XCTests can be run in simulator and on iPhone.
TagsNo tags attached.
Attached Fileszip file icon iOSNavAppXCTest.zip [^] (20,362 bytes) 2015-07-29 08:07

 Relationships

  Notes
(0039185)
Gregor Jasny (developer)
2015-07-29 09:28
edited on: 2015-08-19 15:49

From a first short look $<TARGET_FILE:${testee}> is evaluating to the wrong location.

(0039303)
Gregor Jasny (developer)
2015-08-19 15:49

I pushed a topic branch: ios-app-bundle-layout
See thread: http://public.kitware.com/pipermail/cmake-developers/2015-August/026061.html [^]
(0039309)
Brad King (manager)
2015-08-20 11:12

Re 0015669:0039303: Merged to 'next' for testing:

 Fix iOS Bundle layouts
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c9ea75ec [^]
(0039320)
Brad King (manager)
2015-08-24 09:58

Re 0015669:0039309: After revisions to fix trouble exposed by nightly testing, the commit is now:

 Fix iOS Bundle layouts
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=744e6c49 [^]
(0040123)
Robert Maynard (manager)
2016-01-04 11:52

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-07-29 08:07 Seppo Tomperi New Issue
2015-07-29 08:07 Seppo Tomperi File Added: iOSNavAppXCTest.zip
2015-07-29 08:47 Gregor Jasny Assigned To => Gregor Jasny
2015-07-29 08:47 Gregor Jasny Status new => assigned
2015-07-29 09:28 Gregor Jasny Note Added: 0039185
2015-08-19 15:49 Gregor Jasny Note Edited: 0039185
2015-08-19 15:49 Gregor Jasny Note Added: 0039303
2015-08-20 11:12 Brad King Note Added: 0039309
2015-08-24 09:58 Brad King Note Added: 0039320
2015-08-24 09:58 Brad King Status assigned => resolved
2015-08-24 09:58 Brad King Resolution open => fixed
2015-08-24 09:58 Brad King Fixed in Version => CMake 3.4
2015-08-24 09:58 Brad King Target Version => CMake 3.4
2016-01-04 11:52 Robert Maynard Note Added: 0040123
2016-01-04 11:52 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team