#Fugu15 won't install properly

43 messages · Page 1 of 1 (latest)

olive cosmos
#

I'm trying to compile Fugu15 but when I run make the building process stops because it throws too many errors. I tried adding the -k argument to bypass the errors, but the resulting IPA it compiles is zero bytes in size. I'm running Xcode 14.1 on macOS Ventura 13.0. Any fixes?

amber sunBOT
#

@olive cosmos thanks for creating a new thread!

Please use /solved to delete this thread when you're done.

nimble marten
#

are you a developer?

olive cosmos
#

no but I have SHSH blobs to dump from some arm64e iPads running unsigned versions of iPadOS 15

#

(yes I know I can't use them but I'd like to dump blobs just in case)

hushed idol
hushed idol
olive cosmos
# hushed idol well you're going to have to show the errors

Here's the output if I run make without the -k argument:

/Library/Developer/CommandLineTools/usr/bin/make -C Exploits/oobPCI all
mkdir -p build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/ build/Sources/generated/ build/Sources/generated/ build/Sources/generated/ build/Sources/generated/
xcrun -sdk macosx clang -c -o build/Sources/DriverKit.o Sources/DriverKit.c -target arm64-apple-macos12.0 -D__arm64__ -D__aarch64__ -D__DARWIN_OPAQUE_ARM_THREAD_STATE64 -nostdlib -O0 -Wall -Wpedantic -Werror -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-gnu-empty-struct -Wno-dollar-in-identifier-extension -Wno-language-extension-token -Wno-zero-length-array
In file included from Sources/DriverKit.c:10:
Sources/generated/device.h:111:2: error: unknown type name 'io_name_t'
        io_name_t className
        ^
Sources/generated/device.h:123:2: error: unknown type name 'io_name_t'
        io_name_t className,
        ^
Sources/generated/device.h:159:2: error: unknown type name 'io_string_t'
        io_string_t matching,
        ^
Sources/generated/device.h:172:2: error: unknown type name 'io_name_t'
        io_name_t property_name,
        ^
Sources/generated/device.h:186:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:222:2: error: unknown type name 'io_string_t'
        io_string_t path,
        ^
Sources/generated/device.h:235:2: error: unknown type name 'io_name_t'
        io_name_t name
        ^
Sources/generated/device.h:260:2: error: unknown type name 'io_name_t'
        io_name_t property_name,
        ^
Sources/generated/device.h:261:2: error: unknown type name 'io_struct_inband_t'
        io_struct_inband_t data,
        ^
Sources/generated/device.h:274:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:287:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:349:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:350:2: error: unknown type name 'io_string_t'
        io_string_t path
        ^
Sources/generated/device.h:388:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:437:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:479:2: error: unknown type name 'io_name_t'
        io_name_t name
        ^
Sources/generated/device.h:517:2: error: unknown type name 'io_name_t'
        io_name_t name
        ^
Sources/generated/device.h:553:2: error: unknown type name 'io_name_t'
        io_name_t plane,
        ^
Sources/generated/device.h:554:2: error: unknown type name 'io_name_t'
        io_name_t name
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [build/Sources/DriverKit.o] Error 1
make: *** [all] Error 2```
hushed idol
hushed idol
nimble marten
olive cosmos
olive cosmos
#

then why does it say you do?

hushed idol
#

that's what linus used

#

but the issue isn't xcode, it's the SDK

#

that's what i just said

#

You need the macOS 13 SDK

olive cosmos
#

How do I install that SDK manually?

hushed idol
olive cosmos
#

It appears as though I already have the macOS 13.0 SDK installed...

hushed idol
olive cosmos
#

How would I be able to tell if I don't?

nimble marten
#

still haven't answered the Q though

hushed idol
#

it's not complicated

olive cosmos
#

doesn't look like it...

hushed idol
olive cosmos
#

For some reason it says: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

olive cosmos
#

So how do I fix it?

hushed idol
hushed idol
olive cosmos
#

OK, that fixed it, now it outputs this when I run xcodebuild -showsdks:

DriverKit SDKs:
    DriverKit 22.1                    -sdk driverkit22.1

iOS SDKs:
    iOS 16.1                          -sdk iphoneos16.1

iOS Simulator SDKs:
    Simulator - iOS 16.1              -sdk iphonesimulator16.1

macOS SDKs:
    macOS 13.0                        -sdk macosx13.0
    macOS 13.0                        -sdk macosx13.0

tvOS SDKs:
    tvOS 16.1                         -sdk appletvos16.1

tvOS Simulator SDKs:
    Simulator - tvOS 16.1             -sdk appletvsimulator16.1

watchOS SDKs:
    watchOS 9.1                       -sdk watchos9.1

watchOS Simulator SDKs:
    Simulator - watchOS 9.1           -sdk watchsimulator9.1```
hushed idol
olive cosmos
#

OK, that worked and it compiled. I tried sideloading the app onto an iPad mini (6th generation) running iPadOS 15.4 using Sideloady, but when opening the app it says:
Fugu15 installation failed!
Step 1/8 [Failed]
Failed to find ipa in FAT!
Any fixes?

#

Fugu15 won't install properly

hushed idol
#
  1. that device and version is supported
  2. you can install fugu15 with trollstore
olive cosmos
#

OK, I tried installing it using TrollStore but it throws an error saying:
Install Error 175
Failed to sign the app. ldid returned ad
non zero status code.
Any fixes?

hushed idol
#

not the one (installer) you compiled, the fugu15.ipa in the fugu15 folder

olive cosmos
#

OK, that worked. Thanks!