File tree Expand file tree Collapse file tree
src/main/java/com/sap/prd/mobile/ios/mios/xcodeprojreader Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 */
2020package com .sap .prd .mobile .ios .mios .xcodeprojreader ;
2121
22+ import com .sap .prd .mobile .ios .mios .xcodeprojreader .treeelements .PBXGroup ;
23+
2224public class Project extends Element
2325{
2426 public Project (ProjectFile projectFile )
@@ -43,6 +45,12 @@ public BuildConfigurationList getBuildConfigurationList()
4345 return new BuildConfigurationList (getProjectFile (), buildConfigurationList );
4446 }
4547
48+ public PBXGroup getMainGroup () {
49+ String groupRef = getDict ().getString ("mainGroup" );
50+ Dict group = getProjectFile ().getObjectByReference (groupRef );
51+ return new PBXGroup (getProjectFile (), group );
52+ }
53+
4654 public ReferenceArray <Target > getTargets ()
4755 {
4856 return new ReferenceArray <Target >(getProjectFile (), getDict ().getOrCreateAndSetArray ("targets" ),
You can’t perform that action at this time.
0 commit comments