[cmake-developers] [CMake 0015669]: XCTest for iOS target has incorrect TEST_HOST

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 29 08:07:08 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15669 
====================================================================== 
Reported By:                Seppo Tomperi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15669
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-07-29 08:07 EDT
Last Modified:              2015-07-29 08:07 EDT
====================================================================== 
Summary:                    XCTest for iOS target has incorrect TEST_HOST
Description: 
Path to executable in TEST_HOST is not correct when targeting iOS device.

Steps to Reproduce: 
unzip 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.
====================================================================== 

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                 
  
======================================================================



More information about the cmake-developers mailing list