Jump to content

dillidahal

Newbie
  • Posts

    2
  • Joined

  • Last visited

Everything posted by dillidahal

  1. Hello, I'm currently trying to hook into a specific header I got from class-dump for instagram. Header file is https://pastebin.com/Ck1L8MSU @interface logTool: NSObject + (void)logDataFromNSString: (NSString *)logContent; @end @implementation logTool + (void)logDataFromNSString: (NSString *)logContent { NSFileHandle *file; NSData *data; file = [NSFileHandle fileHandleForUpdatingAtPath: @"/tmp/filelog.txt"]; [file seekToEndOfFile]; logContent = [logContent stringByAppendingString:@"\n------------\n"]; data = [logContent dataUsingEncoding:NSUTF8StringEncoding]; [file writeData: data]; [file closeFile]; } @end %hook IGAPIRequestBuilder + (id)builderWithHTTPMethod:(unsigned long long)arg1 format:(id)arg2 { id ret = %orig; return ret; } %end When I use some other functions aside from builderWithHTTPMethod; it seems to be working. That one specific header is crashing and I have no idea why. Here's my crash report. https://pastebin.com/Y2NpT4n3
  2. Hello. My tweak gets installed properly on my device. I'm currently in ios 9.2 I'm on iphone 6s. I've installed theos. I'm just following the spring board example; where I just display a popup box upon respire at the lockscreen of my phone. I use $THEOS/bin/nic.pl; all of these works just as expected. I also installed 9.3 sdk inside my /opt/theos/sdks ( I put the entire folder obtained from here https://github.com/theos/sdks) My makefile looks like this: My device respires too; just the box won't show up. I think im mixing up on compatible versions. Any guidance would be appreciated. include $(THEOS)/makefiles/common.mk TWEAK_NAME= biplovdahal export TARGET = iphone:9.2 export ARCHS = arm64 export TARGET_IPHONEOS_DEPLOYMENT_VERSION = 9.2 biplovdahal_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk export THEOS_DEVICE_IP=localhost export THEOS_DEVICE_PORT=2222 after-install:: install.exec "killall -9 SpringBoard"
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines