<s> from ... Helpers import xcrun_helper <EOL> from . Base_Action import * <EOL> class AnalyzeAction ( Base_Action ) : <EOL> def __init__ ( self , action_xml ) : <EOL> self . root = { } ; <EOL> self . contents = action_xml ; <EOL> if '<STR_LIT>' in self . contents . keys ( ) : <EOL> self . buildConfiguration = self . contents . get ( '<STR_LIT>' ) ; <EOL> def performAction ( self , container , xcparse_object , configuration_name , additional_settings ) : <EOL> """<STR_LIT>""" <EOL> if self . root != { } : <EOL> for child in self . root . children : <EOL> project_path = xcrun_helper . resolvePathFromLocation ( child . target . ReferencedContainer , container [ <NUM_LIT:2> ] . path . base_path , container [ <NUM_LIT:2> ] . path . base_path ) ; <EOL> project = filter ( lambda proj : proj . path . obj_path == project_path , xcparse_object . projects ( ) ) ; <EOL> if len ( project ) > <NUM_LIT:0> : <EOL> project = project [ <NUM_LIT:0> ] ; <EOL> else : <EOL> project = xcparse_object . project_constructor ( project_path ) ; <EOL> if USE_XCODE_BUILD == <NUM_LIT:1> : <EOL> xcrun_helper . perform_xcodebuild ( project , container [ <NUM_LIT:1> ] . name , '<STR_LIT>' , additional_settings ) ; <EOL> else : <EOL> print '<STR_LIT>' ; </s>
