Skip to content

RN <= 0.59 Linking#169

Merged
janicduplessis merged 1 commit intoAppAndFlow:masterfrom
SpencerLynn:rn-59-pbxproj-linking
Jan 27, 2021
Merged

RN <= 0.59 Linking#169
janicduplessis merged 1 commit intoAppAndFlow:masterfrom
SpencerLynn:rn-59-pbxproj-linking

Conversation

@SpencerLynn
Copy link
Copy Markdown
Contributor

@SpencerLynn SpencerLynn commented Jan 17, 2021

Adding all .h and .m files to the Xcode project to ensure that all files are available and linked for non-autolinking scenarios (RN <= 0.59).

This should fix #158.

Summary

I had an older RN project that was still on RN 0.59.10. When adding this project and linking (manually via react-native link), the build failed. I noticed that not every file was included in the project. When manually fixing this, my build succeeded.

Test Plan

As mentioned in the summary, I had a RN project on version 0.59.10. The build failed until I manually added the rest of the .h. and .m files to the project. This makes the same change that fixed my build.

Perhaps there should be a CI build of a RN project of version 0.59 if it is claimed to be supported?

…les are available and linked for non-autolinking scenarios (RN <= 0.59).
Copy link
Copy Markdown
Collaborator

@janicduplessis janicduplessis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! I'll keep that in mind when making changes. I'll see if I can think of a simple way to test this on CI too.

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.

Build error on iOS after installing react-native-safe-area-context

2 participants