osy / Jitterbug

Launch JIT enabled iOS app with a second iOS device
Apache License 2.0
1.03k stars 82 forks source link

Unable to import Support Files #1

Open Symplicityy opened 3 years ago

Symplicityy commented 3 years ago

When trying to import the Support Files, they are grayed out as if they are an unsupported filetype. 0559A377-1D76-492B-B5F2-98D46F9568BA

osy commented 3 years ago

Is this installed with AltStore? I think there’s a similar issue on UTM as well. Can you try using https://dantheman827.github.io/ios-app-signer/

Symplicityy commented 3 years ago

Yes it was installed with AltStore. Importing the mobiledevicepairing file worked fine though. I’ll try using iOS app signer right now.

Symplicityy commented 3 years ago

I am still unable to select the files after installing with iOS app signer.

Symplicityy commented 3 years ago

I was able to get the files to appear by using Filza to create a folder named “SupportImages” in the documents folder and copying the files into there. This works for me as a temporary workaround. Assuming iTunes file sharing is enabled, this could also be done on a non-jailbroken device.

osy commented 3 years ago

Did you use the selector for importing the pairing as well? Or did you open the file? If second can you try the selector and see if there’s the same issue?

Symplicityy commented 3 years ago

I tried that before when I installed the app with iOS app signer. It wasn't grayed out like the other files but when I clicked it to import it nothing happened so I did it the other way instead.

BluDood commented 3 years ago

Same thing happens for me, but the files I'm trying to import aren't grayed out. (Tapping them does nothing) IMG_9B11016A32B2-1

osy commented 3 years ago

@BluDood what happens if you try to select one?

BluDood commented 3 years ago

@BluDood what happens if you try to select one?

Nothing happens. Here is a screen recording of what happens when I try https://user-images.githubusercontent.com/70075053/120517468-c6bfbb00-c3d0-11eb-98e6-78e0af9067d6.MOV

Monkiey commented 3 years ago

@BluDood what happens if you try to select one?

Um sorry, different issue when I run the jitterbugpair script it crates the device pairing file so where is it stored on my mac so I can find it and transfer it to my ios device.

Monkiey commented 3 years ago

Nvm mind found it its located in a user directory folder

eddiestuczynski commented 3 years ago

I just wanted to add that I am having the same problems with the support files being grayed out on Altstore installation! I am about to try the App Signer method to see if that will work! I am not going to bother supplying a screenshot because you already know the problems! hahaha

eddiestuczynski commented 3 years ago

I just wanted to add that I am having the same problems with the support files being grayed out on Altstore installation! I am about to try the App Signer method to see if that will work! I am not going to bother supplying a screenshot because you already know the problems! hahaha

Plus everything happened the same ways as already reported! :)

osy commented 3 years ago

Hmm I am not able to reproduce both on jailbroken iOS 14.3 as well as AltStore signed 14.5.1. What os are people running?

BluDood commented 3 years ago

Hmm I am not able to reproduce both on jailbroken iOS 14.3 as well as AltStore signed 14.5.1. What os are people running?

I am currently on IOS 14.3 unjailbroken

Symplicityy commented 3 years ago

Hmm I am not able to reproduce both on jailbroken iOS 14.3 as well as AltStore signed 14.5.1. What os are people running?

I'm running jailbroken iOS 14.2 (tried in both jailbroken and unjailbroken state) on an iPhone 12 Pro Max.

Symplicityy commented 3 years ago

I am almost positive that I just figured out what is causing the issue and a super easy way to get it working till there's a fix. I copied the 2 files from "iCloud Drive" to "On My Phone" and I was able to import them that way. It must be some kind of a bug with importing certain files from iCloud Drive because the pairing file imports fine through iCloud. Most people probably don't even realize the files are in iCloud because iOS downloads files from Safari into iCloud by default.

BluDood commented 3 years ago

I am almost positive that I just figured out what is causing the issue and a super easy way to get it working till there's a fix. I copied the 2 files from "iCloud Drive" to "On My Phone" and I was able to import them that way. It must be some kind of a bug with importing certain files from iCloud Drive because the pairing file imports fine through iCloud. Most people probably don't even realize the files are in iCloud because iOS downloads files from Safari into iCloud by default.

Mine are in On my iPhone, not working

osy commented 3 years ago

