Ad-Hoc Builds for Static Libraries (Testflight)
i have spent a few hours on this to no avail. I have an application that has the static library Restkit. I hit upon quite a few errors, so i did the following:
added ad-hoc to restkit proj
added entitlements.plist to the restkit proj, with one key (can be debugged = NO)
after failing many times, as a last resort, i also added a info.list, with one key (get-task-allow=YES)
From here开发者_如何学C, the archiving works. But when i try to upload to testflight, it says that the:
"'Invalid Profile: developer build entitlements must have get-task-allow set to true"
I am very much stuck.
I also notice that some people have mentioned setting skip-install = NO but you end up with a archive with multiple applications when you do that, which cannot be signed or validated.
- i have also asked this on TF forum. will cross answer here if i get a reply, but very much hoping for help here too.
RestKit has an extremely active mailing list here where the authors of the framework are very responsive. It may be worth throwing this question up there as well.
However, the message you're seeing above is suggesting that you're building using your development profile rather than your distribution profile. When you build using your development profile it expects
get-task-allow
to be set to true so that you can debug the app whilst it's running on the device.
TestFlight has a pretty comprehensive tutorial here on how to properly setup an archive for ad hoc distribution.
精彩评论