Skip to content

Python exception - KeyError: 'children' #1

@MrSkwiggs

Description

@MrSkwiggs

I know this project hasn't been updated in a while, but when trying to run this I get the following error:

Traceback (most recent call last):
  File "pbxproj_organizer.py", line 385, in <module>
    order = processPBXProjOrder(text)
  File "pbxproj_organizer.py", line 141, in processPBXProjOrder
    dictionary = generateChildren(parent, elements)
  File "pbxproj_organizer.py", line 158, in generateChildren
    grandchildren = generateChildren(childFileRef, source)
  File "pbxproj_organizer.py", line 158, in generateChildren
    grandchildren = generateChildren(childFileRef, source)
  File "pbxproj_organizer.py", line 158, in generateChildren
    grandchildren = generateChildren(childFileRef, source)
  File "pbxproj_organizer.py", line 151, in generateChildren
    children = source[node][PBXGroupSectionChildrenKey]
KeyError: 'children'

I'm really not proficient in Python so not sure what's causing this :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions