Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import iso drive image #519

Closed
osy opened this issue Nov 7, 2020 · 46 comments
Closed

Cannot import iso drive image #519

osy opened this issue Nov 7, 2020 · 46 comments
Labels
wontfix This will not be worked on

Comments

@osy
Copy link
Contributor

osy commented Nov 7, 2020

This appears to only be an issue if a wildcard provisioning profile is used. It is not an issue if installed with AltStore 1.4.2 (with a free developer account) or with Xcode build + run.

@osy osy added bug Something isn't working interface Design, UX/UI issues labels Nov 7, 2020
@saagarjha
Copy link
Contributor

Works for me?

@osy
Copy link
Contributor Author

osy commented Nov 7, 2020

I’m posting this on behalf of someone who told me in chat. I haven’t verified the issue.

@FD-
Copy link

FD- commented Nov 7, 2020

I have the Same issue on an iPad 2018 (6th gen), 128GB, running iOS 14.2. I was starting to think I’m dumb since I seem to be unable to import any disk images. Is there any info that could help you fix the issue?

@FD-
Copy link

FD- commented Nov 7, 2020

The disk creation dialog doesn’t include a path field as suggested by some (obsolete?) documentation. Tapping the import icon in the toolbar shows the system file picker, but tapping an iso or zip file doesn’t do anything at all.

@FD-
Copy link

FD- commented Nov 7, 2020

Rebooting the iPad doesn’t help.

@FD-
Copy link

FD- commented Nov 7, 2020

Installed the app by downloading the newest release ipa, using iOS App Signer to sign it with the Team Provisioning Profile of my paid iOS developer account (I tried Re-Sign Only before but it wouldn’t install) and installed via Xcode.

@firecrafts
Copy link

im having same problem on my ipad pro ( 2018 ) ios14.2

@cleverer
Copy link

cleverer commented Nov 7, 2020

Same here. I also have Notability installed and in the files app, the iso shows the notability icon.

@abn5x
Copy link

abn5x commented Nov 7, 2020

same issue here.

@yrjo
Copy link

yrjo commented Nov 7, 2020

same here, ipad pro 11, 2018. ios 14.2
utm 2.0.8

@cleverer
Copy link

cleverer commented Nov 7, 2020

