JUCE and React Native - linker error “ld: library not found for -lReact”

前端 未结 4 1047
-上瘾入骨i
-上瘾入骨i 2021-01-14 20:01

I\'m getting this linker error using CocoaPods with React Native: ld: library not found for -lReact

I have followed the guide at https://facebook.githu

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-14 20:22

    I looked for differences between the Introjucer generated project and the Xcode generated one.

    One significant difference was the CONFIGURATION_BUILD_DIR or "Per-configuration Build Products Path"

    I copied over the setting from the Xcode generated project $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

    This allowed the linking to complete and gave a successful build :)

提交回复
热议问题