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

烈酒焚心 提交于 2019-12-03 17:28:35

问题


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:

The organizer:


回答1:


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/



回答2:


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



来源:https://stackoverflow.com/questions/25968329/why-does-ionic-run-ios-error-with-no-matching-provisioning-profile-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!