Very weird. I tried putting files into my iCloud and it still works for me. I can't fix this issue until I am able to reproduce it...

BluDood commented 3 years ago

Very weird. I tried putting files into my iCloud and it still works for me. I can't fix this issue until I am able to reproduce it...

If I put the files in iCloud, they just get grayed out. Very weird indeed

iMonZ commented 3 years ago

All right I fixed it with installing it over Appsync unified and not IOS app signer. So its a signing issue

jankais3r commented 3 years ago

It works just fine for me, signed with iOS App Signer and my dev profile.

ViRb3 commented 3 years ago

This looks like a signing issue. I have seen this happen if the provisioning profile's app id doesn't match the app's bundle id. If using an explicit provisioning profile, such as com.test.123, make sure to change the app's bundle id to the same value, instead of the default com.osy86.Jitterbug.

iMonZ commented 3 years ago

Quick workaround: it’s possible to add an option to share the files with the share menu

sufilm commented 2 years ago

I just have the same problem and I was installed with Abox but not AIstore. However, I just reset my iPad and follow the same step, it just work and have no other problem.

Symplicityy commented 2 years ago

I just want to add that I also recently tried this on my M1 iPad Pro on iOS 14.5 (obviously unjailbroken) and I had the same issue. Copying the files from iCloud to my iPad fixed the issue once again.

osy commented 2 years ago

I think it's been established that the bug is caused by a signing issue with provisioning profiles's app id not matching the bundle id. It's probably better to install from TestFlight for now.

ty-yqs commented 2 years ago

Did you select the files from iCloud? On my devices, I can select the files from "My iPad/iPhone"

Symplicityy commented 2 years ago

Did you select the files from iCloud? On my devices, I can select the files from "My iPad/iPhone"

No. I was never able to select the files from iCloud. I was only able to select them after copying them to my iPhone/iPad. Apparently installing the TestFlight version should allow you to select it from your iCloud though.

ty-yqs commented 2 years ago

Did you change Bundle ID when you signing it? Maybe because of the Bundle ID.

MrSco commented 2 years ago

I think it's been established that the bug is caused by a signing issue with provisioning profiles's app id not matching the bundle id. It's probably better to install from TestFlight for now.

I’m having the same issue. Using TestFlight build 1.2 on iOS 15.0.2 on iPhone 13 pro. Jitterbug doesn’t even have a “on my iPhone” folder listed in the files app for me to try and copy support files manually. It did let me import the mobileprovisioning profile though. Tried AltStore with paid developer account also. Same result. Any ideas?

osy commented 2 years ago

Not sure if AltStore fixed the bug yet. You have to manually sign. Follow the readme.

ViRb3 commented 2 years ago

You can also sign with: https://github.com/SignTools/ios-signer-service

MrSco commented 2 years ago

Not sure if AltStore fixed the bug yet. You have to manually sign. Follow the readme.

You can also sign with: https://github.com/SignTools/ios-signer-service

i just setup the ios-signer-service using my paid developer account and still the same result. mobiledevicepair files import from files app (but not if browsed to from within jitterbug). no Jitterbug folder in 'on my iphone' in files. unable to import support files via files app or browsing via jitterbug.

MrSco commented 2 years ago

Not sure if AltStore fixed the bug yet. You have to manually sign. Follow the readme.

You can also sign with: https://github.com/SignTools/ios-signer-service

i just setup the ios-signer-service using my paid developer account and still the same result. mobiledevicepair files import from files app (but not if browsed to from within jitterbug). no Jitterbug folder in 'on my iphone' in files. unable to import support files via files app or browsing via jitterbug.

I tried copying the pairing and support files to another app’s “on my iPhone” folder (chrome in this case) and that worked!

So it was both the manually signing with iOS-signer-service AND copying the files to a “on my iPhone” location first that ended up allowing the files to import.

Thanks for the help!

osy commented 2 years ago

Copying manually always works. Like I said you have to follow the readme and sign with Xcode. Idk what ios-signer-service is but it probably has the same bug as AltStore.

ViRb3 commented 2 years ago

I beg your pardon @osy, but ios-signer-service is my project and I can assure you that it can sign JitterBug completely fine :)

MrSco commented 2 years ago

Copying manually always works. Like I said you have to follow the readme and sign with Xcode. Idk what ios-signer-service is but it probably has the same bug as AltStore.

