mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-26 01:25:52 +03:00
[GH-ISSUE #68] Custom file types with custom file extensions cannot do not work with the iOS file picker #59
Labels
No labels
bug
compatibility
enhancement
multitasking
pull-request
safe area
status: broken
status: usable
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LiveContainer#59
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?
Originally created by @Porygon-Axolotl on GitHub (Jun 3, 2024).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/68
Describe the bug
I am developing a game and it uses a custom file type to load levels. When i open the file ios picker in the game the .rsplev file is greyed out, unlike when its normally sideloaded where the file with the .rsplev file extension isnt greyed out and is able to be picked.
Instructions to reproduce
Open the iOS file picker and try choose a file that has a custom filetype
What version of LiveContainer are you using?
Version 2.0-release (main/2d7bbe4)
Other info
At first I thought it was an issue with my game but then i realized it only happened with livecontainer. I honestly have no idea if it’s fixable (i don’t know much about iOS development) since the way i got the file extension to work is by modifying my info.plist file. I modified the key UTExportedTypeDeclaration inside the info.plist so i don’t know if there is another way to allow other file types without modifying livecontainer’s info.plist. Sorry if its an impossible fix
@khanhduytran0 commented on GitHub (Aug 8, 2024):
I think you should try
[UTType typeWithFilenameExtension:@"rsplev" conformingToType:UTTypeData]@Vatvat123 commented on GitHub (Sep 6, 2024):
Pubg mobile not signing
@Porygon-Axolotl commented on GitHub (Sep 21, 2024):
I don't know if im doing something wrong but i still can't select a file with my custom file type. (Version 2.1.2-release (main/345097c))
https://github.com/user-attachments/assets/39f82739-df27-432a-8144-c8974f3b8273
@hugeBlack commented on GitHub (Sep 23, 2024):
Can you provide an ipa and a rsplev so I can diagnose what's wrong?
@Porygon-Axolotl commented on GitHub (Sep 23, 2024):
https://drive.google.com/file/d/1Jh0I8MmkCEzNgR6aMmKVpvDgyvUIlb6d/view?usp=drivesdk
It does require an account to use though. Hope you dont mind
@hugeBlack commented on GitHub (Sep 24, 2024):
OK, it turned out that Unity used a deprecated API
-[UIDocumentPickerViewController initWithDocumentTypes:inMode:]which I forgot to hook. I will fix this later.@hugeBlack commented on GitHub (Sep 24, 2024):
Fixed now. Try this build https://github.com/hugeBlack/LiveContainer/actions/runs/11007432755