# Xcode couldn't find a provisioning profile matching \<myApp\> - solved

**URL:** <https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842>\
**Category:** ionic-v1\
**Created:** [April 17, 2017, 7:46pm UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842 "2017-04-17T19:46:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmurph1810](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tmurph1810](https://forum.ionicframework.com/u/tmurph1810)\
**Post date:** [April 17, 2017, 7:46pm UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/1 "2017-04-17T19:46:16Z")

</div>

Ionic can’t find the Xcode provisioning profile even though it’s there - really there - in Xcode. Any ideas?

---

<div class="post-metadata">

**Author:** ![tmurph1810](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tmurph1810](https://forum.ionicframework.com/u/tmurph1810)\
**Post date:** [April 17, 2017, 8:59pm UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/2 "2017-04-17T20:59:47Z")

</div>

the Ionic build continues to fail, running the build from Xcode seems to push new content. I’ll keep this thread updated.

---

<div class="post-metadata">

**Author:** ![tmurph1810](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tmurph1810](https://forum.ionicframework.com/u/tmurph1810)\
**Post date:** [April 17, 2017, 9:47pm UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/3 "2017-04-17T21:47:01Z")

</div>

Well, that worked for a while and now it doesn’t work.

I’m back to square 1 and don’t know what to do - right now it’s building with Xcode but the newest code doesn’t appear on my phone.

---

<div class="post-metadata">

**Author:** ![thesourav](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@thesourav](https://forum.ionicframework.com/u/thesourav)\
**Post date:** [April 19, 2017, 2:00am UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/4 "2017-04-19T02:00:45Z")

</div>

you have to build it from cli

$ionic build ios

Then, go to Xcode, Product-\>Clean  
Product -\> Build  
Then, run it on your device.

---

<div class="post-metadata">

**Author:** ![tmurph1810](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tmurph1810](https://forum.ionicframework.com/u/tmurph1810)\
**Post date:** [April 19, 2017, 3:09am UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/5 "2017-04-19T03:09:08Z")

</div>

Apparently I had specified the wrong iOS team in an element in config.xml. Fixing that solved the issue. Thanks!

---

<div class="post-metadata">

**Author:** ![jamesharvey](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jamesharvey/32/116080_2.png) [@jamesharvey](https://forum.ionicframework.com/u/jamesharvey)\
**Post date:** [May 7, 2018, 2:03am UTC](https://forum.ionicframework.com/t/xcode-couldnt-find-a-provisioning-profile-matching-myapp-solved/86842/6 "2018-05-07T02:03:01Z")

</div>

which setting was it? I’m getting the same iOS error…
