简体   繁体   中英

Command line build an iOS sample project without development team

I created a Hello Word project in Xcode and built it in the simulator it successfully. But when I tried build the same project by command line, I received this error:

Signing for "PROJECT" requires a development team. Select a development team in the project editor.

Why building by Xcode is not requires a development team and by command line is required?

EDIT:

This is Xcode Signing configuration: 在此处输入图片说明

This is the command that I am trying run:

xcodebuild CODE_SIGN_STYLE=Automatic -configuration Debug

尝试手动将“ -sdk”设置为“ iphonesimulator”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM