Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add otf font files to known file types #788

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

kwridan
Copy link
Collaborator

@kwridan kwridan commented Aug 4, 2023

Short description 📝

Generated project files with otf font files were producing diffs when using Xcode due those files not having a lastKnownFileType set.

Solution 📦

  • 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

- 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
@netlify
Copy link

netlify bot commented Aug 4, 2023

Deploy Preview for xcodeproj ready!

Name Link
🔨 Latest commit 7419260
🔍 Latest deploy log https://app.netlify.com/sites/xcodeproj/deploys/64ccb66e65d301000825c42a
😎 Deploy Preview https://deploy-preview-788--xcodeproj.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pepicrft pepicrft merged commit 1659198 into main Aug 30, 2023
14 checks passed
@pepicrft pepicrft deleted the update/add-otf-files branch August 30, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants