utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.7k stars 1.34k forks source link

Crash on start VM #95

Closed WongIong closed 4 years ago

WongIong commented 4 years ago

Message from developer: I'm hijacking this issue to point out this common problem. UTM does NOT work with AppCake and many similar "cloud" signing services! You can either use a Filza + a jailbroken device to install the fakesigned IPA release OR follow the resign instructions to install on a stock device.

UTM 0.3 iPad Air 3 64GB on 12.4 jailbroken I tried XP, 7 RAM 1024/2048 both tried Disk 20480MB These settings can work on my iPhone11 Pro Max but ram should be 1024 It may cause by A12?

osy commented 4 years ago

Please attach a crash log. https://stackoverflow.com/questions/24400414/how-to-locate-app-crash-logs-in-iphone-ipad

WongIong commented 4 years ago

UTM-2020-03-03-103447.zip Please change the .zip to .ips

osy commented 4 years ago

Did it work on v0.2?

osy commented 4 years ago

How did you sign/install the IPA?

WongIong commented 4 years ago

nope, this issue begins from v0.2, but 0.1 is working I downloaded it by safari and installed in Reprovision or Appcake, both are not working I use these methods for my 11 pro max too, but I only get the problem from the iPad.

osy commented 4 years ago

Can you try smaller ram? Maybe 256MB?

WXAC4F commented 4 years ago

My iPad 5 is always like this after jailbreak. You can try to install UTM again without jailbreak.

WongIong commented 4 years ago

Oh, i found out the problem. If i use Appcake or Reprovision to install the app, than it will crash. But if I use jailbroken Filza to install it, it works. Ram is not related, I have tried 256, 512, and 1024.

WongIong commented 4 years ago

Shit, when i reboot my ipad. The problem comes again!!!

osy commented 4 years ago

Filza installs the fakesigned version which requires jb. Did you jb after rebooting?

WongIong commented 4 years ago

Sure, and crashes happen only after VM launch. Non jb environment will crash the app on tapping icon.

osy commented 4 years ago

Do you know if v0.1 worked after VM launch?

WongIong commented 4 years ago

Haha, as i mentioned above, yes. And I can also use Appcake or Reprovision to sign it.

osy commented 4 years ago

Sorry, lots of issues to keep track of. Okay I will make a new build for you to test.

osy commented 4 years ago

Please try https://mega.nz/#!JsoDWYpS!2EUuQP2V4WjDSYBVx0umdvdfwpA8SIBTi0sVYaqlVJU

WongIong commented 4 years ago

V0.3 = =Sorry for that you make a new build, but i have to say... This time's reboot couldn't reproduce that. it is working= = This is so odd...

osy commented 4 years ago

So new build vs 0.3, no difference?

WongIong commented 4 years ago

wait, i have not tried the new build.

WongIong commented 4 years ago

till now, new build doesn't crash at all. But I think we should test it for a longer time. I will give a feedback in here. BTW. how can i use the network inside the VM? I don't know how to set it up.

osy commented 4 years ago

https://github.com/utmapp/UTM/wiki/Known%20Issues

Please test new build the same way as before (jb vs non-jb, Appcake, Reprovision, filza, etc) and report all results.

WongIong commented 4 years ago

After the last time’s launching, i just charged my ipad. But now the new build is crashing too... No crashing log in ios analysis .

miuirussia commented 4 years ago

UTM-2020-03-05-221731.zip Had same issue

osy commented 4 years ago

@miuirussia is this with the new build https://github.com/utmapp/UTM/issues/95#issuecomment-594795740

miuirussia commented 4 years ago

I tried it.

iOS 13.4 iPhone 11 Pro Max

ljzxzxl commented 4 years ago

iPad Pro 11 iOS13.4 Crash on start VM with memory 512MB and 1024MB UTM 0.1 ~ UTM 0.4

osy commented 4 years ago

Please post crash log.

ljzxzxl commented 4 years ago

Logs: http://xeylon.com/logs/UTM-2020-03-09-162658.ips http://xeylon.com/logs/UTM-2020-03-09-162854.ips http://xeylon.com/logs/UTM-2020-03-09-165003.ips

ljzxzxl commented 4 years ago

