-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Infra] Switch zip building over to Xcode 15.2 #12737
Conversation
Building with 15.2 has a bug that was fixed in 15.3:
Which I believe is causing failure (https://github.com/firebase/firebase-ios-sdk/actions/runs/8620842172/job/23628537213?pr=12737#step:7:19446). I think one idea to workaround would be to add an option to the zip builder to not use a temporary directory (as it contains the problematic symlink) and instead use a directory passed in (e.g. ~/path/to/build/intermediates`). I will investigate more tomorrow. |
Locally reproducible with
|
path [URL]: |
Perhaps we have to hold off on building the zip with the ARM mac. It took over 24 hrs for the original run to pick a machine, and I don't think it ever did before timing out. I kicked if off again this morning, but it still hasn't been picked up in the 90 minutes since I re-kicked it off. cc: @paulb777, @andrewheard |
Choosing |
This reverts commit 2e58c41.
Plain |
There must have been something wrong with 83ff298 because CI did not run as expected. Trying again with the |
Testing the macos-14 built artifact on the quickstart tests: https://github.com/firebase/firebase-ios-sdk/actions/runs/8707424883/job/23882445114 |
By bumping the macOS version of the quickstart runner, we're running into https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/zip.yml#L463 Looking into ways we can fix the FirebaseUI XCFrameworks... |
Finding an Xcode 15 build solution for Firebase UI sounds good - but I'm fine with a workaround for this PR. |
I think I'm going to need to comment out the Firestore test. My workaround around for now was to move the resource bundles that were embedded in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
….25.0" (#1056) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [firebase/firebase-ios-sdk](https://togithub.com/firebase/firebase-ios-sdk) | minor | `from: "10.24.0"` -> `from: "10.25.0"` | --- ### Release Notes <details> <summary>firebase/firebase-ios-sdk (firebase/firebase-ios-sdk)</summary> ### [`v10.25.0`](https://togithub.com/firebase/firebase-ios-sdk/releases/tag/10.25.0): Firebase Apple 10.25.0 [Compare Source](https://togithub.com/firebase/firebase-ios-sdk/compare/10.24.0...10.25.0) The Firebase Apple SDK (10.25.0) is now available. For more details, see the [Firebase Apple SDK release notes.](https://firebase.google.com/support/release-notes/ios#10.25.0) To install this SDK, see [Add Firebase to your project.](https://firebase.google.com/docs/ios/setup) #### What's Changed - \[FirebaseCoreInternal] Switch to implementation-only import of GULs by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12714](https://togithub.com/firebase/firebase-ios-sdk/pull/12714) - \[AppCheck, Database, InAppMessaging, MLModelDownloader, Performance, Sessions] Migrate to GoogleUtilities's storage container by [@​ncooke3](https://togithub.com/ncooke3) in [#​12752](https://togithub.com/firebase/firebase-ios-sdk/issues/12752), [#​12753](https://togithub.com/firebase/firebase-ios-sdk/issues/12753), [#​12757](https://togithub.com/firebase/firebase-ios-sdk/issues/12757), [#​12759](https://togithub.com/firebase/firebase-ios-sdk/issues/12759), [#​12762](https://togithub.com/firebase/firebase-ios-sdk/issues/12762), [#​12773](https://togithub.com/firebase/firebase-ios-sdk/issues/12773) - Use declspec in Firestore on Windows machines by [@​a-maurice](https://togithub.com/a-maurice) in [https://github.com/firebase/firebase-ios-sdk/pull/12758](https://togithub.com/firebase/firebase-ios-sdk/pull/12758) - \[CI] Stop Xcode 14, start Xcode 15.3 by [@​paulb777](https://togithub.com/paulb777) in [https://github.com/firebase/firebase-ios-sdk/pull/12746](https://togithub.com/firebase/firebase-ios-sdk/pull/12746) - \[Performance] Migrate to GoogleUtilities's storage container by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12759](https://togithub.com/firebase/firebase-ios-sdk/pull/12759) - Todos and workarounds for tests not yet ready for macos-14 by [@​paulb777](https://togithub.com/paulb777) in [https://github.com/firebase/firebase-ios-sdk/pull/12781](https://togithub.com/firebase/firebase-ios-sdk/pull/12781) - Another macos-14 CI workaround by [@​paulb777](https://togithub.com/paulb777) in [https://github.com/firebase/firebase-ios-sdk/pull/12787](https://togithub.com/firebase/firebase-ios-sdk/pull/12787) - \[CI] Update grpc dependent jobs to macos-14 by [@​paulb777](https://togithub.com/paulb777) in [https://github.com/firebase/firebase-ios-sdk/pull/12790](https://togithub.com/firebase/firebase-ios-sdk/pull/12790) - \[Firestore] Remove DocumentID setter warning by [@​andrewheard](https://togithub.com/andrewheard) in [https://github.com/firebase/firebase-ios-sdk/pull/12756](https://togithub.com/firebase/firebase-ios-sdk/pull/12756) - \[App Check] Bump dependency on AppCheckCore to 10.19.0+ by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12806](https://togithub.com/firebase/firebase-ios-sdk/pull/12806) - Allow Blob of data with zero length. by [@​tom-andersen](https://togithub.com/tom-andersen) in [https://github.com/firebase/firebase-ios-sdk/pull/12694](https://togithub.com/firebase/firebase-ios-sdk/pull/12694) - \[Infra] Switch zip building over to Xcode 15.2 by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12737](https://togithub.com/firebase/firebase-ios-sdk/pull/12737) - Make use of SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION conditional. by [@​cprince-foreflight](https://togithub.com/cprince-foreflight) in [https://github.com/firebase/firebase-ios-sdk/pull/12548](https://togithub.com/firebase/firebase-ios-sdk/pull/12548) - \[Release Tooling] Consistent approach to resources when building on Xcode 15 by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12821](https://togithub.com/firebase/firebase-ios-sdk/pull/12821) - \[Release Tooling] Cleanup unused folder references by [@​ncooke3](https://togithub.com/ncooke3) in [https://github.com/firebase/firebase-ios-sdk/pull/12825](https://togithub.com/firebase/firebase-ios-sdk/pull/12825) - Analytics 10.25.0 by [@​pcfba](https://togithub.com/pcfba) in [https://github.com/firebase/firebase-ios-sdk/pull/12843](https://togithub.com/firebase/firebase-ios-sdk/pull/12843) - Update `FIRAuthInterop` to use `_Nullable_result` annotation by [@​andrewheard](https://togithub.com/andrewheard) in [https://github.com/firebase/firebase-ios-sdk/pull/12841](https://togithub.com/firebase/firebase-ios-sdk/pull/12841) - Disable quickstart CI that doesn't work with Xcode 15 by [@​paulb777](https://togithub.com/paulb777) in [https://github.com/firebase/firebase-ios-sdk/pull/12846](https://togithub.com/firebase/firebase-ios-sdk/pull/12846) #### New Contributors - [@​mrs1669](https://togithub.com/mrs1669) made their first contribution in [https://github.com/firebase/firebase-ios-sdk/pull/12760](https://togithub.com/firebase/firebase-ios-sdk/pull/12760) - [@​a-maurice](https://togithub.com/a-maurice) made their first contribution in [https://github.com/firebase/firebase-ios-sdk/pull/12758](https://togithub.com/firebase/firebase-ios-sdk/pull/12758) - [@​cprince-foreflight](https://togithub.com/cprince-foreflight) made their first contribution in [https://github.com/firebase/firebase-ios-sdk/pull/12548](https://togithub.com/firebase/firebase-ios-sdk/pull/12548) **Full Changelog**: firebase/firebase-ios-sdk@10.24.0...10.25.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Per https://developer.apple.com/news/?id=fxu2qp7b, start building the zip with Xcode 15.2. Creating XCFrameworks on Xcode 15 versions before 15.3 has a bug where the
/var/
paths are not properly evaluated in their canonical form (/private/var/
). To work around this, the-create-xcframework
argument is given canonical paths. See #12737 (comment).