Why does `ionic run ios` error with “No matching provisioning profile found”?

后端 未结 2 552
死守一世寂寞
死守一世寂寞 2021-02-08 11:22

My goal is to run my Ionic app on my iPhone. I don\'t figure out what could be the reason explaining this exception:

    myIonicApp$ sudo ionic run ios

    Che         


        
相关标签:
2条回答
  • 2021-02-08 11:50

    Try going into Xcode preferences, into Accounts and clicking the refresh button at the bottom left of the dialog.

    0 讨论(0)
  • 2021-02-08 11:54

    As Mik378 said on his comment the right destination path of the provisioning profiles seems to be /Library/MobileDevice so all you have to do is copy everything you need to that folder:

    sudo cp -r ~/Library/MobileDevice/ /Library/MobileDevice/
    
    0 讨论(0)
提交回复
热议问题