Error in iOS release build, debug build works fine

42 views
Skip to first unread message

s...@iap.de

unread,
Sep 9, 2016, 5:42:37 AM9/9/16
to CodenameOne Discussions
Hi,

I have problems creating an iOS release build.
The debug build works fine.

According to the error logfile the build itself works fine, archiving was also successful, but the export failed.
If have read the other post about the ios build failing and therefore recreated the certificate and provision profile, but it did not help.

Then I created certificate and provision profile for development and that build worked fine.

I looked again at the error-log and have found that it complains about a missing entitlement: "beta-reports-active"
I am using an enterprise ios account, but isn't this an appstore feature?

Of course, I use "Send iOS AppStore build" because there is no "Send iOS Enterprise build" and it always worked that way for years already (yes, codename one is getting "old" - congratulations for that :))

Any idea what's going wrong?
If you want to take a look at the error-log, please let me know (I am not sure if I should or want to post it here)


Best regards and thanks in advance for whatever you can do to help me,
Stefan


wng.m...@gmail.com

unread,
Sep 9, 2016, 12:22:24 PM9/9/16
to CodenameOne Discussions, s...@iap.de
Hi

Just want to 'upvote' this to get more attention. I'm also facing the same issue.
I was able to use the "iphone_old" target to build and install on some devices

Steve Hannah

unread,
Sep 9, 2016, 1:27:56 PM9/9/16
to codenameone...@googlegroups.com, s...@iap.de
So you are receiving the error  "missing entitlement: beta-reports-active"?

If you set the ios.testFlight=true build hint, does it fix it?

Steve

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1dbdacd0-bb6c-4930-83e7-5d29cd2c312f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve Hannah
Software Developer
Codename One
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Steve Hannah

unread,
Sep 12, 2016, 2:39:15 PM9/12/16
to codenameone...@googlegroups.com, s...@iap.de
Just posting back to the list with the solution to this issue in case it applies to others.  In this particular case the App ID was part of a team, and the distribution method was for the enterprise.  Therefore, he needed to supply the ios.teamId build hint with the team ID.   And also the ios.distributionMethod=enterprise  build hint.

And since testflight doesn't apply to enterprise distributions, the ios.testFlight build hint needed to be false - otherwise xcodebuild would "object".

Steve
Reply all
Reply to author
Forward
0 new messages