microsoft / microsoft/xcodeproj

Custom Build Rules cause crash

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

Nobody has claimed this yet.

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

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!

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.