[PR #1904] [MERGED] Fix: Prevent inheritance of debugging-related variables to installed apps #1920

Closed
opened 2026-03-03 19:09:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/PlayCover/PlayCover/pull/1904
Author: @JoseMoreville
Created: 6/30/2025
Status: Merged
Merged: 6/30/2025
Merged by: @JoseMoreville

Base: developHead: develop


📝 Commits (3)

  • afbb4f0 Fix: Prevent inheritance of debugging-related variables in child processes for iOS apps
  • b2a0837 Refactor: swiftlint
  • 9f8830a Refactor: streamline comment on preventing Xcode-injected DYLD variables from propagating

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 PlayCover/Model/PlayApp.swift (+6 -0)

📄 Description

This pull request introduces a change in the PlayApp class to improve compatibility when running iOS apps. The change ensures that macOS-specific debugging-related variables are removed from the environment to prevent issues with missing symbols.

Environment cleanup for compatibility:

  • PlayCover/Model/PlayApp.swift: Added code to unset environment variables prefixed with DYLD_ to prevent macOS-specific libraries from being injected, which can cause failures in iOS apps due to missing symbols.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/PlayCover/PlayCover/pull/1904 **Author:** [@JoseMoreville](https://github.com/JoseMoreville) **Created:** 6/30/2025 **Status:** ✅ Merged **Merged:** 6/30/2025 **Merged by:** [@JoseMoreville](https://github.com/JoseMoreville) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (3) - [`afbb4f0`](https://github.com/PlayCover/PlayCover/commit/afbb4f0f290114ddd8491632ad60c681dbcb007f) Fix: Prevent inheritance of debugging-related variables in child processes for iOS apps - [`b2a0837`](https://github.com/PlayCover/PlayCover/commit/b2a0837fdad4cf196018dd7ba1ea9d9c0b0eade1) Refactor: swiftlint - [`9f8830a`](https://github.com/PlayCover/PlayCover/commit/9f8830a87014328f9eaa20d265c5a1312590dd7d) Refactor: streamline comment on preventing Xcode-injected DYLD variables from propagating ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `PlayCover/Model/PlayApp.swift` (+6 -0) </details> ### 📄 Description This pull request introduces a change in the `PlayApp` class to improve compatibility when running iOS apps. The change ensures that macOS-specific debugging-related variables are removed from the environment to prevent issues with missing symbols. Environment cleanup for compatibility: * [`PlayCover/Model/PlayApp.swift`](diffhunk://#diff-8c70684d8da2457c4a34d4f5f9bf6124ac596cd5cdee1fc8a04a0ba2bef9d0f7R86-R92): Added code to unset environment variables prefixed with `DYLD_` to prevent macOS-specific libraries from being injected, which can cause failures in iOS apps due to missing symbols. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 19:09:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PlayCover#1920
No description provided.