Skip to content

Storekit problems #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 13, 2025
Merged

Storekit problems #224

merged 10 commits into from
May 13, 2025

Conversation

niklasr22
Copy link
Owner

@niklasr22 niklasr22 commented May 13, 2025

painful stuff

more details for error messages to help finding the cause of #223

@niklasr22 niklasr22 linked an issue May 13, 2025 that may be closed by this pull request
@niklasr22 niklasr22 requested a review from Copilot May 13, 2025 18:59
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses StoreKit error handling and UI message consistency while cleaning up unused entitlements and duplicate project entries.

  • Introduces a getStoreKitErrorMessage utility function to format StoreKit errors.
  • Updates error messages and text alignment in UI views for consistency.
  • Removes deprecated entitlement exceptions and duplicate storekit references in the project configuration.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
BrightIntosh/Utils.swift Adds a utility function for formatting StoreKit error messages.
BrightIntosh/UI/SettingsWindow.swift Adjusts the text frame alignment within the settings sheet.
BrightIntosh/UI/BrightIntoshStore.swift Updates error handling and UI messages for store operations.
BrightIntosh/Localizable.xcstrings Corrects translation strings to reflect updated UI messages.
BrightIntosh/BrightIntosh.entitlements Removes temporary entitlement exceptions.
BrightIntosh.xcodeproj/project.pbxproj Eliminates duplicate storekit build file references.

@niklasr22 niklasr22 force-pushed the storekit-problems branch from 07010a0 to 9b11278 Compare May 13, 2025 19:02
@niklasr22 niklasr22 requested a review from Copilot May 13, 2025 19:04
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves StoreKit error handling, refines UI alignment, corrects user-facing text, and cleans up project resources and entitlements.

  • Introduced getStoreKitErrorMessage and updated catch blocks to use it
  • Adjusted view alignments and fixed grammar in localized strings
  • Removed unused entitlements and cleaned up resource references in project file

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
BrightIntosh/Utils.swift Added getStoreKitErrorMessage helper to standardize detailed StoreKit error messages
BrightIntosh/UI/SettingsWindow.swift Set text frame alignment to leading
BrightIntosh/UI/BrightIntoshStore.swift Enhanced catch blocks for StoreKitError, removed obsolete productLoadingFailed state
BrightIntosh/Localizable.xcstrings Corrected grammar in localization entries and removed strings no longer used by the code
BrightIntosh/BrightIntosh.entitlements Removed temporary sandbox exception for mach-lookup
BrightIntosh.xcodeproj/project.pbxproj Cleaned up duplicate and outdated resource build file entries (Products.storekit, cli.sh)
Comments suppressed due to low confidence (2)

BrightIntosh/BrightIntosh.entitlements:2

  • [nitpick] Temporary sandbox exceptions for mach-lookup were removed; verify that no IPC or helper services rely on these entitlements and update documentation or entitlement tests accordingly.
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>

BrightIntosh.xcodeproj/project.pbxproj:15

  • There appears to be a duplicate cli.sh resource entry, which can cause build inconsistencies. Remove the redundant PBXBuildFile reference.
+		9C17DFB02DD1F3DA00185CDA /* cli.sh in Resources */ = {isa = PBXBuildFile; fileRef = 9C17DFAD2DD0CA3200185CDA /* cli.sh */; };

@niklasr22 niklasr22 force-pushed the storekit-problems branch from 2de50b4 to cd55219 Compare May 13, 2025 19:22
@niklasr22 niklasr22 removed a link to an issue May 13, 2025
@niklasr22 niklasr22 merged commit c902d85 into main May 13, 2025
@niklasr22 niklasr22 mentioned this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant