CChenX / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Support Core Data xcdatamodeld container #337

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a project which uses Core Data
2. Create a gyp file which pulls in the xcdatamodeld directory, e.g. by adding 
a section like this:
'mac_bundle_resources': [
          '<!@(find . -name "*.xcdatamodeld")',
 ],
3. Generate the XCode project file and open it in XCode 4.6

What is the expected output? What do you see instead?

Expected: The data model file should be editable using the Core Data model 
editor

Actual: The data model file is not editable

What version of the product are you using? On what operating system?

I'm using googlemac/gyp_config/gyp_runner.py on Mac OS 10.8.3

Please provide any additional information below.

I looked at the difference between the project file generated by gyp and a 
working project file. It appears that the gyp project file is missing a 
XCVersionGroup entry for the Core Data xcdatamodeld container.

Original issue reported on code.google.com by robga...@google.com on 26 Apr 2013 at 5:24