Jump to content

Online code inject generator


Go to solution Solved by Pro,

5 posts in this topic

Recommended Posts

  • Solution
Posted

You'd have to paste ot in a certain spot in the plist, don't delete other stuff in the plist unless you know what you're doing :v

 

Probably be best if you posted both of your plists here (the one in your project folder and the portion from the generator) and have someone out the two together

Posted (edited)

Preferences plist (got this from the online code inject generator):

<!-- Begin PSSwitchCell -->
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.blayzegames.iosfps</string> <!-- Your package name. -->
			<key>key</key>
			<string>Test </string> <!-- Your key. -->
			<key>label</key>
			<string>tset</string> <!-- Your Switch Name. -->
		</dict>
<!-- End PSSwitchCell -->
]

 

 

Stuff in plist (resource folder):

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "[url="http://www.apple.com/DTDs/PropertyList-1.0.dtd"]http://www.apple.com/DTDs/PropertyList-1.0.dtd">[/url]<plist version="1.0"><dict>  <key>items</key>  <array>    <dict>      <key>cell</key>      <string>PSGroupCell</string>      <key>label</key>      <string>prefbundle First Page</string>    </dict>    <dict>      <key>cell</key>      <string>PSSwitchCell</string>      <key>default</key>      <true/>      <key>defaults</key>      <string>com.pronabhacks.prefbundle</string>      <key>key</key>      <string>AwesomeSwitch1</string>      <key>label</key>      <string>Awesome Switch 1</string>    </dict>  </array>  <key>title</key>  <string>prefbundle</string></dict></plist> 

 

Updated by ProNab
Posted

Preferences plist (got this from the online code inject generator):

 

<!-- Begin PSSwitchCell -->
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.blayzegames.iosfps</string> <!-- Your package name. -->
			<key>key</key>
			<string>Test </string> <!-- Your key. -->
			<key>label</key>
			<string>tset</string> <!-- Your Switch Name. -->
		</dict>
<!-- End PSSwitchCell -->
]

 

 

Stuff in plist (resource folder):

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "[url="http://www.apple.com/DTDs/PropertyList-1.0.dtd"]http://www.apple.com/DTDs/PropertyList-1.0.dtd">[/url]<plist version="1.0"><dict>  <key>items</key>  <array>    <dict>      <key>cell</key>      <string>PSGroupCell</string>      <key>label</key>      <string>prefbundle First Page</string>    </dict>    <dict>      <key>cell</key>      <string>PSSwitchCell</string>      <key>default</key>      <true/>      <key>defaults</key>      <string>com.pronabhacks.prefbundle</string>      <key>key</key>      <string>AwesomeSwitch1</string>      <key>label</key>      <string>Awesome Switch 1</string>    </dict>  </array>  <key>title</key>  <string>prefbundle</string></dict></plist> 

 

Fix your second plist xD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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