Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Versioned CoreData model in Podspec #1288

Closed
Ashton-W opened this Issue Aug 14, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

Ashton-W commented Aug 14, 2013

version 0.23.0

I am suddenly having problems with my pod's CoreData model being set to the wrong version.
My old specification which has been working for the past 5 months looks like this

s.resources      = 'Forms/Model/*.{xcdatamodeld,xcdatamodel}'
s.preserve_paths = 'Forms/Model/*'

I also noticed that the .xcdatamodeld shows up differently when installed by pod. This may not be the cause.

cocoapods-xcdatamodel-screen
Left: standalone project. Right: Integrated as a Pod

What is the correct way to specify a CoreData model in a Podspec?

Possibly related to CocoaPods/Xcodeproj@64cbdfd

Owner

alloy commented Aug 14, 2013

Closing this in favor of the ticket on the Xcodeproj repo.

@alloy alloy closed this Aug 14, 2013

Contributor

Ashton-W commented Aug 14, 2013

I am currently working around this issue by adding the xcdatamodeld to the main project and setting the current version there.

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment