AwesomeIndustry / SIMLessPNRGateway

[Public version] iMessage phone number registration on Android devices, without a separate SIM card!
48 stars 5 forks source link

ld: library not found for -lmryipc for pnrsender` #3

Closed Supposedly-Sam closed 1 year ago

Supposedly-Sam commented 1 year ago

Making all for tweak PNRSender… ==> Preprocessing Tweak.x… ==> Compiling Tweak.x (arm64)… ==> Linking tweak PNRSender (arm64)… ld: library not found for -lmryipc clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

AwesomeIndustry commented 1 year ago

Huh, that's strange. Does your $THEOS/include contain a MRYIPCCenter.h and your $THEOS/lib contain a libmryipc.dylib?

Supposedly-Sam commented 1 year ago

It does now

AwesomeIndustry commented 1 year ago

Ok, I'll try reinstalling theos to see if the error shows up again. Also, I just added this in the README but figured I'd mention it here too--you'll need to create a text file in the root directory of your iPhone (/pnr_android_number.txt) with the contents being the international format of your Android phone's number (ex. +11234567890)

AwesomeIndustry commented 1 year ago

Huh, just reinstalled theos and re-added MRYIPC to $THEOS and it appears to compile ok:

(base) █ [.../pnrsender] > make package       
> Making all for tweak PNRSender…
==> Preprocessing Tweak.x…
==> Compiling Tweak.x (arm64)…
==> Linking tweak PNRSender (arm64)…
==> Generating debug symbols for PNRSender…
==> Merging tweak PNRSender…
==> Signing PNRSender…
> Making stage for tweak PNRSender…
dm.pl: building package `dev.altavision.pnrsender:iphoneos-arm' in `./packages/dev.altavision.pnrsender_0.0.1-92+debug_iphoneos-arm.deb'

Does re-cloning and rebuilding work?