Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get CocoaPods (almost) to compile xcdatamodel resources as it copies them, like it does XIBs
*.xcdatamodel)
echo "`basename $1 .xcdatamodel`.mom"
echo "`basename ${1} .xcdatamodel`.mom"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename ${1} .xcdatamodel`.mom"
;;
@panupan

This comment has been minimized.

Copy link

panupan commented Feb 13, 2013

Seems to work good. Hopefully they'll get the full solution for CocoaPods/CocoaPods#650 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.