qnblackcat / uYouPlus

uYou+ is a modified version of uYou (made by @MiRO92) with additional features and mainly made for non jailbroken users!
7k stars 7.04k forks source link

[v3.0.3] failed to build exit code 6 #1455

Closed krispyking24 closed 2 months ago

krispyking24 commented 2 months ago

Is there an existing issue for this?

Have you read the FAQ?

Device information

Describe the issue

fails to build with an exit code 6, raw log

Steps to reproduce

  1. build the app following the tutorial provided here
  2. building fails on step "Prepare YouTube iPA" image

Crash log

No response

Are you using the latest version of uYouPlus? If not, why?

✅ Yes, I'm using the latest version of uYouPlus

Does the issue happen with the official YouTube app from the App Store?

❌ No, I cannot reproduce this issue in the official YouTube app from the App Store

Additional information

No response

daedadu commented 2 months ago

Is it possible that $YOUTUBE_URL is not accessible w/o credentials? The Link has to be accessible from the Internet without any login.

krispyking24 commented 2 months ago

how do i check/make the link without credentials required?

daedadu commented 2 months ago

When I look at your screenshot you probably don't have defined a url at all, because you get $YOUTUBE_URL instead of a google-drive or whatever link

See here https://github.com/qnblackcat/uYouPlus/wiki/Building and follow the instructions

krispyking24 commented 2 months ago

as i said in the steps to reproduce i already followed the tutorial and i did put the drive link

krispyking24 commented 2 months ago

now it's saying the ipa isn't a zip file image

Dev-Godfrey commented 2 months ago

I am having the same issue, how do I remove credential from the drive link ?

krispyking24 commented 2 months ago

u go manage access to the file then make it anyone with link instead of restricted

Dev-Godfrey commented 2 months ago

u go manage access to the file then make it anyone with link instead of restricted

I have done that but I still get the error ,i also tried using one drive and google drive. dose it matter what version of Ipa is uploaded?

daedadu commented 2 months ago

now it's saying the ipa isn't a zip file image

If you go into the yaml file and have a look at that step, you see the actual command that downlods the ipa. I have/had the same problem. Execute the exact same wget command on a linux machine and see if the ipa is really downlaoded. When I checked it, it did not download the ipa but the website itself that the link refers to. So probably the link needs to be tweaked, that is different for every cloud storage you use, or wget needs to follow a redirection or something like that. To achieve that you have to change the yaml file that contains the command.

In the end I did not manage to get the url for wget right. Because I did not want to go into the weeds here I used the wayback machine to find the ipa that was here in the releases part of the github repo before the google dmca.

If you read the dmca notice on the maintainers twitter post, you will see the date from which on the ipa was removed. So every backup of github, that is prior that date should suffice.

Please don't ask what the wayback machine is and how to use it. The internet and google should be enough for you to find this out. I know this does not help you to get a version newer than 3.0.3. But that is a problem of a future me and a future you :D

I don't know if @qnblackcat actually tested the download from cloud storage providers or if @qnblackcat just deleted the original way of doing it. A view in the git commits should/could show this (which I have not done).

I see a bootstrapping problem here as well. Where do I actually get the ipa from? I don't have enough experience with ios. Can I get ipas from an unrooted iphone? There are a lot of websites that offer the ipa behind some accounts though.

qnblackcat commented 2 months ago

@Dev-Godfrey

DropBox:

OK, if you want to generate a direct download link from Dropbox, simply change &dl=0 to &dl=1 at the end. Fox example:

https://www.dropbox.com/scl/fi/utpp5ejl08glssfoh2p17/TestDownload.txt?rlkey=vffedljofmq4oidxdgbcoglqh&st=vqdr3ajz&dl=0

will be changed to:

https://www.dropbox.com/scl/fi/utpp5ejl08glssfoh2p17/TestDownload.txt?rlkey=vffedljofmq4oidxdgbcoglqh&st=vqdr3ajz&dl=1

Google Drive

OneDrive

krispyking24 commented 2 months ago

fixed all the issues by following qnblackcat's advice but didn't work on google drive but drop box worked

zehDonut commented 2 months ago

Google Drive

* Paste the Shared GG Drive uRL to [this page](https://drive.codevn.net) and you'll get the direct link

Are you sure this works? I only get a 'dl.php' file from the generated link.