Skip to content

Commit 97db77f

Browse files
committed
fix: suppress unused variable warning in recordDecision
1 parent 74a0312 commit 97db77f

File tree

5 files changed

+11
-30
lines changed

5 files changed

+11
-30
lines changed

CortexOSApp/CortexOS.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
B7A4DC0A6632E9194C6DC7EC /* Theme.swift in Sources */ = {isa = PBXBuildFile; fileRef = B245C0F1ACBE90E1E66E446B /* Theme.swift */; };
6262
BA172640530928DA8F2B28ED /* DecisionHistoryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09AE60E8198E1E03FF2C9DC2 /* DecisionHistoryView.swift */; };
6363
BBFADD1949CF1D30AF5A1897 /* KnowledgeNote.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7069ADE1D4517A68074A941 /* KnowledgeNote.swift */; };
64+
BD947C3057157494BE09EC87 /* QuickDecisionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01786C49893DB4FC10B08AFF /* QuickDecisionView.swift */; };
6465
C0CDF557F0DF8483EF306DB8 /* Theme.swift in Sources */ = {isa = PBXBuildFile; fileRef = B245C0F1ACBE90E1E66E446B /* Theme.swift */; };
6566
C0DE21C721526FAEA51B8059 /* InsightFeedView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7313EFB35830133EE4155F5C /* InsightFeedView.swift */; };
6667
D1C8E371EB4678190E0A8BA0 /* PipelineStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0C93989C1DC62F928E1750B3 /* PipelineStatus.swift */; };
@@ -73,6 +74,7 @@
7374
E7B7D43C0C232EAF35C66E26 /* CortexOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A68B29F8468FF48C1DAFE09 /* CortexOSApp.swift */; };
7475
EAC85FABCCFF67D9FC4A6C45 /* QuickCaptureView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD13E98FF86C1B2615DFB8AC /* QuickCaptureView.swift */; };
7576
EBA7E81547BA33758E8DE7AE /* ProfileView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEF3C538200AE588B7C603D3 /* ProfileView.swift */; };
77+
EBD4F8874EBCA6FB566EAE36 /* QuickDecisionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01786C49893DB4FC10B08AFF /* QuickDecisionView.swift */; };
7678
F493F39713E5F26E86430BAC /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F40F5AE2A6234C33C5D518E0 /* SettingsView.swift */; };
7779
F55CE3FD2BD0007E434AABDB /* SyncSnapshot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A4B10FE4642391FE81849AE /* SyncSnapshot.swift */; };
7880
F7E503F388B685A2F6645292 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F40F5AE2A6234C33C5D518E0 /* SettingsView.swift */; };
@@ -82,6 +84,7 @@
8284
/* End PBXBuildFile section */
8385

