Skip to content

Conversation

TimOliver
Copy link
Contributor

Hi @tgoyne! Long time no see! I hope everyone's been doing well!

I'm working on a small CLI tool to dynamically produce Realm files on macOS. Since CLI programs can't link to dynamic frameworks very easily, I thought it would be easier to just statically link a copy of Realm Objective-C.

But it turns out Realm Objective-C only supports dynamic frameworks on macOS for now.

I asked @bdash a while back and he said the only thing that should be needed to get static support working is to add macosx to the list of supported platforms.

I made that change, and it all seems to be working now. Since this adds a small bit of value back to Realm Cocoa, I thought I'd submit a PR.

I realize that in terms of build process and testability, it might require some more work to get this fully integrated. I'm happy to help anyway I can. Let me know. :)

Thanks!

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.

3 participants