Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

fix missing arm64e slice from FuguKrw plugin #235

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions arm/iOS/Fugu14Krw/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,32 @@ do
swiftBuild+=(-Xswiftc "$arg")
done

echo Building Fugu14Krw
echo Building Fugu14Krw64
echo ${swiftBuild[*]}
${swiftBuild[*]}

mv .build/release/libFugu14Krw.dylib libFugu14Krw-64.dylib
rm -rf .build

swiftcArgs=(-sdk "`xcrun --sdk iphoneos --show-sdk-path`" -target arm64e-apple-ios14.0 -O -framework IOKit)

swiftBuild=(swift build -c release -Xcc "-DIOS_BUILD" -Xcc -target -Xcc arm64e-apple-ios14.0 -Xcc -Wno-incompatible-sysroot)
for arg in ${swiftcArgs[*]}
do
swiftBuild+=(-Xswiftc "$arg")
done

echo Building Fugu14Krw64e
echo ${swiftBuild[*]}
${swiftBuild[*]}

mv .build/release/libFugu14Krw.dylib libFugu14Krw-64e.dylib

echo gonna make them kiss

lipo -create libFugu14Krw-64.dylib libFugu14Krw-64e.dylib --output libFugu14Krw.dylib

rm libFugu14Krw-64.dylib libFugu14Krw-64e.dylib

echo Signing Fugu14Krw
codesign -s - .build/release/libFugu14Krw.dylib
codesign -s - libFugu14Krw.dylib
2 changes: 1 addition & 1 deletion arm/iOS/jailbreakd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo ${swiftBuild[*]}
${swiftBuild[*]}

echo Stripping jailbreakd
strip -s keep .build/release/jailbreakd
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -s keep .build/release/jailbreakd

echo Signing jailbreakd
codesign -s "$CODESIGN_IDENTITY" --entitlements jailbreakd.entitlements .build/release/jailbreakd
Expand Down