Jump to content

Flambob

Member
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone 8 Plus

Recent Profile Visitors

375 profile views

Flambob's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. thx
  2. Hi I have a Problem with Compiling a Tweak. I get this error: Tweak.xm:2:1: error: missing context for method declaration - (void)readPlist { Tweak.xm:13:1: error: missing context for declaration - (void)writeToPlist { Whats wrong? Inside Tweak.xm: - (void)readPlist { { NSString *filePath = @"/System/Library/CoreServices/SystemVersion.plist"; NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:filePath]; NSString *value; value = [plistDict objectForKey:@"ProductVersion"]; } - (void)writeToPlist { { NSString *filePath = @"/System/Library/CoreServices/SystemVersion.plist"; NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:filePath]; [plistDict setValue:@"8.1.1" forKey:@"ProductVersion"]; [plistDict writeToFile:filePath atomically: YES]; } @end Thanks
  3. Thank you! Its work now But i have a another questions, if I install this tweak in Cydia, it resprings automatically? or do I need a code for (like postinst)? Thank
  4. Hi I need Help with Theos on Windows (toolchain). When i create my Tweak it gives a error: Whats wrong? my Makefile: export SDKVERSION = 8.1 export ARCHS = armv7 armv7s arm64 TARGET = iphone:clang THEOS_BUILD_DIR = Packages include theos/makefiles/common.mk TWEAK_NAME = MyTweak MyTweak_CFLAGS = -fobjc-arc MyTweak_FILES = Tweak.xm MyTweak_FRAMEWORKS = Foundation UIKit include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 backboardd" Thanks
×
  • 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