Gradle "No provisioning profile found matching signing identity" insanity

196 views
Skip to first unread message

Katelyn Slater

unread,
May 3, 2015, 12:19:58 PM5/3/15
to rob...@googlegroups.com
So I've built an app for someone, using my own provisioning profile and code signing stuff for development.
Its complete, so I went to use his instead so he can deploy it to the app store, and suddenly robovm is giving errors.
I've spent a almost a day debugging it, I went so far as to purge everything related to xcode and signing keys...

I'm using gradle for this because I don't actually own a mac so I've been using a dedicated server and its just easier to setup.
And more or less its saying it can't find the provisioning profile even though it works fine for my own account.
I also sent the project in eclipse form to him so he could try on his own mac with no success...

I've double, triple, quadruple checked everything, went so far as to reconfigure build.gradle and robovm.properties by copying and pasting the strings directly from inside the provisioning profiles and apple's developer site to make sure I'm not typing anything wrong...
The error, and robovm/gradle configurations are attached.

And I found someone else with a similar error on the robovm group so I tried running the commands suggested to check
admin$ java -cp robovm-0.0.6/lib/robovm-compiler.jar org.robovm.compiler.target.ios.SigningIdentity
[SigningIdentity [name=iPhone Developer: M****** F********* (JB9P3BY6N5), fingerprint=9912B68DCB64568B336B60107A230302CEA3F282]]
admin$ java -cp robovm-0.0.6/lib/robovm-compiler.jar org.robovm.compiler.target.ios.ProvisioningProfile
[ProvisioningProfile [file=/Users/admin/Library/MobileDevice/Provisioning Profiles/021301cf-de5d-4fcc-afa5-97c6a9329d02.mobileprovision, uuid=021301cf-de5d-4fcc-afa5-97c6a9329d02, name=iOS Developer: MediaSnipr, appIdName=MediaSnipr, appIdPrefix=2KPUVPLMLD, appId=2KPUVPLMLD.com.mediasnipr, creationDate=Sat May 02 18:09:30 PDT 2015, expirationDate=Sun May 01 18:09:30 PDT 2016, certFingerprints=[9912B68DCB64568B336B60107A230302CEA3F282]]]

I've... hidden the name of the guy (used search and replace after copying the files into a directory for upload to this post, so I'm definitely not accidentally compiling using the wrong strings) I'm working for because privacy, he wants to publish this Wednesday by the latest so I'm hoping I can find some help, wasted a LOT of time trying to figure this out and nothing makes sense to me, I've remade the certificates, provisioning profiles, and even app ids 5+ times now... what really gets me is, like I mentioned, it worked perfectly with my developer account, its just that he needs it published under his own... 

Oh and this is the same for both version 1.0.0 and 1.1.0 of robovm...
although the error is a little smaller with 1.0.0...
Thank you for any help.
build.gradle
error.txt
robovm.properties

Michael Joyner

unread,
May 3, 2015, 12:28:59 PM5/3/15
to Katelyn Slater, robovm
Are you using the "developer" key instead the "app submission" key for submission?

--
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/d/optout.



--

Katelyn Slater

unread,
May 3, 2015, 1:39:05 PM5/3/15
to rob...@googlegroups.com, kta...@gmail.com
Yes, I've tried adhoc, developer, and even app store certificate+profile pairs.
I basically tried every single thing I could think of whether it made sense to work or not...
Not familiar enough with robovm to really debug it any further than just trying other combinations of configurations and profiles though :\

Katelyn Slater

unread,
May 3, 2015, 2:30:39 PM5/3/15
to rob...@googlegroups.com, kta...@gmail.com
Also forgot to mention but, and its commented out in the gradle config, if I manually specify a provisioning profile it does sign, HOWEVER, it errors when I try to install it on a device, saying there are no valid provisioning profiles or something to taht effect (don't have easy access to xcode to check the exact wording again right now).
I've verified the UDID of the devices I've tried to install onto (multiple times), removed and re-added them to the apple developer site... I've more or less completely wiped the developer account of everything multiples times...

I even opened my developer account beside his, and double checked all the configuration between the provisioning profiles, certificates, and app ids to make sure they were correct.
I have an iPad sitting beside me that I can install the app onto if I sign it with my account, but not his... exact same settings (except my appid is mediasnipr and his is com.mediasnipr)...
So there's no reason I can think of for it to work with my account and not his... not sure if this is something I should bring up with apple or not but I've heard their support can take forever and idk if they care about 3rd party tools like robovm so thats why I posted here first.

I might be able to get permission to email the source if that would help,
along with the keys/certificates/profiles I generated (can always just generate new ones after).
Really confused...

Niklas Therning

unread,
May 4, 2015, 5:25:38 AM5/4/15
to Katelyn Slater, rob...@googlegroups.com
Hi Katelyn, I feel your frustration. App signing is a nightmare, wish Apple would do something about it.

Anyway, did you try changing

  app.id=2KPUVPLMLD.com.mediasnipr

to

  app.id=com.mediasnipr

The prefix is not supposed to be included in the app/bundle id. If you go to App IDs on the Apple Developer Member Center you should see the ID there and it does not include the prefix.


Katelyn Slater

unread,
May 4, 2015, 7:34:44 AM5/4/15
to rob...@googlegroups.com, kta...@gmail.com
wow I'm not even sure what to think right now...
I've written 1 other app for another client, and it REQUIRED I include that user id hash thing (I remember reading that prefix is a user id or something).

Both for 2 personal apps, a testing app, and 1 other commercial app, across 2 different apple developer accounts,
I've been required to include it, so I thought it meant the app id from the provisioning profile (screenshot included so you know what I mean).

I can't even begin to imagine how things work if for some developer accounts its required it be there, and for others its required it not be there...
At least I know now, I can't thank you enough for suggesting that, I probably would have tried it eventually after wasting another day because it never worked without it...
I definitely can't sign with my own developer account without it... unless it changed in the past week since I finished his app :\

Anyway thank you immensely, I love robovm because I've already made a lot of things in Java and can share the code with Android,
I was starting to get really worried I'd need to port my app to swift or something, which would delay things by a week...

I first learned java and javascript, I love those languages so much... so I'm glad I can continue avoiding xcode lol...
Screenshot from 2015-05-04 07:14:21.png

Niklas Therning

unread,
May 4, 2015, 8:08:52 AM5/4/15
to Katelyn Slater, rob...@googlegroups.com
I'm glad I could help. I think that weird hash like thing is your Team ID. You can find it on this link https://developer.apple.com/membercenter/index.action#accountSummary.
Reply all
Reply to author
Forward
0 new messages