Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Error compiling Core Data model in RubyMotion 1.4
› rake
Build ./build/iPhoneSimulator-5.1-Development
Build ./vendor/AFNetworking
Link ./build/iPhoneSimulator-5.1-Development/CB Ruby
Compile ./resources/Cashbox.xcdatamodeld
./resources/Cashbox.xcdatamodeld:0: error: Compilation failed for data model at path './resources/Cashbox.momd/'
rake aborted!
Command failed with status (1): ["/Applications/]
Tasks: TOP => default => simulator => build:simulator
(See full trace by running task with --trace)
Copy link

ddemaree commented May 15, 2012

Is RubyMotion passing a relative output path to the momc compiler tool? Bizarrely, while momc can take a relative input path, its output path must be absolute. This command fails:

/Applications/ ./resources/Cashbox.xcdatamodeld \

This one does not:

/Applications/ ./resources/Cashbox.xcdatamodeld \

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