-
Notifications
You must be signed in to change notification settings - Fork 6k
build error:ld: tapi error: malformed file #728
Copy link
Copy link
Open
Description
Hi:
I build the Dopamine project use 'make all',show error
env:
macos 13.5 (22G74) 2.9 GHz Quad-Core Intel Core i7
xcode Version 15.2 (15C500b)
error:
lee@Princekin-MacbookPro:./Dopamine|2.x⚡
⇒ make all
rm -rf .build
mkdir -p .build
cp -r _external/basebin/* .build
cp _external/basebin/.version .build
rm -rf .include
mkdir -p .include
cp -r _external/include/* .include
make[2]: `output/ios/libxpf.dylib' is up to date.
Building MachOMerger
swift build --triple arm64-apple-ios14.0 --sdk "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk" -c debug -Xcc "-DIOS_BUILD" -Xcc -Wno-incompatible-sysroot -Xswiftc -sdk -Xswiftc "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk" -Xswiftc -target -Xswiftc arm64-apple-ios14.0 -Xswiftc -O -Xswiftc -framework -Xswiftc IOKit -Xswiftc -framework -Xswiftc CoreServices -Xswiftc -D__DARWIN_OPAQUE_ARM_THREAD_STATE64
Building for debugging...
clang: warning: using sysroot for 'MacOSX' but targeting 'iPhone' [-Wincompatible-sysroot]
[48/48] Linking MachOMerger
Build complete! (20.05s)
codesign -s - -f --entitlements MachOMerger.entitlements MachOMerger
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C opainject FINALPACKAGE=1
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
> Making all for tool opainject…
==> Compiling main.m (arm64)…
==> Compiling dyld.m (arm64)…
==> Compiling shellcode_inject.m (arm64)…
==> Compiling rop_inject.m (arm64)…
==> Compiling thread_utils.m (arm64)…
==> Compiling task_utils.m (arm64)…
==> Compiling arm64.m (arm64)…
==> Linking tool opainject (arm64)…
ld: warning: -multiply_defined is obsolete
ld: warning: ignoring duplicate libraries: '-lc++'
ld: tapi error: malformed file
/opt/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks/CoreSymbolication.framework/CoreSymbolication.tbd:3:24: error: unknown platform
platform: (null)
^~~~~~
in '/opt/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks/CoreSymbolication.framework/CoreSymbolication.tbd'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [/Users/lee/Desktop/TONGDUN/demo/company/Dopamine/BaseBin/opainject/.theos/obj/arm64/opainject] Error 1
make[4]: *** [/Users/lee/Desktop/TONGDUN/demo/company/Dopamine/BaseBin/opainject/.theos/obj/arm64/opainject] Error 2
make[3]: *** [internal-tool-all_] Error 2
make[2]: *** [opainject.all.tool.variables] Error 2
make[1]: *** [opainject] Error 2
make: *** [all] Error 2
Any help would be greatly appreciated, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels