'get-task-allow' when installing exported ipa

1,470 views
Skip to first unread message

janus....@gmail.com

unread,
Sep 20, 2013, 7:37:50 PM9/20/13
to rob...@googlegroups.com
Hey,

Been trying to figure this one out for some time now.
When exporting to ipa and trying to install on an iOS device, we get this in the device log.
<Error>: entitlement 'get-task-allow' has value not permitted by a provisioning profile

I am not certain I am using the right approach but this is what I do:

html file:
<html>
</html>


GDXTest.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>assets</key>
			<array>
				<dict>
					<key>kind</key>
					<string>software-package</string>
					<key>url</key>
					<string>http://..servername-removed../GDXTest.ipa</string>
				</dict>
			</array>
			<key>metadata</key>
			<dict>
				<key>bundle-identifier</key>
				<string>com.jk.bstest</string>
				<key>kind</key>
				<string>software</string>
				<key>title</key>
				<string>GDXTest</string>
			</dict>
		</dict>
	</array>
</dict>
</plist>

.. and the IPA ofcourse



The app works on the device when using run on iOS device from eclipse. Libgdx, robovm updated to nightlies today.
I have been experimenting with trying to set 'get-task'allow' to false in Entitlements.plist or Info.plist but I don't really know what I am doing haha.
Anyways, if I could get an ipa export working, that would make the development process much easier.

Thanks for the awesome work, any pointers welcomed.

/Kjempff


Niklas Therning

unread,
Sep 21, 2013, 1:32:01 PM9/21/13
to janus....@gmail.com, rob...@googlegroups.com
get-task-allow must be false in the IPA if you are submitting it to App Store. For ad-hoc distribution (which it sounds like you're trying) I also think it has to be false. RoboVM sets it to true when running on device from Eclipse and to false when exporting to IPA. Please check your provisioning profile you're using. There's an Entitlements section in there and I think it should be false. You can read this file with 'less' from Terminal. Let me know what it says. 
--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

janus....@gmail.com

unread,
Sep 22, 2013, 10:19:06 AM9/22/13
to rob...@googlegroups.com, janus....@gmail.com
Yes You were right, the provisioning profile had get-task-allow set to true. Making a new certificate and then new provisioning profile fixed it.

Notes and steps:
Don't manually edit the provisioning profile file :)
1. Follow the instructions on developer.apple.com for creating a new release/ad-hoc certificate.
- Keychain tool: Keychain Access -> Certificate Assistant -> Request Certificate from a Certificate Authority
- blahblah email, Distribution/ad-hoc..
- Upload certificate to developer.apple.com (not sure if this was needed)
2. Create a new provisioning profile on developer.apple.com of type release/ad-hoc, and use the certificate created in step 1.
- Download new provisioning profile, import into Xcode
3. Eclipse: Package for app, don't select auto in provisioning profile
Reply all
Reply to author
Forward
0 new messages