20

I registered new device in developer.apple.com and after generation all profiles when I tried to send the build caught this issue: "We couldn't locate the following devices in your profile... Use this file to update missing UDIDs in your ... development profile in the Apple iOS Provisioning". But this UDID is not missed. I tried to disable it, generate all profiles, enable it and generate again. Also I tried to delete old profiles and create new. Nothing changed. All other devices works fine. If I try to install this build via Beta app - "developer needs to add this device's UDID to a build". How can I fix it?

I guess it may happen because we had another device with the same name but different UDID. I renamed it before adding new one. But in that message I see not the same name as in devices list. But I'm not sure that that's the reason why it doesn't work. I tried to disable that old device at all and generate profiles again but it doesn't help too

Julia Kurnosova
  • 741
  • 5
  • 9
  • device naming is not the issue. How are you making build? local machine, server? does that machine have right cert and profiles? – k-thorat Apr 21 '17 at 03:07
  • 3
    local machine. it contains all certificates and profiles. I solved it. just deleted all *. mobileprovision files from ../Library/MobileDevice/Provisioning Profiles and download them again – Julia Kurnosova Apr 21 '17 at 11:21
  • Please add your comment in answers and marked as answered. It could be useful for someone else. – k-thorat Apr 21 '17 at 17:02

1 Answers1

54

I solved it. just deleted all *. mobileprovision files from ~/Library/MobileDevice/Provisioning Profiles and download them again

sleep
  • 4,855
  • 5
  • 34
  • 51
Julia Kurnosova
  • 741
  • 5
  • 9
  • 5
    I wonna burn down twitter head quarter to the ground now. – hasan May 24 '17 at 21:57
  • 1
    And those ... at apple's – hasan May 24 '17 at 21:58
  • I had to do this too...oddly, after redoing everything, those files don't come back... – Mark Watkins Jun 09 '17 at 19:55
  • 1
    Deleted profiles. Downloading the profiles again did not work for me. If "Automatically manage Signing" is not checked in your project general tab in Xcode, you will likely have to check it and uncheck it. – Khaled Barazi Aug 29 '17 at 05:23
  • I lost an hour of my life to this. Luckily your solution worked – Waqar Ahmed Dec 22 '17 at 07:16
  • The fact that this works is freaking insane. But thank you so much for reporting this! – Jesper Bylund Jun 01 '18 at 08:02
  • I've come back to this like 4 times because I can never remember what folder it's in. But I would like to point out that this isn't a Fabric issue, but rather an iOS/xcode issue. Although the Fabric app could (and should) probably clean out the profiles dir automatically for us. – Chase Roberts Apr 03 '19 at 18:52