Published November 13, 2014
Recently, Ryan Linton and I ran into an annoying error with a RubyMotion iOS project. Every time we'd run
rake device, we'd get
We eventually opened the Devices panel in Xcode:
...selected the iPhone, clicked the absurdly hidden console icon:
...and dragged the console up large enough to see what was going on:
Once we tried
rake device again, there was a line that said something to the effect that there were some entitlements that were not allowed with this provisioning profile. Ah-ha!
We were trying to use HealthKit, and the App identifier in theApple Developer center wasn't set up for that:
After turning that on and regenerating the provisioning profile, everything worked.
Hope this helps someone!
We ran into another error:
Failed to create source for client (null)
app.seed_id = 'SEEDIDHERE' app.identifier = 'com.clearsightstudio.myapp' app.entitlements['application-identifier'] = app.seed_id + '.' + app.identifier
Make sure you also have this:
app.entitlements['com.apple.developer.healthkit'] = true
Hopefully this also helps someone!