Skip to content

Commit 5960014

Browse files
committed
Fix warnings
1 parent 2ab52d3 commit 5960014

6 files changed

Lines changed: 15 additions & 14 deletions

File tree

IceCubesApp.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@
12541254
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
12551255
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
12561256
CODE_SIGN_STYLE = Automatic;
1257-
CURRENT_PROJECT_VERSION = 1;
1257+
CURRENT_PROJECT_VERSION = 730;
12581258
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
12591259
GCC_C_LANGUAGE_STANDARD = gnu17;
12601260
GENERATE_INFOPLIST_FILE = YES;
@@ -1267,7 +1267,7 @@
12671267
"@executable_path/Frameworks",
12681268
"@executable_path/../../Frameworks",
12691269
);
1270-
MARKETING_VERSION = 1.0;
1270+
MARKETING_VERSION = 1.10.43;
12711271
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_ID_PREFIX).IceCubesApp.IceCubesAppWidgetsExtension";
12721272
PRODUCT_NAME = "$(TARGET_NAME)";
12731273
SDKROOT = iphoneos;
@@ -1290,7 +1290,7 @@
12901290
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
12911291
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
12921292
CODE_SIGN_STYLE = Automatic;
1293-
CURRENT_PROJECT_VERSION = 1;
1293+
CURRENT_PROJECT_VERSION = 730;
12941294
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
12951295
GCC_C_LANGUAGE_STANDARD = gnu17;
12961296
GENERATE_INFOPLIST_FILE = YES;
@@ -1303,7 +1303,7 @@
13031303
"@executable_path/Frameworks",
13041304
"@executable_path/../../Frameworks",
13051305
);
1306-
MARKETING_VERSION = 1.0;
1306+
MARKETING_VERSION = 1.10.43;
13071307
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_ID_PREFIX).IceCubesApp.IceCubesAppWidgetsExtension";
13081308
PRODUCT_NAME = "$(TARGET_NAME)";
13091309
SDKROOT = iphoneos;
@@ -1391,7 +1391,7 @@
13911391
buildSettings = {
13921392
ALWAYS_SEARCH_USER_PATHS = NO;
13931393
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
1394-
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
1394+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO;
13951395
CLANG_ANALYZER_NONNULL = YES;
13961396
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
13971397
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
@@ -1457,7 +1457,7 @@
14571457
buildSettings = {
14581458
ALWAYS_SEARCH_USER_PATHS = NO;
14591459
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
1460-
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
1460+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO;
14611461
CLANG_ANALYZER_NONNULL = YES;
14621462
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
14631463
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";

IceCubesAppIntents/AppShortcuts.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct AppShortcuts: AppShortcutsProvider {
55
AppShortcut(
66
intent: PostIntent(),
77
phrases: [
8-
"Post \(\.$content) in \(.applicationName)",
8+
"Post in \(.applicationName)",
99
"Post a status on Mastodon with \(.applicationName)",
1010
],
1111
shortTitle: "Compose a post",
@@ -23,7 +23,6 @@ struct AppShortcuts: AppShortcutsProvider {
2323
AppShortcut(
2424
intent: TabIntent(),
2525
phrases: [
26-
"Open \(\.$tab) in \(.applicationName)",
2726
"Open \(.applicationName)",
2827
],
2928
shortTitle: "Open Ice Cubes",
@@ -32,8 +31,10 @@ struct AppShortcuts: AppShortcutsProvider {
3231
AppShortcut(
3332
intent: PostImageIntent(),
3433
phrases: [
35-
"Post images \(\.$images) in \(.applicationName)",
36-
"Send photos \(\.$images) with \(.applicationName)",
34+
"Post images in \(.applicationName)",
35+
"Post an image in \(.applicationName)",
36+
"Send photos with \(.applicationName)",
37+
"Send a photo with \(.applicationName)",
3738
],
3839
shortTitle: "Post a status with an image",
3940
systemImageName: "photo"

IceCubesAppWidgetsExtension/AccountWidget/AccountWidgetConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AppIntents
22
import WidgetKit
33

44
struct AccountWidgetConfiguration: WidgetConfigurationIntent {
5-
static let title: LocalizedStringResource = "Configuration"
5+
static let title: LocalizedStringResource = "Accoutn Widget Configuration"
66
static let description = IntentDescription("Choose the account for this widget")
77

88
@Parameter(title: "Account")

IceCubesAppWidgetsExtension/HashtagPostsWidget/HashtagPostsWidgetConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AppIntents
22
import WidgetKit
33

44
struct HashtagPostsWidgetConfiguration: WidgetConfigurationIntent {
5-
static let title: LocalizedStringResource = "Configuration"
5+
static let title: LocalizedStringResource = "Hashtag Widget Configuration"
66
static let description = IntentDescription("Choose the account and hashtag for this widget")
77

88
@Parameter(title: "Account")

IceCubesAppWidgetsExtension/LatestPostsWidget/LatestPostsWidgetConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AppIntents
22
import WidgetKit
33

44
struct LatestPostsWidgetConfiguration: WidgetConfigurationIntent {
5-
static let title: LocalizedStringResource = "Configuration"
5+
static let title: LocalizedStringResource = "Timeline Widget Configuration"
66
static let description = IntentDescription("Choose the account and timeline for this widget")
77

88
@Parameter(title: "Account")

IceCubesAppWidgetsExtension/MentionWidget/MentionWidgetConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AppIntents
22
import WidgetKit
33

44
struct MentionsWidgetConfiguration: WidgetConfigurationIntent {
5-
static let title: LocalizedStringResource = "Configuration"
5+
static let title: LocalizedStringResource = "Mentions Widget Configuration"
66
static let description = IntentDescription("Choose the account for this widget")
77

88
@Parameter(title: "Account")

0 commit comments

Comments
 (0)