Skip to content

Conversation

davedelong
Copy link

On Apple platforms, Foundation re-exports CoreFoundation, which means that doing import Foundation also includes the symbols for CoreFoundation. On Linux, this is not the case.

Therefore, compiling SwLibTidy on Linux fails compilation with errors like:

cannot find 'CFStringEncodings' in scope

and

cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope

unless you explicitly import CoreFoundation.

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.

1 participant