Commit 648e66a
committed
fix: Disable #Preview macro for SPM command-line builds
The #Preview macro requires PreviewsMacros plugin which may not be
available during SPM command-line builds, causing build failures on
fresh Mac installations. Commented out the preview block to fix
'fastlane launch_lite' build errors.
Preview can be re-enabled when building in Xcode by uncommenting.
Fixes: error: external macro implementation type 'PreviewsMacros.SwiftUIView'
could not be found for macro 'Preview(_:body:)'1 parent f03130c commit 648e66a
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
0 commit comments