mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 08:15:56 +03:00
[PR #1195] [MERGED] Add support for some iOS Apps that cannot find iOS Frameworks. #1823
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
develop← Head:develop📝 Commits (1)
5275d73Add 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.