I solved this issue as follows:
first, I ran the command rm ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision in the Mac terminal, in Xcode, I went to Settings > Accounts > Download Manual Profiles. Finally, I restarted the PA Server, and everything worked correctly