[M1 Mac, Ventura 13.3.1, Xcode 14.3]
自製カレンダーアプリのComplicationを純正アプリと同様にラベル有りとラベル無しの2種類作成しました。
TargetとしてWidget Extensionを増やすだけなので特に問題なくできますが、作成時に”Include Configuration Intent”にチェックを入れないようにします。チェックを入れるとそのままではコマンドの重複が発生しビルドエラーになります。


@main
struct DateToolComplicationLabel: Widget {
let kind: String = "DateToolComplicationLabel"
var body: some WidgetConfiguration {
StaticConfiguration(kind: kind, provider: Provider()) { entry in
DateToolComplicationLabelEntryView(entry: entry)
}
.configurationDisplayName("Date ラベル付き")
.description("")
.supportedFamilies([.accessoryCircular,.accessoryCorner,.accessoryRectangular,.accessoryInline])
}
}