@osy86 Please download these logs as soon as possible, I will delete them in a while.

osy commented 4 years ago

Is this jailbroken? How are you signing?

osy commented 4 years ago

@ljzxzxl Please try this special build https://mega.nz/#!Zh5mFAhA!k8krwJjhSOfh_y0MyAlfz301g82R1G23o9QiwWM9q6Q Tell me if you see a message on startup.

ljzxzxl commented 4 years ago

@osy86 I tried the version you said of mega, but the problem remains.
I installed utm through the app of iphonecake.com(appcake), this is the way of auto signature no jailbroken When I first start UTM here is zhe message. http://xeylon.com/logs/20200310111210.jpg logs http://xeylon.com/logs/UTM-2020-03-10-110730.ips

Papyrusman commented 4 years ago

I had a similar issue which was resolved after realizing when I created the virtual hard drive I did not add “.img” to the end of the file name. Crash on first start.

Charlotte885 commented 4 years ago

I decided to create a account after trying your app.

Both my iPhone SE and ipad 6 gen crash.

I tried few way and it crashes for all

  1. Create a VM with just the VM name and try click start
  2. Create a VM with VM name and also the ISO only without putting hda.img
  3. Create a VM with VM name and also the ISO only with putting hda.img

other information

UTM v0.5 The iso i using is window XP Memory tried (128 ,256 ,512) hda.img size was 20480MB ( tried with both expending option on and off) Install the app via appcake

IPHONE SE available storage is 22GB My ipad too Low storage so I thought it might be crashing because of that but did try number 1 and 2 also it did crash.

osy commented 4 years ago

@Charlotte885 did you enter your memory in MB?

Charlotte885 commented 4 years ago

@osy86 yup I did, 512 MB is set default for the app that what I notice. So I did reduce down to 256MB and 128MB. It still crashes.

I leave everything what is set default by the app and only change what I mention in the above post.

And ya hda.img part I will off the CD/DVD under the new drive type. That all what I did.

It always crashes when I click play on the VM.

Both my iphone SE and ipad 6 gen running on iOS 13.3.1

Hopefully I explain In detailed.

osy commented 4 years ago

It seems like AppCake does NOT work in signing UTM. Anyone experiencing this issue, please try installing with Filza instead and post here your results.

Charlotte885 commented 4 years ago

Filza requires jail breaking the device right ?

Which mean non jail broken devices won’t be able to try as of now.

osy commented 4 years ago

No, there’s no issue afaik with non-jb signed with a developer certificate.

Andy245 commented 4 years ago

13.3.1无法安装Filza

osy commented 4 years ago

Those with this issue please dump the non-working installed .app from your jailbroken device, ZIP it and attach it here. Also mention how you re-signed it. Thanks.

Chsengni commented 4 years ago

utm v6 When IOS 13.3.1 is turned on, vm flashes back , 6S

Andy245 commented 4 years ago

现在创建虚拟机后点击启动可以进入,然后闪退

Andy245 commented 4 years ago

13.4通过appcake签名

ljzxzxl commented 4 years ago

The same situation,Never successfully entered a virtual machine,Crash on start everytime on every UTM version Including the latest 0.7 iPad Pro 11, iOS 13.4 GM

osy commented 4 years ago

@ljzxzxl can you dump the installed ipa? You can copy it from the device if you’re jailbroken. Or you can use ifunbox to “back up ipa”.

ljzxzxl commented 4 years ago

Hi @osy86 The software ifunbox you said is too old, only supports systems below iOS8.3, and cannot export IPA. I really want to help you solve this problem. I am a web developer. I have enough conditions to cooperate with you to reproduce the bug and solve this problem. Can we establish a timely contact in some way? By controlling my device remotely

ljzxzxl commented 4 years ago

I am using discord as user ljzxzxl and you can find me

osy commented 4 years ago

I was able to confirm that AppCake and similar "cloud" signing services are NOT compatible with UTM as they do not sign with the proper entitlements.

Charlotte885 commented 4 years ago

You are right, AppCake will not work.

But I can confirm alt store do work.

Charlotte885 commented 4 years ago

@osy86 by the way, what did u configure (such as ram and cores, .etc) in your window XP to make it run that smooth. Because I saw the UTM website. The XP run really well.