| 2004 | |
| 2005 | |
| 2006 | class PBXFrameworksBuildPhase(XCBuildPhase): |
| 2007 | # No additions to the schema relative to XCBuildPhase. |
| 2008 | |
| 2009 | def Name(self): |
| 2010 | return "Frameworks" |
| 2011 | |
| 2012 | def FileGroup(self, path): |
| 2013 | (_root, ext) = posixpath.splitext(path) |
| 2014 | if ext != "": |
| 2015 | ext = ext[1:].lower() |
| 2016 | if ext == "o": |
| 2017 | # .o files are added to Xcode Frameworks phases, but conceptually aren't |
| 2018 | # frameworks, they're more like sources or intermediates. Redirect them |
| 2019 | # to show up in one of those other groups. |
| 2020 | return self.PBXProjectAncestor().RootGroupForPath(path) |
| 2021 | else: |
| 2022 | return (self.PBXProjectAncestor().FrameworksGroup(), False) |
| 2023 | |
| 2024 | |
| 2025 | class PBXShellScriptBuildPhase(XCBuildPhase): |
no outgoing calls
no test coverage detected