I followed the readme. Xcode was one of the first things I tried. It, TestFlight and every other signing method has the same issue… no “on my iPhone” folder and can’t import files unless manually copied to another app’s local phone. Jitterbug’s local folder never shows up. Even after getting the files imported, jitterbug still has no “on my iPhone” folder.

Just reporting what I’m experiencing. I really appreciate the JIT magic!

osy commented 2 years ago

I see thanks for the update ignore my last comment @ViRb3

ViRb3 commented 2 years ago

@MrSco I just downloaded https://github.com/osy/Jitterbug/releases/download/v1.2.0/Jitterbug.ipa and signed it using the latest version of ios-signer-service. I used a paid dev account (username and password), all default settings. In-app file importing as well as VPN works great. Are you sure this is exactly what you did? I imported all files from my Downloads folder. I don't think you're supposed to see JitterBug's folder in your Files app.

MrSco commented 2 years ago

@MrSco I just downloaded https://github.com/osy/Jitterbug/releases/download/v1.2.0/Jitterbug.ipa and signed it using the latest version of ios-signer-service. I used a paid dev account (username and password), all default settings. In-app file importing as well as VPN works great. Are you sure this is exactly what you did? I imported all files from my Downloads folder. I don't think you're supposed to see JitterBug's folder in your Files app.

Ya that’s what I did. VPN connects

But now even after getting all the files imported, jitterbug connects to my device and lists installed apps , but I get “ImageMountFailed” when I try select UTM or Dolphin. I’ve tried with and without vpn from a second device. iPhone and an iPad both running iOS 15.0.2.

I’m using the developer image files from 14.5 as that’s the most recent version closest to my iOS version.

Am I doing something wrong?

ViRb3 commented 2 years ago

You can't use iOS 14.X developer image on iOS 15.X. Try (haven't tested):

MrSco commented 2 years ago

You can't use iOS 14.X developer image on iOS 15.X. https://github.com/haikieu/xcode-developer-disk-image-all-platforms

Ah the readme links to a repo with only 14.5 as the highest version and says to use the closest version. That probably should be updated…

MrSco commented 2 years ago

well i finally got it working... very cool stuff... i notice however, i have to be connected to a wifi ap when using the same device to debug and run app with vpn... is that just a limitation of the vpn tunnel? it needs the connection for the tunnel to run over? or am i doing it wrong?

vpn works great when i'm connected to a wifi ap though! thanks!

kosmos5457 commented 2 years ago

@MrSco, how did you get it working on iOS15? Or 15.1. Did those iOS15 links from ViRb3 work for you? I tried importing and doesn't seem to like them. I got the images into Jitterbug via Filza. Only way I could see of doing it.

I get an image mount failed unfortunately.

MrSco commented 2 years ago

Yea the 15.x links worked for me ok. Just for importing the files I had to first copy to any app’s local “on iPhone “ folder first, then jitterbug wouldn’t have them greyed out when importing.

kosmos5457 commented 2 years ago

Yea the 15.x links worked for me ok. Just for importing the files I had to first copy to any app’s local “on iPhone “ folder first, then jitterbug wouldn’t have them greyed out when importing.

I'm getting mount image failed. I realise after I posted earlier, I had made an error as the dmg was unusually small. It doesn't seem I can just download signature file as it is? Maybe it is cos I am in Firefox on PC? I have the DMG now which is over 11MB in size. I still get Mount image failed. It may be because of the signature.

I am on 15.1, using 15.0 DeveloperDiskImage. I don't see a 15.1 but do see a 15.2.

kosmos5457 commented 2 years ago

@MrSco So I got a bit further, the images don't fail to mount now but I do get an error when starting apps. I see this on the device running Jitterbug. It says failed to get the task for process 13099. The numbers will change depending on what application I go to launch.

MrSco commented 2 years ago

@MrSco So I got a bit further, the images don't fail to mount now but I do get an error when starting apps. I see this on the device running Jitterbug. It says failed to get the task for process 13099. The numbers will change depending on what application I go to launch.

you have to make sure the app is signed with debug permissions... using ios signer

ViRb3 commented 2 years ago

Debug entitlement is not necessary. You absolutely need the signature file, though, and it must be the exact one for your image file.