Skip to content

Commit a8ab7ac

Browse files
committed
fix: widgetbundle name collision
1 parent 492e9f6 commit a8ab7ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/commands/widget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public struct ${capitalizeFirstLetter(name)}Model: ActivityAttributes {
321321
import SwiftUI
322322
323323
@main
324-
struct ${capitalName}Bundle: WidgetBundle {
324+
struct ${capitalName}Bundle: SwiftUI.WidgetBundle {
325325
var body: some Widget {
326326
${[1, 2].includes(type) ? capitalName + "HomeScreenWidget()" : ""}
327327
${[0, 1].includes(type) ? capitalName + "LiveActivity()" : ""}
@@ -691,6 +691,7 @@ extension ConfigurationAppIntent {
691691
);
692692
console.log(
693693
`Followup steps:\n
694+
- Check App_Resources/iOS/build.xcconfig IPHONEOS_DEPLOYMENT_TARGET=17 or higher.
694695
- Update App_Resources/iOS/extensions/provisioning.json with your profile id.
695696
- Customize App_Resources/iOS/extensions/${name}/${capitalizeFirstLetter(
696697
name

0 commit comments

Comments
 (0)