(self)
| 2642 | return headers_phase |
| 2643 | |
| 2644 | def ResourcesPhase(self): |
| 2645 | resources_phase = self.GetBuildPhaseByType(PBXResourcesBuildPhase) |
| 2646 | if resources_phase is None: |
| 2647 | resources_phase = PBXResourcesBuildPhase() |
| 2648 | |
| 2649 | # The resources phase should come before the sources and frameworks |
| 2650 | # phases, if any. |
| 2651 | insert_at = len(self._properties["buildPhases"]) |
| 2652 | for index, phase in enumerate(self._properties["buildPhases"]): |
| 2653 | if isinstance(phase, (PBXSourcesBuildPhase, PBXFrameworksBuildPhase)): |
| 2654 | insert_at = index |
| 2655 | break |
| 2656 | |
| 2657 | self._properties["buildPhases"].insert(insert_at, resources_phase) |
| 2658 | resources_phase.parent = self |
| 2659 | |
| 2660 | return resources_phase |
| 2661 | |
| 2662 | def SourcesPhase(self): |
| 2663 | sources_phase = self.GetBuildPhaseByType(PBXSourcesBuildPhase) |
no test coverage detected