Skip to content
Guest Big Announcement

Theos Compiling Error: duplicate declaration of method

Featured Replies

Solved by Rook

  • Replies 34
  • Views 7.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Author

Oh btw how do you add multiple things to he turned on from one switch

  • Author

Awesome! How do i change the name of the settings for my tweak? when i click the tab it says the name of my tweak but when outside it says 'AsD'

  • Author

Oh ok thanks, trying to Add a respring button but my pref is blank in settings:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>entry</key>
<dict>
<key>cell</key>
<string>PSLinkCell</string>
<key>icon</key>
<string>icon.png</string>
<key>label</key>
<string>LockDelete</string>
</dict>
<key>items</key>
<array>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Prevent Apps From Being Deleted</string></dict>
<dict>
<key>cell</key>
<string>PSSwitchCell</string>
<key>default</key>
<false/>
<key>defaults</key>
<string>com.AsD.pref</string>
<key>key</key>
<string>kUninstall</string>
<key>label</key>
<string>Enable LockDelete</string>       
</dict>
</dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>Respring</string>
<key>action</key>
<string>respring</string>
</dict>           
</array>
<key>title</key>
<string>LockDelete</string>
</dict>
</plist> 
  • Author

here is some extra info, when opening the plist from ifile it says;

property list/var/mobile.asd/AsD/Resources/AsD.plist invalid: close tag on line 32 doesnt match open tag array?

You've messed up your plist O.o

 

Use this one:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>footerText</key>
			<string>Prevent apps from being deleted.</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.AsD.pref</string>
			<key>key</key>
			<string>kUninstall</string>
			<key>label</key>
			<string>Enable LockDelete</string>
		</dict>
		<dict>
			<key>cell</key>
            <string>PSButtonCell</string>
            <key>label</key>
            <string>Respring</string>
            <key>action</key>
            <string>respring</string>
		</dict>
	</array>
	<key>title</key>
	<string>LockDelete</string>
</dict>
</plist>

  • Author

DiDA everything works, but i don't know where to put this:

<dict>
    <key>cell</key>
    <string>PSButtonCell</string>
    <key>label</key>
    <string>Respring</string>
    <key>action</key>
    <string>respring</string>
</dict>

Guest
This topic is now closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.