You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve race condition in nsld.sh with parallel linker invocations
Xcode can invoke nsld.sh concurrently for different architectures during
incremental builds. All invocations shared a single Swift-Modules directory,
causing EINVAL errors on APFS when one process deletes the directory while
another is writing module.modulemap.
Use per-architecture directories (Swift-Modules-$TARGET_ARCH) so parallel
invocations no longer collide. Export the arch-specific path into
HEADER_SEARCH_PATHS so the metadata generator can still locate the modulemap.
0 commit comments