Repository navigation
Commit 07499e4
authored
build(shared-core): resolve a local XCFramework when FLIPCASH_SHARED_CORE_LOCAL is set (#1389)
Android compiles :kmp:shared-core from source, so a Kotlin change shows up in the
next Android build. iOS consumes it as a published XCFramework pinned by version,
so the same change needed the publish workflow, a moved tag, and a bumped pin
before it could be tried at all. That cost is about to be paid per iteration: the
derivation and bonding-curve moves are far more iterative than the beachhead was.
The switch goes in the package manifest rather than in the app, because the app
reaches SharedCoreKit twice — FlipcashUI depends on it, and Code.xcodeproj carries
its own remote package reference for the app target's direct import. Overriding one
leaves the other on the published package and resolution fails on duplicate
SharedCore/SharedCoreKit targets. The publish job copies this manifest verbatim into
the SPM repo, so the tagged copy the app resolves carries the same conditional and
both consumers follow it.
The path is rewritten relative to the package root because SwiftPM rejects an
absolute binary-target path, and the published manifest is checked out into
DerivedData with no Kotlin next to it.
Loop and verification: docs/shared-core-local-development.md in the orchestrator.1 parent a435a13 commit 07499e4
2 files changed
Lines changed: 45 additions & 5 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
13 | 54 | | |
14 | 55 | | |
15 | 56 | | |
| |||
25 | 66 | | |
26 | 67 | | |
27 | 68 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 69 | + | |
33 | 70 | | |
34 | 71 | | |
35 | 72 | | |
| |||
0 commit comments