8486
/* Begin PBXFileReference section */
87+
01786C49893DB4FC10B08AFF /* QuickDecisionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuickDecisionView.swift; sourceTree = "<group>"; };
8588
0186408DFF9E447F42325042 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8689
06C2841B2C4D29372134655D /* DailyFocusView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyFocusView.swift; sourceTree = "<group>"; };
8790
09AE60E8198E1E03FF2C9DC2 /* DecisionHistoryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecisionHistoryView.swift; sourceTree = "<group>"; };
@@ -157,6 +160,7 @@
157160
C0E9AF06C1DDBFA0A3A6C727 /* PostsView.swift */,
158161
CEF3C538200AE588B7C603D3 /* ProfileView.swift */,
159162
BD13E98FF86C1B2615DFB8AC /* QuickCaptureView.swift */,
163+
01786C49893DB4FC10B08AFF /* QuickDecisionView.swift */,
160164
F40F5AE2A6234C33C5D518E0 /* SettingsView.swift */,
161165
AF5C598DE62C71A3374C52A0 /* SignalsView.swift */,
162166
EDAF6B17B98DBF6A1DDF49E0 /* SummaryIngestView.swift */,
@@ -374,6 +378,7 @@
374378
94D3A87FDB92DF18F8797D5B /* PriorityList.swift in Sources */,
375379
FEA350E145EDA5EF44589E39 /* ProfileView.swift in Sources */,
376380
EAC85FABCCFF67D9FC4A6C45 /* QuickCaptureView.swift in Sources */,
381+
EBD4F8874EBCA6FB566EAE36 /* QuickDecisionView.swift in Sources */,
377382
96B633ED217CEDF82AE843B3 /* ServerStatus.swift in Sources */,
378383
F7E503F388B685A2F6645292 /* SettingsView.swift in Sources */,
379384
540D96792597DB4E018959FC /* SignalsView.swift in Sources */,
@@ -416,6 +421,7 @@
416421
76C449D9D0FFA14BFA81CBBF /* PriorityList.swift in Sources */,
417422
EBA7E81547BA33758E8DE7AE /* ProfileView.swift in Sources */,
418423
885CAE17980EB7774400917C /* QuickCaptureView.swift in Sources */,
424+
BD947C3057157494BE09EC87 /* QuickDecisionView.swift in Sources */,
419425
9944C2C539ACCC45B94EA89F /* ServerStatus.swift in Sources */,
420426
F493F39713E5F26E86430BAC /* SettingsView.swift in Sources */,
421427
F8D0249C1024A86E5FC42C2E /* SignalsView.swift in Sources */,
@@ -465,7 +471,7 @@
465471
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
466472
CODE_SIGN_STYLE = Automatic;
467473
COPY_PHASE_STRIP = NO;
468-
CURRENT_PROJECT_VERSION = 202603251510;
474+
CURRENT_PROJECT_VERSION = 202604020818;
469475
DEBUG_INFORMATION_FORMAT = dwarf;
470476
DEVELOPMENT_TEAM = 2V8LZ2444Y;
471477
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -554,7 +560,7 @@
554560
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
555561
CODE_SIGN_STYLE = Automatic;
556562
COPY_PHASE_STRIP = NO;
557-
CURRENT_PROJECT_VERSION = 202603251510;
563+
CURRENT_PROJECT_VERSION = 202604020818;
558564
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
559565
DEVELOPMENT_TEAM = 2V8LZ2444Y;
560566
ENABLE_NS_ASSERTIONS = NO;

CortexOSApp/Shared/Services/CortexEngine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ final class CortexEngine: ObservableObject {
214214

215215
func recordDecision(_ request: DecisionCreateRequest) async -> Bool {
216216
do {
217-
let decision = try await api.recordDecision(request)
217+
_ = try await api.recordDecision(request)
218218
// Merge into local snapshot if available
219219
if snapshot != nil {
220220
await sync()

CortexOSApp/fastlane/README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
> [!IMPORTANT]
2-
> Before using Fastlane for CortexOS, you must first clone the shared Fastlane configuration:
3-
>
4-
> `git clone https://github.com/CortexMindSystem/fastlane`
5-
>
6-
> or (SSH):
7-
>
8-
> `git clone git@github.com:CortexMindSystem/fastlane.git`
9-
>
10-
> Then, copy the `Appfile` and `Fastfile` from the cloned repository into your local `CortexOSApp/fastlane/` directory:
11-
>
12-
> cp fastlane/Appfile CortexOSApp/fastlane/
13-
> cp fastlane/Fastfile CortexOSApp/fastlane/
14-
15-
----
16-
171
fastlane documentation
182
----
193

@@ -81,15 +65,6 @@ Build macOS and upload to TestFlight
8165

8266
----
8367

84-
# CortexOS Fastlane Setup
85-
86-
This directory contains Fastlane configuration files for automated iOS and macOS builds and TestFlight deployment.
87-
88-
- `Appfile` — App Store Connect and team configuration (never commit secrets)
89-
- `Fastfile` — Build and deployment lanes
90-
91-
See the main project README for usage instructions.
92-
9368
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
9469

9570
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).

CortexOSApp/iOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>202603251510</string>
22+
<string>202604020818</string>
2323
<key>ITSAppUsesNonExemptEncryption</key>
2424
<false/>
2525
<key>UILaunchScreen</key>

CortexOSApp/macOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>202603251510</string>
22+
<string>202604020818</string>
2323
<key>ITSAppUsesNonExemptEncryption</key>
2424
<false/>
2525
<key>LSApplicationCategoryType</key>

0 commit comments

Comments
 (0)