Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(ios): specify script runs every time, fix crashlytics input file path #7472

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

mikehardy
Copy link
Collaborator

@mikehardy mikehardy commented Nov 27, 2023

Description

A couple small tweaks to our run scripts so they operate more smoothly + quietly

Related issues

Release Summary

conventional commits

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

Checked behavior of the always_out_of_date attr locally, plus you can see in the pod-generated xcodeproj that it was carried through correctly.

Checking the build log confirms that the previous warnings about the run script phase always running are no longer present


Think react-native-firebase is great? Please consider supporting the project with any of the below:

Copy link

vercel bot commented Nov 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2023 8:49pm
react-native-firebase-next ❌ Failed (Inspect) Nov 28, 2023 8:49pm

@mikehardy
Copy link
Collaborator Author

Seeing behavior in CI that I did not see locally - the warning is still showing up about the script running each time. Very unexpected, need to investigate

https://github.com/invertase/react-native-firebase/actions/runs/7007681536/job/19062324712?pr=7472#step:19:4651

this removes the ambiguity of whether they need to run
every time or not, which caused xcodebuild to emit a warning

if ambiguous, xcodebuild runs them every time which is our
desired behavior, this behavior will continue as before but
now without the warning message
I believe it had an incorrect path segment prepended to it,
now the input file matches the app module input file path
this have no value and clutter the build log
these are noisy in the build log, and we only care about our own script phase
warnings - the ones about detox, react-native and copying headers are noise not signal
@mikehardy
Copy link
Collaborator Author

Definitely seeing expected results now, and was able to quiet a few other items as well so the build is pretty peaceful

@mikehardy mikehardy merged commit afa6364 into main Nov 28, 2023
@mikehardy mikehardy deleted the @mikehardy/run-script-preening branch November 28, 2023 21:21
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.

1 participant