Commit 14375bf
iOS example: remove dangling RunAnywhereMetalRT product reference
PR #476 added RunAnywhereMetalRT to examples/ios/RunAnywhereAI's
project.pbxproj as a required package product, but root Package.swift
exposes that product only when either useLocalBinaries=true (and a local
RABackendMetalRT.xcframework is present) or metalrtRemoteBinaryAvailable=true
(and a published checksum is wired in). Neither is currently true, so SPM
resolution failed with 'Missing package product RunAnywhereMetalRT'.
Removed the dangling product reference. All code that uses
MetalRTRuntime is guarded with #if canImport(MetalRTRuntime) already,
so the app continues to build and run without MetalRT. When the binary
is published, re-add the product reference and flip the flag.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1152dcc commit 14375bf
3 files changed
Lines changed: 17 additions & 8 deletions
File tree
- examples
- flutter/RunAnywhereAI
- android/app/src/main/java/io/flutter/plugins
- ios/Runner
- ios/RunAnywhereAI/RunAnywhereAI.xcodeproj
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
78 | 88 | | |
79 | 89 | | |
80 | 90 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
173 | | - | |
174 | 172 | | |
175 | 173 | | |
176 | 174 | | |
| |||
311 | 309 | | |
312 | 310 | | |
313 | 311 | | |
314 | | - | |
315 | 312 | | |
316 | 313 | | |
317 | 314 | | |
| |||
1083 | 1080 | | |
1084 | 1081 | | |
1085 | 1082 | | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | 1083 | | |
1092 | 1084 | | |
1093 | 1085 | | |
| |||
0 commit comments