Skip to content

Support for Mac Catalyst #460

@robertying

Description

@robertying

Bug Description

React Native 0.64-rc has introduced Hermes for iOS. I'm trying to build for Mac Catalyst and there seems to be some problem with prebuilt binary shipped with Hermes for iOS.

ld: building for Mac Catalyst, but linking in dylib built for iOS Simulator, file '/Users/rying/myapp/ios/Pods/hermes-engine/destroot/Library/Frameworks/iphoneos/hermes.framework/hermes' for architecture x86_64

- [ ] I have run gradle clean and confirmed this bug does not occur with JSC

Hermes version: 0.7.2
React Native version (if any): 0.64.0-rc.3
OS version (if any): macOS 11.2.1
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): x86_64 (Catalyst)

Steps To Reproduce

  1. Init RN with 0.64.0-rc.3
  2. Build for Mac Catalyst target

The Expected Behavior

I see Hermes already supports x86-64 so it should play nice with Catalyst too.

Thanks for the great work and I really hope it gets fixed soon!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions