ios - No matching provisioning profiles found only in command line tool -


my project able build , run on iphone using xcode, means both certificates , provisioning profiles rightly set up. if try use command line tool run app on device, tells me no matching provisioning profiles found. problem?

enter image description here

as can see in picture shows no issue certificate , provisioning profiles. when use command line tool, failed.

this type in command line:

xcodebuild \ -workspace myapp.xcworkspace \ -scheme snail \ -configuration debug \ -destination "platform=ios,id=<my device udid>" \ code_sign_identity="iphone distribution: cert name" \ clean test 

error in command line tool:

enter image description here

if don't explicitly specify profile xcodebuild should use, use 1 set in target's "build settings". in order specify profile, need know it's uuid (which can found opening .mobileprovision in text editor). if profile uuid "1234567890", updated command run is:

xcodebuild \ -workspace myapp.xcworkspace \ -scheme snail \ -configuration debug \ -destination "platform=ios,id=<my device udid>" \ code_sign_identity="iphone distribution: cert name" \ provisioning_profile="1234567890" \ clean test 

of course, sure device included in profile :)


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -