I'm attempting to migrate an existing Core Data (with local store) project to Heroku using AFIncrementalStore and the Core Data Buildpack, but pushing to Heroku keeps failing.
The primary differences between my app setup and that in the aforelinked tutorial:
I've set up the Xcode workspace with the AFNetworking/AFIncremental dependencies, but not actually changed any code yet.
The directory containing the Xcode project/workspace files is one level down from the root of my git repo. This means
heroku create --buildpack git://github.com/mattt/heroku-buildpack-core-data.git
fails to create the git remote namedheroku
, but I cancd ..
andheroku git:remote -a appname
and that seems to be cool.I'm working on a branch other than
master
in my git repo, so when I push to Heroku I need to usegit push heroku my_local_branch:master
.
However, that git push
doesn't get anywhere, not even into the Core Data Buildpack stuff (as far as I can tell):
-----> Fetching custom git buildpack... done
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:appname.git
! [remote rejected] my_local_branch -> master (pre-receive hook declined)