Why does `ionic run ios` error with “No matching p

2019-03-19 17:06发布

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

    Check dependencies

    === BUILD TARGET WealCome OF PROJECT WealCome WITH CONFIGURATION Debug ===

    Check dependencies
    Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “dabcc352-0b59-415a-bcd1-6f6ea1d1fbe6”, however, no such provisioning profile was found.
    CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

I have this build settings:

enter image description here

The organizer:

enter image description here

2条回答
闹够了就滚
2楼-- · 2019-03-19 17:40

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/
查看更多
仙女界的扛把子
3楼-- · 2019-03-19 17:44

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

查看更多
登录 后发表回答