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

Unable to build on Catalyst #3750

Closed
marcosrdz opened this issue May 21, 2021 · 3 comments · Fixed by #3824
Closed

Unable to build on Catalyst #3750

marcosrdz opened this issue May 21, 2021 · 3 comments · Fixed by #3824

Comments

@marcosrdz
Copy link

marcosrdz commented May 21, 2021

When attempting to build a Mac Catalyst app using RealmJS 10.4.1 I get this error:

d: warning: directory not found for option '-L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/iOSSupport/usr/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/maccatalyst'
ld: in /Users/marcos.rodriguez/Documents/GitHub/BlueWallet/node_modules/realm/react-native/ios/realm-js-ios.xcframework/ios-arm64_armv7/librealm-js-ios.a(platform.o), building for Mac Catalyst, but linking in object file built for iOS, file '/Users/marcos.rodriguez/Documents/GitHub/BlueWallet/node_modules/realm/react-native/ios/realm-js-ios.xcframework/ios-arm64_armv7/librealm-js-ios.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@kneth
Copy link
Contributor

kneth commented May 21, 2021

We currently don't have support for Catalyst but I believe we can add it relatively easy.

Mostly an internal note (or partial todo list):

@marcosrdz
Copy link
Author

Any updates?

@kneth
Copy link
Contributor

kneth commented Jun 18, 2021

We haven't had a breakthrough yet but we are working on it. It turns out that building for Catalyst using CMake isn't trivial.

takameyer added a commit that referenced this issue Jul 2, 2021
This fixes #3750 and requires an update in core.
@takameyer takameyer mentioned this issue Jul 2, 2021
6 tasks
takameyer added a commit that referenced this issue Jul 8, 2021
This fixes #3750 and requires an update in core.
takameyer added a commit that referenced this issue Jul 8, 2021
* Add Catalyst Support

This fixes #3750 and requires an update in core.

* Peg core to catalyst support commit
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants