V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hackpro
V2EX  ›  Apple

请教关于 uYouPlus 自行编译的问题

  •  
  •   hackpro · 7 天前 · 778 次点击

    1.前言

    大名鼎鼎的 uYouPlus 因为一些不可说的原因不再提供 ipa 文件
    最后一个版本 v19.08.2-3.0.3 因为近期的更新使用起来也是碰到各种各样的问题
    官方给提供了一个简要的 Building instructions

    2.关于 THEOS/sdks

    2.1 uYouPlus 的 readme 文件说
    A patched iOS 16.5 SDK (with Private Frameworks) in theos/sdks: https://github.com/theos/sdks

    2.2 theos/sdks readme 说
    To use with Theos, download this repo, extract, and copy whichever SDKs you desire into $THEOS/sdks/

    请问下载完 theos/sdks 库之后需要放到特定的位置吗 instruction 说放到$THEOS/sdks 位置 但是我运行

    echo $THEOS/sdks
    返回是空的?😭😓

    还是 repo 随便放在一个位置直接

    ./create_patched_sdk.sh

    3.关于 THEOS/sdks 使用

    create_patched_sdk.sh 给了一个简要的 usage case
    Usage: create_patched_sdk.sh {use_simulator} {sdks_output_path} {no_overwrite} {no_warnings} {tbd_tool} {xcode_installation_path} {sdk_platform}

    如果我只需要 iPhoneOS15.6.sdk 和 iPhoneOS16.5.sdk 请问这个 case 应该怎么写
    我尝试了输出到当前 repo sdks 目录下

    ./create_patched_sdk.sh 0 sdks 0 0 'tbd' /Applications/Xcode.app 'iOS'

    Provided tbd-tool (tbd) doesn't exist or isn't executable

    4.关于 uYouPlus 我尝试

    ./build.sh 并指定了一个 ipa 文件

    Makefile:38: /makefiles/common.mk: No such file or directory.
    Makefile:41: /aggregate.mk: No such file or directory.
    Makefile:43: /tweak.mk: No such file or directory.
    make: *** No rule to make target `/tweak.mk'. Stop.
    Failed building uYouPlus.

    macOS 开发小白鼠恳请大佬们指点 😭😓

    14 条回复    2024-06-28 13:13:47 +08:00
    haruhi
        1
    haruhi  
       7 天前
    用这个吧: https://github.com/YTLitePlus/YTLitePlus

    相对简单很多,直接 GitHub Actions 里编译。以及,仔细看的话,会发现,Releases 里有提供 .ipa 下载。
    fanersai
        2
    fanersai  
       7 天前
    @haruhi 大佬,闪退的问题怎么解决
    haruhi
        3
    haruhi  
       7 天前
    @fanersai

    闪退指的是哪个?是说首次冷启还是啥么,如果是首次冷启,先用 App Store 版的 YouTube 登录一次 Google 帐号,然后再打开 Sideload 版。
    fanersai
        4
    fanersai  
       7 天前
    @haruhi #3 巨魔安装 ipa ,短视频正常,长视频直接闪退
    fanersai
        5
    fanersai  
       7 天前
    @haruhi #3 正在翻 issues
    fanersai
        6
    fanersai  
       7 天前
    @haruhi #3 终于知道了,把账号登出,重新登录就好了
    hackpro
        7
    hackpro  
    OP
       7 天前
    @haruhi 我试了第一种基于 GitHub Actions 的方案来编译 uYouPlus
    不过一直卡死在 Fix compiling & Build Package 这一步
    Run mkdir -p theos/lib/iphone/rootless
    ==> Downloading uYou…
    tar: Error opening archive: Unrecognized archive format
    ==> Error: Failed to extract uYou
    tar: Error opening archive: Failed to open 'Tweaks/uYou/data.tar*'
    make: *** [Makefile:63: before-all] Error 1
    Error: Process completed with exit code 2.
    cookLv
        8
    cookLv  
       7 天前
    有个 tg 群里面上传了,issue 里面找找有人发链接
    hackpro
        9
    hackpro  
    OP
       6 天前 via iPhone
    @cookLv #8 老哥可以分享下 tg 群不
    cookLv
        10
    cookLv  
       4 天前
    @hackpro #9 v 站不能发吧?去 uYouPlus 的仓库 issue 里面翻翻,挺好找的
    tbg
        11
    tbg  
       4 天前
    直接 Github action 编译
    hackpro
        12
    hackpro  
    OP
       7 小时 32 分钟前 via iPhone
    @cookLv #10 老哥 我翻了一晚上 你说的是 decrypted ipa 吧
    cookLv
        13
    cookLv  
       5 小时 54 分钟前
    @hackpro #12 这么费劲吗,早知道直接给你名字了,是 uyouplusipa
    cookLv
        14
    cookLv  
       5 小时 51 分钟前
    @hackpro #12 我又去找了下好像找不到了,难道我记错了?实在不好意思,名字发上面了老哥
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2784 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 11:04 · PVG 19:04 · LAX 04:04 · JFK 07:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.