IOS Team Provisioning Profile doesn't include signing certificate

colburt187

  • *
  • Posts: 2416
Ok lets try the Xcode fix. go to publish then choose Xcode project, it will tell you you need to download haxe, just ignore that, save the folder to your desktop. The double clock the Xcode proj file and it should open Xcode, then hit the play button. Have your device plugged in while you do this. See the screenshot attached.

It won't work to test in Xcode but thats fine, once you have done that try again to test on device from stencyl.


hairyfingers

  • Posts: 110
Ok lets try the Xcode fix. go to publish then choose Xcode project, it will tell you you need to download haxe, just ignore that, save the folder to your desktop. The double clock the Xcode proj file and it should open Xcode, then hit the play button. Have your device plugged in while you do this. See the screenshot attached.

It won't work to test in Xcode but thats fine, once you have done that try again to test on device from stencyl.

Thanks this worked for me.  I already had a provisioning that was called team but build wasn't working.  Did the Xcode thing and it created another team profile and then it worked from within Stencyl.  One minor addition,   I didn't need to plug in a device I just pressed the play button from within Xcode.  the build failed immediately but the team profile was created straight away.  cheers

ceosol

  • *
  • Posts: 2279
I've been having a ton of troubles with ios over the past few weeks. I finally was able to test on my ipad tonight. I don't know if this will work for everybody, but hopefully it will save someone from banging their head against the wall :)

1. (one of Justin’s solutions) Downloaded haxe 3.4
https://haxe.org/download/

2. Opened the Terminal application (do a search and type in Terminal)

3. Once the prompt was up, I typed:
haxelib setup

4. When prompted for a location, I pressed Enter for the default location

5. I also did:
haxelib install
... with the following libraries:
nme
lime
hxcpp
hscript
swf
I do not think you actually have to do those, I just wanted to be safe.

6. (one of Stefan’s solutions) Grabbed Xcode 8.2
https://developer.apple.com/download/

7. (opposite of what someone else's suggestion about provision profiles) In Xcode > preferences > account > profile list, I actually deleted the provisioning profile that was already there.

8. I compiled from stencyl to get an xcodeproject

9. I opened the xcodeproject and then ran to iOS device.

10. After a few seconds, the xcodeproject screen reverts to default. After that happened, I then clicked “Automatically manage signing”, waited for the team prompt to appear and put in my name. Most of the other fields filled in automatically. The only one left was clicking “capabilities” and fixing the GameKit key.

All of this was done without any certificates, provision profiles nor the team identifier filled within the Stencyl settings. I did not have to do anything with the actual p12 or mobileprovision files and probably did not even have to download them.

kthorspear

  • Posts: 4
Ok lets try the Xcode fix. go to publish then choose Xcode project, it will tell you you need to download haxe, just ignore that, save the folder to your desktop. The double clock the Xcode proj file and it should open Xcode, then hit the play button. Have your device plugged in while you do this. See the screenshot attached.

It won't work to test in Xcode but thats fine, once you have done that try again to test on device from stencyl.

After wrestling with a "Xcode couldn't find a provisioning profile matching [App ID]" error for 3+ hours, this was what solved it for me. Thanks so much!

It would be helpful to add this fix to the iOS Troubleshooting Guide: http://www.stencyl.com/help/view/xcode-ios-troubleshoot/

ohgem

  • Posts: 42
Ok lets try the Xcode fix. go to publish then choose Xcode project, it will tell you you need to download haxe, just ignore that, save the folder to your desktop. The double clock the Xcode proj file and it should open Xcode, then hit the play button. Have your device plugged in while you do this. See the screenshot attached.

It won't work to test in Xcode but thats fine, once you have done that try again to test on device from stencyl.

After wrestling with a "Xcode couldn't find a provisioning profile matching [App ID]" error for 3+ hours, this was what solved it for me. Thanks so much!

It would be helpful to add this fix to the iOS Troubleshooting Guide: http://www.stencyl.com/help/view/xcode-ios-troubleshoot/

This WORKS! I was loosing hope, then I found this article. I kept getting the same error, I tried this method and it worked just fine.
Follow: Twitter | Instagram
My Games: Jump Jump Fruit IOS

thedragonllama

  • *
  • Posts: 33
Hi all, I just found this thread due to similar iOS testing woes, and if I am understanding the current solution correctly, I will have to upgrade my account to the Studio version just to test this Xcode export method? Is that right? I knew I would have to upgrade eventually to publish to iOS, but now it seems I have to do it just to get iOS testing to work... yikes.

rob1221

  • *
  • Posts: 9473
I believe that when you test, an Xcode project is created in your games-generated folder in your workspace.  Try opening and running that instead.

bonzero

  • Posts: 488
I was really desperate until I found this post! it worked!