spotify / XCRemoteCache

Other
833 stars 52 forks source link

Place sourceinfo in Project subdirectory #8

Closed polac24 closed 2 years ago

polac24 commented 2 years ago

Xcode13 (comparing betas) changed the place it puts .swiftsourceinfo in the product directory. Now, it is wrapped in a directory Project. Example:

Products/
├─ Debug-iphonesimulator/
│  ├─ ModuleName/
│  │  ├─ x86_64.swiftdocs
│  │  ├─ x86_64.swiftmodule
│  │  ├─ Project/
│  │  │  ├─ x86_64.swiftsourceinfo

In the Intermediates.noindex directory, Xcode expects all files (swiftdocs, swiftmodule, swiftsourceinfo) to be next in the same directory:

Intermediates.noindex/
├─ Debug-iphonesimulator/
...
│  ├─ x86_64/
│  │  ├─ ModuleName.swiftdocs
│  │  ├─ ModuleName.swiftmodule
│  │  ├─ ModuleName.swiftsourceinfo
...