Skip to content

Fix for possible crashing on start#40

Merged
Miggets7 merged 5 commits into
mainfrom
fix/log-file-path
Mar 5, 2026
Merged

Fix for possible crashing on start#40
Miggets7 merged 5 commits into
mainfrom
fix/log-file-path

Conversation

@Miggets7
Copy link
Copy Markdown
Contributor

@Miggets7 Miggets7 commented Mar 4, 2026

  • C string functions work with byte arrays and are perfectly happy with UTF-8, which is backward-compatible with ASCII.
  • iOS file paths support full Unicode.

This way we handle the nil properly and also use modern utf8

fix #39

- C string functions work with byte arrays and are perfectly happy with UTF-8, which is backward-compatible with ASCII.
- iOS file paths support full Unicode.

This way we handle the nil properly and also use modern utf8
@Miggets7 Miggets7 requested a review from ebariaux March 4, 2026 10:39
@MartinaeyNL MartinaeyNL added the Bug Error or issue in the system label Mar 4, 2026
Copy link
Copy Markdown
Contributor

@ebariaux ebariaux left a comment

Choose a reason for hiding this comment

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

Just added a comment because I wasn't sure at first what this reopen was doing

Comment thread GenericApp/GenericApp/AppDelegate.swift Outdated
Co-authored-by: Eric Bariaux <375613+ebariaux@users.noreply.github.com>
@Miggets7 Miggets7 requested a review from ebariaux March 4, 2026 15:11
ebariaux
ebariaux previously approved these changes Mar 4, 2026
Copy link
Copy Markdown
Contributor

@ebariaux ebariaux left a comment

Choose a reason for hiding this comment

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

👍

NSSearchPathForDirectoriesInDomains is no longer available in Swift
with the iOS 18.5 SDK (Xcode 16.4), which macos-latest now uses.
Copy link
Copy Markdown
Contributor

@ebariaux ebariaux left a comment

Choose a reason for hiding this comment

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

Apologies, it's the suggestion that I made that deleted the line initiliazing paths variable.

But anyway it's better to use the FileManager API.

@Miggets7 Miggets7 merged commit 0d6e34a into main Mar 5, 2026
1 check passed
@Miggets7 Miggets7 deleted the fix/log-file-path branch March 5, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Error or issue in the system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenRemote iOS app broken on version 26

3 participants