[PR #1195] [MERGED] Add support for some iOS Apps that cannot find iOS Frameworks. #1823

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

📋 Pull Request Information

Original PR: https://github.com/PlayCover/PlayCover/pull/1195
Author: @Ryu-ga
Created: 11/5/2023
Status: Merged
Merged: 12/10/2023
Merged by: @JoseMoreville

Base: developHead: develop


📝 Commits (1)

  • 5275d73 Add support for some iOS Apps that cannot find iOS Frameworks.

📊 Changes

3 files changed (+24 additions, -10 deletions)

View changed files

📝 PlayCover/Model/PlayApp.swift (+9 -8)
📝 PlayCover/Views/AppSettingsView.swift (+13 -2)
📝 PlayCover/en.lproj/Localizable.strings (+2 -0)

📄 Description

Add some apps that cannot find iOS Frameworks due to weird dynamic linking via FileSystem.

"Curse of Aros", The app actually doesn't catch dyld environment variables on Mac-catalyst.

2023-11-01 03:49:49.140009+0900 IOSLauncher[3583:64154] PC-DEBUG: PlayShadow is now loading
java.lang.UnsatisfiedLinkError: Library 'UIKit' not found
at org. robovm.rt.bro.Runtime.getHandle(Runtime.java :317)
at org. robovm.rt.bro.Runtime. loadLibrary (Runtime. java:191)
at org. robovm.rt.bro.Bro.bind (Bro.java: 60)
at org. robovm.objc.ObjCRuntime.bind(ObjCRuntime.java:92)
at org.robovm.apple.uikit.UIResponder.(UIResponder.java:53)
at com.bitgate.curseofaros.IOSLauncher.main (IOSLauncher.java:67)

This is a log of the app, and it didn't crash but always quit due to DYLD env variables.

Pure iOS SwiftUI App

import SwiftUI

struct ContentView: View {
var body: some View {
Text("Test")
.onAppear {
if let dyld = ProcessInfo.processInfo.environment["DYLD_LIBRARY_PATH"] {
print("DYLD_LIBRARY_PATH env var: (dyld)")
//DYLD_LIBRARY_PATH env var: /Users/[name]/Library/Developer/Xcode/DerivedData/Test-bfkvkgqricwfawdjxreioirkncqq/Build/Products/Debug-iphoneos:/usr/lib/system/introspection
}
}
}
}
It print DYLD_LIBRARY_PATH like this. I guess Mac-Catalyst does not give DYLD env variables.


🔄 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/1195 **Author:** [@Ryu-ga](https://github.com/Ryu-ga) **Created:** 11/5/2023 **Status:** ✅ Merged **Merged:** 12/10/2023 **Merged by:** [@JoseMoreville](https://github.com/JoseMoreville) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`5275d73`](https://github.com/PlayCover/PlayCover/commit/5275d738d63562dff39f38e8ca0bcc8fdc4b7900) Add support for some iOS Apps that cannot find iOS Frameworks. ### 📊 Changes **3 files changed** (+24 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `PlayCover/Model/PlayApp.swift` (+9 -8) 📝 `PlayCover/Views/AppSettingsView.swift` (+13 -2) 📝 `PlayCover/en.lproj/Localizable.strings` (+2 -0) </details> ### 📄 Description Add some apps that cannot find iOS Frameworks due to weird dynamic linking via FileSystem. "Curse of Aros", The app actually doesn't catch dyld environment variables on Mac-catalyst. 2023-11-01 03:49:49.140009+0900 IOSLauncher[3583:64154] PC-DEBUG: PlayShadow is now loading java.lang.UnsatisfiedLinkError: Library 'UIKit' not found at org. robovm.rt.bro.Runtime.getHandle(Runtime.java :317) at org. robovm.rt.bro.Runtime. loadLibrary (Runtime. java:191) at org. robovm.rt.bro.Bro.bind (Bro.java: 60) at org. robovm.objc.ObjCRuntime.bind(ObjCRuntime.java:92) at org.robovm.apple.uikit.UIResponder.(UIResponder.java:53) at com.bitgate.curseofaros.IOSLauncher.main (IOSLauncher.java:67) This is a log of the app, and it didn't crash but always quit due to DYLD env variables. Pure iOS SwiftUI App import SwiftUI struct ContentView: View { var body: some View { Text("Test") .onAppear { if let dyld = ProcessInfo.processInfo.environment["DYLD_LIBRARY_PATH"] { print("DYLD_LIBRARY_PATH env var: \(dyld)") //DYLD_LIBRARY_PATH env var: /Users/[name]/Library/Developer/Xcode/DerivedData/Test-bfkvkgqricwfawdjxreioirkncqq/Build/Products/Debug-iphoneos:/usr/lib/system/introspection } } } } It print DYLD_LIBRARY_PATH like this. I guess Mac-Catalyst does not give DYLD env variables. --- <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:09 +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#1823
No description provided.