Using Xcode 9, how to remove old/expired provisioning profiles from Corona/Mac

When using Xcode 9, does anyone know how to remove old/unwanted provisioning profiles from Corona on the Mac? I’m trying to build for iOS 11 and getting invalid certificate errors when copying to a device - so I’d like to start “fresh”. However Xcode, of course, has changed once again and the interface doesn’t show profiles or any obvious way of deleting them. 

Thanks for any pointers! Not sure why these errors are suddenly appearing either. I created a new provisioning (ad-hoc) profile and it too produced the error.

Jeff

The profiles are in your ~/Library/MobileDevice/Provisioning Profiles folder. You can just clean that folder out.

Rob

Thanks Rob. For anyone else who doesn’t use a Mac that often, this path is found under the Users/Yourusername/ folder.

I was able to remove all the profiles so that when I restarted Xcode, it downloaded just the current (valid) profiles. So far so good, except that when I try to use Xcode to copy a freshly built app to my device, I’m still getting a “The executable contains an invalid signature.” error.

Anyone else having this problem? I am quite sure everything is valid and up-to-date.

Thought it might be that I used a distribution ad-hoc profile but same thing happens when I created a development profile.

The profiles are in your ~/Library/MobileDevice/Provisioning Profiles folder. You can just clean that folder out.

Rob

Thanks Rob. For anyone else who doesn’t use a Mac that often, this path is found under the Users/Yourusername/ folder.

I was able to remove all the profiles so that when I restarted Xcode, it downloaded just the current (valid) profiles. So far so good, except that when I try to use Xcode to copy a freshly built app to my device, I’m still getting a “The executable contains an invalid signature.” error.

Anyone else having this problem? I am quite sure everything is valid and up-to-date.

Thought it might be that I used a distribution ad-hoc profile but same thing happens when I created a development profile.