MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014901 | CMake | CMake | public | 2014-04-30 16:08 | 2014-11-03 08:37 |
Reporter | Yasser Zabuair | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 2.8.12.2 | ||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
Summary | 0014901: Adding an .xib to an XCode project does not work. | ||||
Description | When an .xib resource is added to the project, the Xcode generator generates the project in such a way that XCode does not treat the project as an .xib: The project.pbxproj uses an invalid field for an xib file. When the project is generated, the following is setup for the xib: {isa = PBXFileReference; explicitFileType = "file.xib"; fileEncoding = 4; name = "TestView.xib"; path = "mpos_apps/ktciosapp/TestView.xib"; sourceTree = SOURCE_ROOT; }; The explicitFiletype is incorrect, it should be lastKnownFileType: {isa = PBXFileReference; lastKnownFileType = "file.xib"; fileEncoding = 4; name = "TestView.xib"; path = "mpos_apps/ktciosapp/TestView.xib"; sourceTree = SOURCE_ROOT; }; | ||||
Steps To Reproduce | The following is done to add the .xib: file(GLOB xibFiles *.xib) . . source_group("Resources" FILES ${xibFiles}) . . add_executable (${ProgramName} MACOSX_BUNDLE ${cppFiles} ${hFiles} ${mmFiles} ${xibFiles} ) set_target_properties(${ProgramName} PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "ca.kili.ktciosapp" RESOURCE "${xibFiles}" XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer" XCODE_ATTRIBUTE_INFOPLIST_PREPROCESS YES ) | ||||
Additional Information | This is for CMake 2.8.12.2 and XCode Version 5.1.1 (5B1008) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-04-30 16:08 | Yasser Zabuair | New Issue | |||
2014-04-30 16:23 | Brad King | Note Added: 0035811 | |||
2014-04-30 18:00 | Yasser Zabuair | Note Added: 0035812 | |||
2014-05-01 08:35 | Brad King | Status | new => resolved | ||
2014-05-01 08:35 | Brad King | Resolution | open => fixed | ||
2014-05-01 08:35 | Brad King | Fixed in Version | => CMake 3.0 | ||
2014-05-01 08:35 | Brad King | Target Version | => CMake 3.0 | ||
2014-11-03 08:37 | Robert Maynard | Note Added: 0037127 | |||
2014-11-03 08:37 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|