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

Warnings about Universal Type Identifier which can't be defined when using plugin #1079

Open
kenji21 opened this issue Sep 27, 2023 · 0 comments

Comments

@kenji21
Copy link

kenji21 commented Sep 27, 2023

          As the warnings are still present, I dig to determine where they are coming from:

https://developer.apple.com/documentation/security/app_sandbox/discovering_and_diagnosing_app_sandbox_violations

To get the detail error:

swiftgen: warning: Unable to determine the Universal Type Identifier for file /Users/kenji/.....path-to-Regular.ttf : Error Domain=NSCocoaErrorDomain Code=256 "The file “Regular.ttf” couldn’t be opened." UserInfo={NSURL=file:///Users/kenji/.....path-to-Regular.ttf, NSFilePath=/Users/kenji/.....path-to-Regular.ttf, NSUnderlyingError=0x12d631cd0 {Error Domain=NSOSStatusErrorDomain Code=-10813 "kLSDataUnavailableErr: E.g. no kind string"}}

using /usr/bin/sandbox-exec with all the options, only replacing plugin command to: /Users/kenji/github/SwiftGen/.build/debug/swiftgen

and after patching (and swift build):
Screenshot 10

Originally posted by @kenji21 in #952 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants