Skip to content

Commit

Permalink
Add otf font files to known file types
Browse files Browse the repository at this point in the history
- The `allExtensions` dictionary is used to map known file type extensions to `lastKnownFileType` in the pbxproj
- Adding `otf` font files to the list

Test Plan:

- Add any otf font file to Xcode manually
- Examine the pbxproj and verify `file` is used as the `lastKnonwFileType`
- Read and write the project using `XcodeProj`
- Verify no diffs
  • Loading branch information
kwridan committed Aug 4, 2023
1 parent 6e60fb5 commit 7419260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/XcodeProj/Project/Xcode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public struct Xcode {
"nib~": "wrapper.nib",
"nqc": "sourcecode.nqc",
"o": "compiled.mach-o.objfile",
"otf": "file",
"octest": "wrapper.cfbundle",
"p": "sourcecode.pascal",
"pas": "sourcecode.pascal",
Expand Down

0 comments on commit 7419260

Please sign in to comment.