Skip to content

Commit

Permalink
Update for swift6 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnmrndn authored Oct 31, 2024
1 parent 06cff2c commit e5fc781
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ let package = Package(
"StorybookKit",
]
),
]
],
swiftLanguageVersions: [.v5]
)
8 changes: 4 additions & 4 deletions Sources/StorybookKit/StorybookKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Foundation
@freestanding(declaration)
public macro StorybookPage(

Check warning on line 27 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(title:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 27 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(title:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 27 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(title:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response
title: String,
@ViewBuilder contents: @escaping () -> any View
@ViewBuilder contents: @escaping @MainActor () -> any View
) = #externalMacro(
module: "StorybookMacrosPlugin",
type: "StorybookPageMacro"
Expand All @@ -35,7 +35,7 @@ public macro StorybookPage(
@freestanding(declaration)
public macro StorybookPage<Target>(

Check warning on line 36 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(target:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 36 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(target:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 36 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPageMacro' could not be found for macro 'StorybookPage(target:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response
target: Target.Type = Target.self,
@ViewBuilder contents: @escaping () -> any View
@ViewBuilder contents: @escaping @MainActor () -> any View
) = #externalMacro(
module: "StorybookMacrosPlugin",
type: "StorybookPageMacro"
Expand All @@ -44,7 +44,7 @@ public macro StorybookPage<Target>(
@freestanding(expression)
public macro StorybookPreview(

Check warning on line 45 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit

external macro implementation type 'StorybookMacrosPlugin.StorybookPreviewMacro' could not be found for macro 'StorybookPreview(title:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 45 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPreviewMacro' could not be found for macro 'StorybookPreview(title:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response
title: String,
@ViewBuilder contents: @escaping () -> any View
@ViewBuilder contents: @escaping @MainActor () -> any View
) -> AnyView = #externalMacro(
module: "StorybookMacrosPlugin",
type: "StorybookPreviewMacro"
Expand All @@ -53,7 +53,7 @@ public macro StorybookPreview(
@freestanding(expression)
public macro StorybookPreview<Target>(

Check warning on line 54 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit

external macro implementation type 'StorybookMacrosPlugin.StorybookPreviewMacro' could not be found for macro 'StorybookPreview(target:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response

Check warning on line 54 in Sources/StorybookKit/StorybookKit.swift

View workflow job for this annotation

GitHub Actions / build-storybook-kit-texture-support

external macro implementation type 'StorybookMacrosPlugin.StorybookPreviewMacro' could not be found for macro 'StorybookPreview(target:contents:)'; '/Users/runner/Library/Developer/Xcode/DerivedData/Storybook-ios-gadhxqvvbkzwzsdqmeljtdwtzzgv/Build/Products/Debug-iphonesimulator/StorybookMacrosPlugin' produced malformed response
target: Target.Type = Target.self,
@ViewBuilder contents: @escaping () -> any View
@ViewBuilder contents: @escaping @MainActor () -> any View
) -> AnyView = #externalMacro(
module: "StorybookMacrosPlugin",
type: "StorybookPreviewMacro"
Expand Down

0 comments on commit e5fc781

Please sign in to comment.