MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj

Bug: UI locks up while indexing

Open
#3,128 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
626
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Description

We have problems with recent Xcode versions continuously indexing while saturating the CPU and locking up the UI.

Image

In this screenshot you can see that Xcode takes 163.9 seconds to index a single file.

Also the rules_xcodeproj.noindex paths seem to be indexed. I am not sure if that is intentional.

Image
Reproduction steps
git clone --recurse-submodules git@github.com:maplibre-native/maplibre-native.git
cd platform/ios
bazel run //platform/ios:xcodeproj --@rules_xcodeproj//xcodeproj:extra_common_flags="--//:renderer=metal"
xed platform/ios/MapLibre.xcodeproj
Expected behavior

UI not locking up while indexing.

Faster indexing like before.

rules_xcodeproj version

2.10.0

Xcode version

16.0

Bazel version

8.0.0

rules_apple version

3.17.1

rules_swift version

2.2.3

Additional information

No response

Contributor guide

Open the contributing guide

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

Reproduce the issue from the listed git clone, bazel run, and xed commands using rules_xcodeproj 2.10.0 with Xcode 16.0. Start by checking the generated platform/ios/MapLibre.xcodeproj and its indexing behavior, including rules_xcodeproj.noindex paths. Done means identifying and addressing the cause of continuous indexing and UI lockups, with faster indexing than reported.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.