参考官网:https://developer.apple.com/library/content/featuredarticles/XcodeConcepts/Concept-Targets.html#//apple_ref/doc/uid/TP40009328-CH4-SW1
列出所有的Target
,编译你工程的配置和schemes
。在命令行打印下面的命令。
$ xcodebuild -list -project LeTVLoginSDK/LeTVLoginSDK.xcodeproj
Information about project "LeTVLoginSDK":
Targets:
LeTVLoginSDK
LeTVLoginSDKResources
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
LeTVLoginSDK
LeTVLoginSDKResources
AFNetworking
Bolts
FBSDKCoreKit
FBSDKLoginKit
Pods-LeTVLoginSDK
Pods-LeTVLoginSDKResources