Ah got it working. I tried different approaches, including building the app myself (build + run in Xcode, so it's a develop build). However, I think what made it work is putting the files in to the UTM folder in the Files app (On My iPad/iPhone => UTM). This worked for ISOs.

I also couldn't open .utm files (UTM would open, but not import it), but by putting them in the folder and force-quitting and reopening the app, they just appeared.

@osy
Copy link
Contributor Author

osy commented Nov 7, 2020

I still cannot reproduce this on my iPhone 12 Pro or iPad Pro 2018 (both on iOS 14.2). When trying to import an image, I can select any file. People here are seeing that all the files are grayed out and cannot be selected?

@cleverer
Copy link

cleverer commented Nov 7, 2020

To clarify: the ISO wasn't greyed out for me. when tapping it nothing happened… I did play around and found the "Browse" button in the VMDetailsView. When trying to select the iso there, a warning popped up stating that the current version could only use ISOs that are in the App directory.

I did just check again however, I now seem to be able to import the ISO. I assume it might be, because I'm now running my own build?

@yrjo
Copy link

yrjo commented Nov 7, 2020

for me, i can tap the icon for importing the files, i can see ISO file, but once tapping to the file, nothing happens
its possible to create the new drive, by tapping to "plus" icon, but if choosing the option "CD/DVD" image, its not possible to chose the existing file.

i am running build from here, IPA, signed by my dev paid cert

@osy
Copy link
Contributor Author

osy commented Nov 7, 2020

nothing happened

Does the file selector close?

@cleverer
Copy link

cleverer commented Nov 8, 2020

nothing happened

Does the file selector close?

Nope, the file quickly gets highlighted (as is expected) and then looses the highlight immediately. nothing more happened, file selector stayed open.

@acfrazier
Copy link

I am also having this issue. I am able to add the iso directly from the file picker (box with down arrow), but it disappears once the app is closed. I then have to delete the entire virtual machine because it won't let me pick or re-add the same .iso.

@osy
Copy link
Contributor Author

osy commented Nov 8, 2020

@acfrazier you mean when you save the VM the iso doesn’t get saved? I think that’s a different issue than described here where people cannot even close the file picker.

@ZonD80
Copy link

ZonD80 commented Nov 8, 2020

My issue #521 was merged & closed. However, according to @acfrazier I can't import qcow2 even if I copy it to UTM data folder.
@osy86 is your iPad jailbroken?

I suppose this issue happens only for non-jb devices, when app is running without Xcode. Unfortunately I have no device with jailbreak right now.

I have compared release IPA and signed IPA file, the only difference is that signer adds entitlements and UIFileSharingEnabled=true , and signature change ofc.

@osy
Copy link
Contributor Author

osy commented Nov 8, 2020

I’m on iOS 14.2, there is no jailbreak.

What do you mean the signer adds UIFileSharingEnabled? It should be in the unsigned version as well.

@ZonD80
Copy link

ZonD80 commented Nov 8, 2020

Sorry. This:
<key>UISupportsDocumentBrowser</key> <true/>
Not UIFileSharingEnabled.

PS: my drive image is very big, about 5 GB. Maybe it is the problem?

@firecrafts
Copy link

if you need me to send video or stream of this problem or anything can help let me know

@kkebo
Copy link
Contributor

kkebo commented Nov 8, 2020

I'm using iPadOS 14.2 and it's not jailbroken. I have a paid Apple Developer account.

  • Case 1. iOS App Signer
  • Case 2. Build with Xcode 12.2 Release Candidate
    • Result: importing drive works (both Debug and Release)
    • Steps:
      1. git clone https://github.com/utmapp/UTM.git
      2. git checkout v2.0.8
      3. Download Sysroot-ios-arm64 from https://github.com/utmapp/UTM/actions/runs/348441158 and extract it into the UTM directory
      4. Open UTM.xcodeproj
      5. Change the Team and the Bundle Identifier on the Signing settings
        • My bundle ID is xyz.kebo.UTM.
      6. Build and Run

@ZonD80
Copy link

ZonD80 commented Nov 8, 2020

@kkk669 can you please export built IPA file from Xcode and give me link to it?
What xcode version did you use to build app?

@ZonD80
Copy link

ZonD80 commented Nov 8, 2020

Looks like issue is related to entitlements. Bundle ID in entitlements must match bundle ID in Info.plist, I will try to test it tomorrow.

@osy
Copy link
Contributor Author

osy commented Nov 8, 2020

I was able to reproduce this issue but only with iOS App Signer. It worked fine for me on both Xcode and AltStore (beta). I also tried adding UISupportsDocumentBrowser to an Xcode run and it worked fine so I don't think that's the issue.

@ZonD80
Copy link

ZonD80 commented Nov 9, 2020

Confirmed. application-identifier entitlement must match "team_id.bundle_id" in Info.plist. Otherwise it is not working and making app incompatible with almost all alternative signing software. Btw, tested with Rickpactor and appdb PRO - works fine.

@ecstaticax
Copy link

Same problem for me. 14.2 iPad Pro 2020, self signed no jailbreak, if I click on .iso file to import, nothing happens.

@osy
Copy link
Contributor Author

osy commented Nov 9, 2020

@ZonD80 can you explain what you mean? iOS App Signer should update Info.plist automatically with the profile you selected and replace CFBundleIdentifier with the application-identifier entitlement.

@ZonD80
Copy link

ZonD80 commented Nov 9, 2020

Never used ios app signer. Maybe it makes entitlements and Info.plist to not match, so maybe that's why it is not working.

@osy
Copy link
Contributor Author

osy commented Nov 9, 2020

Like I said it specifically makes it match. Can you tell me what you did to say that bundle id is the issue?

@ZonD80
Copy link

ZonD80 commented Nov 9, 2020

Then it should work. I'll check ios app signer as well.

@osy osy added wontfix This will not be worked on and removed bug Something isn't working interface Design, UX/UI issues labels Nov 9, 2020
@osy
Copy link
Contributor Author

osy commented Nov 9, 2020

I tried a couple of different variations and it seems like the problem occurs when you use a wildcard provisioning profile. This is probably an Apple bug and should be reported to them.

@osy
Copy link
Contributor Author

osy commented Nov 10, 2020

Those who are using iOS App Signer should build this pull request DanTheMan827/ios-app-signer#163 to get a fixed version to sign UTM.

@ecstaticax
Copy link

Those who are using iOS App Signer should build this pull request DanTheMan827/ios-app-signer#163 to get a fixed version to sign UTM.

I did it, but it didn’t work. I will try to compile utm.

@mindesik
Copy link

Those who are using iOS App Signer should build this pull request DanTheMan827/ios-app-signer#163 to get a fixed version to sign UTM.

Works, I am able to pick .iso file now. But had to uncheck "No get-task-allow".

@brunocastello
Copy link

brunocastello commented Jan 9, 2021

Those who are using iOS App Signer should build this pull request DanTheMan827/ios-app-signer#163 to get a fixed version to sign UTM.

How I build this from a pull request? I have never done it before.

EDIT: Nevermind. Googled and learned a thing or two on how to do it. I think I successfully managed to build iOS App Signer with the new PR.

@brunocastello
Copy link

Just ran a patched iOS App Signer with no-get-task-allow unchecked, on the build @osy had to fix my issue with the popups about not being jailbroken (when I am actually jailbroken, yes) and all my issues are gone. No more nagging popups and I can now use a removable drive with my Windows 98SE VM. I’m feeling great 👍🏼 As always, fantastic job, osy!

@ecstaticax
Copy link

Hi, how do I uncheck "no-get-task"?

@ViRb3
Copy link

ViRb3 commented Jan 17, 2021

Thanks a lot for the fix! Until this PR get merged, here is a fork of the signer app with the fix applied and prebuilt binaries via GitHub CI: https://github.com/ViRb3/ios-app-signer

@osy
Copy link
Contributor Author

osy commented Sep 4, 2021

See osy/Jitterbug#1 (comment) as well

@nandahtb
Copy link

Does this app is a dead web ?
No solution from them Lol.
Everyone can't select the iso file, good app.

@osy
Copy link
Contributor Author

osy commented Oct 28, 2022

@nandahtb It’s because you can’t read the instructions.

@nandahtb
Copy link

@osy so what the solution?

@ViRb3
Copy link

ViRb3 commented Oct 28, 2022

@osy so what the solution?

Sign the app properly. The problem is in you, not the app. If you deviate from the official instructions then you're on your own. This issue can be closed btw, it's been long resolved.

@osy osy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2022
@CBYTFANZIPAD
Copy link

Same Here. iPad 7th Gen. 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

17 participants