runnersaw / pebble-text

Jailbreak app for iOS to allow users to text from their watch with their voice.
The Unlicense
17 stars 2 forks source link

Hangs on "Loading Contact", and native "Send Text" app doesn't show up #19

Closed CobreDev closed 5 years ago

CobreDev commented 5 years ago

If I pirate this tweak (I really hate pirating it, but it's the only way I can get it to work, and I can't buy it on BigBoss, so sorry), it works like a charm. It's version 3.0.0, but if I compile 3.0.0 from here, the native Send Text app doesn't show up. I downloaded the "TextSender for Pebble" app from the Rebble store, and it just hangs on "Loading Contact...". I haven't ever been able to get past this on the compiled GitHub version.

My Device: iPhone 5s, running unc0ver on 12.1.2. My Pebble: Pebble Time Kickstarter, and Pebble Classic (The classic always gets stuck at the contact screen, even with the pirated version)

joemerlino commented 5 years ago

@mac-user669 can you provide your THEOS configuration? SDK and so on?

CobreDev commented 5 years ago

@joemerlino I don't know how to use THEOS, so I just made a DEBIAN folder in the "pebblesmstweak" folder, and ran dpkg -b pebblesmstweak to create the deb. Is there a better way?

joemerlino commented 5 years ago

@mac-user669 yes, configure a THEOS environment to recompile the tweak.

More info here: https://iphonedevwiki.net/index.php/Theos/Setup

CobreDev commented 5 years ago

I haven’t found a good tutorial for doing that, could you please walk me through it?

On Apr 2, 2019, at 05:58, Giuseppe Merlino notifications@github.com wrote:

@mac-user669 yes, configure a THEOS environment to recompile the tweak.

More info here: https://iphonedevwiki.net/index.php/Theos/Setup

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Edit: Spelling

CobreDev commented 5 years ago

@joemerlino Could you guide me through setting up THEOS?

CobreDev commented 5 years ago

I've finally installed THEOS, but when I try to make it, it gives me this: `> Making all for tweak pebblesmstweak… ==> Preprocessing main.xm…

==> Compiling main.xm (armv7)…

main.xm:4:9: fatal error: 'ChatKit/CKComposition.h' file not found

import <ChatKit/CKComposition.h>

    ^~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. make[3]: [/Users/cooperhull/Downloads/pebble-text-master/pebblesmstweak/.theos/obj/debug/armv7/main.xm.72fe1e4b.o] Error 1 rm /Users/cooperhull/Downloads/pebble-text-master/pebblesmstweak/.theos/obj/debug/armv7/main.xm.mm make[2]: [/Users/cooperhull/Downloads/pebble-text-master/pebblesmstweak/.theos/obj/debug/armv7/pebblesmstweak.dylib] Error 2 make[1]: [internal-library-all_] Error 2 make: [pebblesmstweak.all.tweak.variables] Error 2`

Any way to fix this?

runnersaw commented 5 years ago

Hey there, sorry I'm not very active on this nowadays.

To import headers for private iOS frameworks, you'll have to create a folder and add the header to it in a particular location, please see: https://www.reddit.com/r/jailbreakdevelopers/comments/44e14h/whats_the_best_way_to_import_a_class_from_a/

As far as getting the headers, you'll have to search around for iOS private/runtime headers and find the ones you need to copy into that folder, or class dump them yourself.

CobreDev commented 5 years ago

Hey, is there any way you could compile this for me? All I'm getting is errors. Thanks!

joemerlino commented 5 years ago

@runnersaw got it compiled, trying to make it compatible with iOS 12.X can you explain the difference between master and production branches? thanks!

runnersaw commented 5 years ago

@joemerlino The only differences are that the production branch i) changes the bundle ID, title, and description of the tweak from "Beta" to production and ii) disables logging.

joemerlino commented 5 years ago

Gotcha! thanks :)

CobreDev commented 5 years ago

I'm thinking I should just close this issue, since a fix is being worked on. Thanks for all of your help everyone!