Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserilization fails when swift package is linked to iOS app #34

Open
amleszk opened this issue Dec 5, 2024 · 0 comments
Open

Deserilization fails when swift package is linked to iOS app #34

amleszk opened this issue Dec 5, 2024 · 0 comments

Comments

@amleszk
Copy link

amleszk commented Dec 5, 2024

See the screenshot for steps to reproduce, I have erased the name of the swift package

Image

  • Add swift package
  • Link swift package library to an app target
  • Open Xcode project xcodeproj.XcodeProject(project_path, ignore_deserialization_errors=True)
  File "scratch_8.py", line 16, in xcodeproj_compare
    project = xcodeproj.XcodeProject(project_path, ignore_deserialization_errors=True)
  File "venv/lib/python3.8/site-packages/xcodeproj/__init__.py", line 109, in __init__
    **deserialize.deserialize(
  File "venv/lib/python3.8/site-packages/deserialize/__init__.py", line 91, in deserialize
    return _deserialize(
  File "venv/lib/python3.8/site-packages/deserialize/__init__.py", line 185, in _deserialize
    _deserialize_dict(
  File "venv/lib/python3.8/site-packages/deserialize/__init__.py", line 295, in _deserialize_dict
    result[dict_key] = _deserialize(
  File "venv/lib/python3.8/site-packages/deserialize/__init__.py", line 185, in _deserialize
    _deserialize_dict(
  File "venv/lib/python3.8/site-packages/deserialize/__init__.py", line 389, in _deserialize_dict
    raise DeserializeException(
deserialize.exceptions.DeserializeException: Unexpected missing value for: typing.Dict[str, xcodeproj.pbxobject.PBXObject].4CE2EAC72C338DC100CB62EF.package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant