MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015833 | CMake | CMake | public | 2015-11-05 11:29 | 2016-06-06 13:37 | |||||
Reporter | Bartosz | |||||||||
Assigned To | Gregor Jasny | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OSX | OS | OS Version | |||||||
Product Version | ||||||||||
Target Version | CMake 3.5 | Fixed in Version | CMake 3.5 | |||||||
Summary | 0015833: Support creating of Framework for iOS | |||||||||
Description | The framework from Apple is specific directory structure. For OS X it is using versioned directory structue. The directory structure looks like: MyFramework.framework/ MyFramework -> Versions/Current/MyFramework Resources -> Versions/Current/Resources Versions/ A/ MyFramework Headers Resources/ English.lproj/ InfoPlist.strings Info.plist Current -> A More info: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html#//apple_ref/doc/uid/20002253-BAJEJJAB [^] These structure is used when you specify following target variables: set_target_properties(MyFramework PROPERTIES FRAMEWORK TRUE FRAMEWORK_VERSION A MACOSX_FRAMEWORK_IDENTIFIER com.cmake.myframework ) For iOS the "flat" directory structure is used. It looks like: iOSFramework.framework/ iOSFramework Info.plist Headers Resources/ English.lproj/ InfoPlist.strings Currently it is not possible to create "flat" directory structure which could be used for iOS. Solution proposal: Allow possibility to create "flat" framework. The flat framework will be produced when IOS_FRAMEWORK will be set to TRUE For example: set_target_properties(MyFramework PROPERTIES IOS_FRAMEWORK TRUE MACOSX_FRAMEWORK_IDENTIFIER com.cmake.myframework ) I would like to implement that, and provide patches to cmake. I need some architectural support from you. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | Maybe also I could fix: https://public.kitware.com/Bug/view.php?id=15820 [^] | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | iOS-Dynamic_Framework_support.patch (670) 2015-11-06 11:03 https://public.kitware.com/Bug/file/5567/iOS-Dynamic_Framework_support.patch cmake_shared_ios_framework.zip (6,095) 2015-11-06 11:06 https://public.kitware.com/Bug/file/5568/cmake_shared_ios_framework.zip 0001-Add-support-for-iOS-Frameworks-bug-15833.patch (3,501) 2015-11-09 17:20 https://public.kitware.com/Bug/file/5570/0001-Add-support-for-iOS-Frameworks-bug-15833.patch 0001-Fix-iOS-Framework-directory-structure-15833.patch (5,590) 2015-11-12 03:26 https://public.kitware.com/Bug/file/5574/0001-Fix-iOS-Framework-directory-structure-15833.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-11-05 11:29 | Bartosz | New Issue | ||||||||
2015-11-06 03:29 | Bartosz | Note Added: 0039840 | ||||||||
2015-11-06 11:03 | Bartosz | File Added: iOS-Dynamic_Framework_support.patch | ||||||||
2015-11-06 11:06 | Bartosz | File Added: cmake_shared_ios_framework.zip | ||||||||
2015-11-06 11:12 | Bartosz | Note Added: 0039845 | ||||||||
2015-11-06 11:12 | Bartosz | Note Edited: 0039845 | bug_revision_view_page.php?bugnote_id=39845#r1950 | |||||||
2015-11-09 03:45 | Bartosz | Note Added: 0039848 | ||||||||
2015-11-09 05:05 | Bartosz | Note Edited: 0039848 | bug_revision_view_page.php?bugnote_id=39848#r1954 | |||||||
2015-11-09 17:20 | Bartosz | File Added: 0001-Add-support-for-iOS-Frameworks-bug-15833.patch | ||||||||
2015-11-10 04:33 | Bartosz | Note Added: 0039853 | ||||||||
2015-11-10 08:37 | Brad King | Assigned To | => Gregor Jasny | |||||||
2015-11-10 08:37 | Brad King | Status | new => assigned | |||||||
2015-11-10 08:37 | Brad King | Target Version | => CMake 3.5 | |||||||
2015-11-10 13:15 | Brad King | Note Added: 0039859 | ||||||||
2015-11-12 03:26 | Bartosz | File Added: 0001-Fix-iOS-Framework-directory-structure-15833.patch | ||||||||
2015-11-13 08:06 | Gregor Jasny | Note Added: 0039868 | ||||||||
2015-11-16 09:21 | Brad King | Note Added: 0039871 | ||||||||
2015-11-16 10:01 | Bartosz | Note Added: 0039872 | ||||||||
2015-11-16 10:14 | Brad King | Relationship added | related to 0015843 | |||||||
2015-12-09 15:04 | Bartosz | Note Added: 0039962 | ||||||||
2015-12-09 15:10 | Brad King | Note Added: 0039964 | ||||||||
2015-12-09 15:10 | Brad King | Status | assigned => resolved | |||||||
2015-12-09 15:10 | Brad King | Resolution | open => fixed | |||||||
2015-12-09 15:10 | Brad King | Fixed in Version | => CMake 3.5 | |||||||
2016-05-02 08:30 | Robert Maynard | Note Added: 0040981 | ||||||||
2016-05-02 08:30 | Robert Maynard | Status | resolved => closed | |||||||
2016-06-06 13:37 | Brad King | View Status | private => public |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|