def build_project(xcodeproj_path, pbxproj_path='project.pbxproj'): call this initially. Will create the project object to work with. last_group = project.get_or_create_group(i, parent=last_group) # ...
xtool is a cross-platform (Linux/WSL/macOS) tool that replicates Xcode functionality with open standards.