Test Flight: "must contain the correct beta entitlement"

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stevenchalmers
Posts: 15
Joined: Mon Jul 11, 2011 8:12 pm

Test Flight: "must contain the correct beta entitlement"

Post by stevenchalmers » Mon Jan 05, 2015 7:28 pm

I have successfully submitted and released my app to iTunes but can't get the Test Flight service to work. I keep getting the message: "To use TestFlight Beta Testing, build 1.0.4 must contain the correct beta entitlement. For more information, see the FAQ."

Everything I have read says to recreate my Distribution Provisioning profile which I did. I recreated it again today and am still getting the warning message.

I converted my embedded.mobileprovision file ( contained in my .app file ) to xml to see if it contains the Entitlements <key>beta-reports-active</key> which it does and it has a value: <true/>.

Livecode: 7.0.1
xCode: 6.1.1
OS: Yosemite 10.10.1

Any advice would be most appreciated.


Steven

Coffee1633
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 219
Joined: Mon Dec 05, 2011 5:35 pm
Location: Kanagawa, Japan

Re: Test Flight: "must contain the correct beta entitlement"

Post by Coffee1633 » Tue Jan 06, 2015 1:48 am

I have the same situation using

Livecode: 7.0.1
xCode: 6.1.1
OS: 10.9.5

I would like to start using test flight as well

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Test Flight: "must contain the correct beta entitlement"

Post by jacque » Tue Jan 06, 2015 7:53 pm

I haven't used Test Flight so take this with a grain of salt, but since you are distributing development copies of your app I'd think you would use the development profile, not the distribution one. It's worth a try anyway. Distribution profiles are typically only used when submitting to the App Store.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

stevenchalmers
Posts: 15
Joined: Mon Jul 11, 2011 8:12 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by stevenchalmers » Tue Jan 06, 2015 9:12 pm

Unfortunately that is not the answer. The following statement comes from the iTunes Connect page that describes Beta Entitlement:

https://itunesconnect.apple.com/WebObje ... ntitlement

"To use the TestFlight app to test your prerelease build, it must be signed with an App Store Distribution Provisioning profile that includes the beta entitlement. New Distribution Provisioning profiles generated in the iOS Developer Center will automatically contain the beta entitlement."

I believe the point is that once you have had some beta testing done and you are happy with the build you simply release it.

Thanks for the idea though.


Steven

gliacca
Posts: 17
Joined: Tue Oct 14, 2014 9:09 am

Re: Test Flight: "must contain the correct beta entitlement"

Post by gliacca » Sat Jan 24, 2015 2:03 am

Does anyone find a solution to this problem?
I have the same right now.

vikkysingh
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 16
Joined: Fri Dec 31, 2010 8:13 am

Re: Test Flight: "must contain the correct beta entitlement"

Post by vikkysingh » Tue Feb 17, 2015 9:21 am

1. find the entitlements.xcent file in device folder (7.1 and 8.1)
2. modify as below, by adding beta-reports-active key
<?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>beta-reports-active</key>
<true/>
<key>application-identifier</key>
<string>${APP_IDENTIFIER}.${BUNDLE_IDENTIFIER}</string>
<key>get-task-allow</key>
<true/>
${REMOTE_NOTIFICATIONS}
</dict>
</plist>



that should do the trick.

p.schelvis
Posts: 17
Joined: Wed Dec 04, 2013 1:52 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by p.schelvis » Tue Mar 03, 2015 11:45 am

It didn't work for me. Maybe I did something wrong.
I still get " To use TestFlight Beta Testing, build 1.1.5 must contain the correct beta entitlement. For more information, see the FAQ.".

From Apple: "To use the TestFlight app to test your prerelease build, it must be signed with an App Store Distribution Provisioning profile that includes the beta entitlement. New Distribution Provisioning profiles generated in the iOS Developer Center will automatically contain the beta entitlement."

I made a new Distribution Provisioning profile. It didn't help.

I added (see above, in6.1; 7.1 ; 8.1- directories:
<key>beta-reports-active</key>
<true/>

Is that enough?
Does it work by other users of LC?
Suggestions?

Regards,
Peter

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by ChrisMukrow » Fri Mar 06, 2015 3:33 pm

Nope we have the same problem even with the fix. Any other ideas or should I create a bug report?

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by ChrisMukrow » Fri Mar 06, 2015 3:42 pm

There is bug report created and Runrev is working on it: http://quality.runrev.com/show_bug.cgi?id=14706

seanmiller
Posts: 50
Joined: Mon Mar 03, 2014 1:17 am

Re: Test Flight: "must contain the correct beta entitlement"

Post by seanmiller » Mon Apr 06, 2015 8:35 pm

Hi,

I'm having the same problem trying to use TestFlight in iTunesConnect with my app. Can you give more context regarding the "device" folder? Is this within the Xcode application or somewhere else?

Thanks,
Sean

UPDATE: I found the file. Applications, LiveCode 7.0.3, Contents, Tools, Runtime, iOS, Device-8_1. I added the beta key and am now uploading to iTunesConnect. Will post how it goes...

seanmiller
Posts: 50
Joined: Mon Mar 03, 2014 1:17 am

Re: Test Flight: "must contain the correct beta entitlement"

Post by seanmiller » Mon Apr 06, 2015 9:20 pm

Adding that beta test key to the entitlements file seemed to work for me. I was able to submit my app just now for beta review on iTunesConnect.

willcate
Posts: 7
Joined: Sun Jul 06, 2014 8:44 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by willcate » Fri Jun 26, 2015 5:43 pm

This fixed the issue for me as well (LiveCode 7.0.5). I added the beta test key to both the Entitlements.xcent and StoreEntitlements.xcent files.

noelc
Posts: 6
Joined: Wed Jul 15, 2015 5:53 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by noelc » Wed Jul 15, 2015 5:55 pm

I'm having this problem. Where is the Entitlements.xcent file?

Ta.


Lenko
Posts: 8
Joined: Fri Jan 16, 2015 2:50 pm

Re: Test Flight: "must contain the correct beta entitlement"

Post by Lenko » Mon Aug 24, 2015 3:20 pm

I have followed this thread with no luck.
Adding that beta test key to the entitlements file did not work for me.
I am using LC7.1 , x code 6.4 .
I did not see anywhere to enable beta entitlement on the apple developer site when doing my provisioning profiles.
The beta testing hasn't been around for that long, so I made my build with the latest versions of x code assuming the beta entitlement would be included.
I don't know if this is a live code issue , but I don't feel that I should have to modify folder contents.
Please help

Post Reply

Return to “iOS Deployment”