Custom Build Rules cause crash

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reproducing the failure through xcodeproj.XcodeProject with ignore_deserialization_errors=True, using a project containing the shown custom build rule. Review the reported deserialization errors for input_files and is_editable; done means that this project loads without the reported crash.

Written by the indexing model from the issue text.

Description

When I use xcodeproj.XcodeProject(xcodeproj_path, ignore_deserialization_errors=True)

it prints:

raise DeserializeException(
deserialize.exceptions.DeserializeException: Unexpected missing value for: Dict.46EB2E000A1620.input_files

raise DeserializeException(
deserialize.exceptions.DeserializeException: Cannot deserialize '<class 'str'>' to '<class 'bool'>' for 'Dict.46EB2E000A1620.is_editable'

46EB2E000A1620 is a Custom Build Rules, like this:

image
image

how to solve it ,thanks!

Dominant language
Python
Stars
45
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/xcodeproj

All issues in microsoft/xcodeproj

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.