Last active

Get CocoaPods (almost) to compile xcdatamodel resources as it copies them, like it does XIBs

  • Download Gist
1 2 3 4 5
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"

Seems to work good. Hopefully they'll get the full solution for soon.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.