Can't access iOS Provisioning profile Selection/Management from the menu

I’m using Mac Catalina 10.15.7 and Appium Studio latest version 20.10.7516 (although issue existed in previous version too)
Steps to reproduce:

  1. Open Appium studio and from the menu click on Tools-> iOS Provisioning Profile Selection or
  2. Open Appium studio and from the menu click on Tools->i OS Provisioning Profile Management

Dialogs do not appear. Error log (to big to be pasted please let me know how to distribute the whole log)
2020-11-18 15:55:23,309 [AWT-EventQueue-0] (imagestudio.ImageStudioApp) ERROR Thread [Thread[AWT-EventQueue-0,6,main]] got unexpected exception.
java.lang.IllegalStateException: java.lang.IllegalStateException: Duplicate key /Users/radmila.petrovic/Library/MobileDevice/Provisioning Profiles/6db32701-45b0-4066-8e2f-5f3005a5e65c.mobileprovision
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735)
at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:714)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.experitest.device.ios.profile.IosCodeSigningConfUtils.fetchAllMobileProvisionsOnMac(IosCodeSigningConfUtils.java:140)
at com.experitest.device.ios.profile.IosCodeSigningConfUtils.getOsxProvProfiles(IosCodeSigningConfUtils.java:100)
at com.experitest.device.ios.profile.ProfileManager.loadOnMac(ProfileManager.java:658)
at com.experitest.device.ios.profile.ProfileManager.load(ProfileManager.java:135)
at com.experitest.device.ios.profile.ProfileManager.(ProfileManager.java:54)
at com.experitest.device.ios.profile.ProfileManager.getInstance(ProfileManager.java:45)
at imagestudio.panels.ios.ProfileImportDialog$ProfileTableModel.getRowCount(ProfileImportDialog.java:282)
at javax.swing.JTable.getRowCount(JTable.java:2665)
at javax.swing.plaf.basic.BasicTableUI.createTableSize(BasicTableUI.java:1692)
at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(BasicTableUI.java:1733)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:495)
at java.awt.Container.preferredSize(Container.java:1799)
at java.awt.Container.getPreferredSize(Container.java:1783)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at com.jgoodies.forms.layout.FormLayout$ComponentSizeCache.getPreferredSize(FormLayout.java:1942)
at com.jgoodies.forms.layout.FormLayout$PreferredWidthMeasure.sizeOf(FormLayout.java:1863)
at com.jgoodies.forms.layout.Sizes$ComponentSize.maximumSize(Sizes.java:429)
at com.jgoodies.forms.layout.FormSpec.maximumSize(FormSpec.java:578)
at com.jgoodies.forms.layout.FormLayout.maximumSizes(FormLayout.java:1538)
at com.jgoodies.forms.layout.FormLayout.computeGridOrigins(FormLayout.java:1428)
at com.jgoodies.forms.layout.FormLayout.layoutContainer(FormLayout.java:1255)
at java.awt.Container.layout(Container.java:1513)
at java.awt.Container.doLayout(Container.java:1502)
at java.awt.Container.validateTree(Container.java:1698)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validate(Container.java:1633)
at java.awt.Window.dispatchEventImpl(Window.java:2744)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

@Radmila -

  1. If you are on a OSX, please make sure you have the latest xcode with command line tools:
    https://docs.experitest.com/display/TC/Appium+Studio+Installation

2.You should also make sure you have the latest Apple WWDR in your keychains:
https://developer.apple.com/support/expiration/

  1. You can try to delete this key - /Users/radmila.petrovic/Library/MobileDevice/Provisioning Profiles/6db32701-45b0-4066-8e2f-5f3005a5e65c.mobileprovision and see if that fixes the issue