jamonholmgren / react-native-colo-loco

Colocate your native modules and components with your JavaScript/JSX files.
292 stars 12 forks source link

Project.pbxproj files hash changes at every pod install #14

Closed ste7en closed 1 year ago

ste7en commented 1 year ago

Each time I run the react-native-colo-loco's link_colocated_native_files Podfile script it relinks files to my Xcode project resulting in a new entry in PBXBuildFile section of the project. This makes the project file to be tracked as changed by Git even if the native module did not change or a new one is linked.

jamonholmgren commented 1 year ago

I think to fix this, we'd need to have a way to tell if the files are already linked into Xcode and skip them. Might be fairly straightforward.

If we implemented that, we would probably want a way to force relinking.

ste7en commented 1 year ago

Hey @jamonholmgren 👋 PR #16 solves this issue

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: