Open mikehardy opened 2 months ago
Note: this was against CLI v14.1.0 - I'm currently making sure rn75 works This may be changed in rn76 RCs - I'll be checking those later
are macCatalyst builds checked in CI π€ ?
Unfortunately no :(
Note: this was against CLI v14.1.0 - I'm currently making sure rn75 works This may be changed in rn76 RCs - I'll be checking those later
Maybe to make this solution more future-proof we'll fallback to other value if initial one fails? π€
I guess it is hard in CI, since you need an Xcode development team to do a macCatalyst build - it was pretty annoying to set up in my build test rig, at least π
Would you like me to alter the patch to actually check existence of the path so it can try both and return the one that works ?
I guess it is hard in CI, since you need an Xcode development team to do a macCatalyst build - it was pretty annoying to set up in my build test rig, at least π
Ah, right π
Would you like me to alter the patch to actually check existence of the path so it can try both and return the one that works ?
Yes, IMO that's the safest solution.
I added a unit test and handle both cases now, force-pushed, and while the idea is roughly the same code is now different so re-requesting review, thanks you all
Summary:
it appears targetBuildDir var now has
-maccatalyst
in it before it gets to this method, so no need to add it againThis was tweaked in #2312 but appears to have regressed again - are macCatalyst builds checked in CI π€ ?
Without this change, the path is incorrect (note the duplicate
-maccatalyst
in path):Highlight:
Test Plan:
I build and test with macCatalyst all the time: https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh
I added a unit test that exercises the method, sending it old (without -maccatalyst) and new (with -maccatalyst) inputs to verify it handles both, and verify I didn't regress the more common ios build code path
Checklist