Commit e38e5f1
fix(cli): always copy dylibs into iOS Frameworks/ (never symlink)
`installd` rejects any symlinks inside an iOS app's `Frameworks/`
directory, so `dx serve --ios` failed to install bundles whenever
`write_frameworks` took the dev-mode symlink fast path:
invalid symlink at .../Ponderosa.app/Frameworks/libFoo.dylib
`dx bundle` worked because the release profile already falls through
to the `fs::copy` branch. Gate both symlink sites in
`write_frameworks` off when the target OS is iOS so dev builds copy
real files, matching what `installd` requires. Other Unix targets
keep the existing symlink-for-speed behavior.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a6a5115 commit e38e5f1
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2127 | 2127 | | |
2128 | 2128 | | |
2129 | 2129 | | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
2130 | 2135 | | |
2131 | 2136 | | |
2132 | 2137 | | |
| |||
2173 | 2178 | | |
2174 | 2179 | | |
2175 | 2180 | | |
2176 | | - | |
| 2181 | + | |
2177 | 2182 | | |
2178 | 2183 | | |
2179 | 2184 | | |
| |||
2202 | 2207 | | |
2203 | 2208 | | |
2204 | 2209 | | |
2205 | | - | |
2206 | | - | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
2207 | 2214 | | |
2208 | 2215 | | |
2209 | 2216 | | |
| |||
0 commit comments