Jump to content

Preference bundle empty?


Go to solution Solved by castix,

9 posts in this topic

Recommended Posts

Posted

Hey..

 

I tried making a PsEditTextCell patcher using the MSHook Generator Online.

But when I go to settings and click on the patcher it doesn't show anything.

 

this is the plist code:

<?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>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.brj.brj</string> <!-- Your package name. -->
			<key>key</key>
			<string>key1</string> <!-- Your key. -->
			<key>label</key>
			<string>Switch Text 2</string> <!-- Your Switch Name. -->
		</dict>
		<dict>
			<key>cell</key>
			<string>PSEditTextCell</string>
			<key>defaults</key>
			<string>com.brj.brj</string> <!-- Your package name. -->
			<key>key</key>
			<string>key1value</string> <!-- Your key. -->
			<key>label</key>
			<string>Amount:</string> <!-- The label that will appear next to the PSEditTextCell. -->
			<key>isDecimalPad</key>
			<true/> <!-- Show numeric keyboard by default. true or false. -->
			<key>placeholder</key>
			<string>Enter your value here.</string> <!-- Placeholder text that will appear before user enters their value. -->
		<dict>
</array>
	<key>title</key>
	<string>brj</string>
</dict>
</plist>

is there anything wrong?

Posted

Open the plist with text viewer and it tells you your mistake

just did it. 

this is what it says:

 

Property list /var/mobile/brj/brj/

Resources/brj.plist invalid:

Encountered unexpected EOF

Posted

EOF = End Of File

 

forgot to close an array or string?

ah yes, I was already like EOF? whuut? but I think I didn't lemme try :)

EOF = End Of File

 

forgot to close an array or string?

uhh, I don't think I did anything wrong..?

<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.brj.brj</string>
			<key>key</key>
			<string>key1</string>
			<key>label</key>
			<string>Switch Text 2</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSEditTextCell</string>
			<key>defaults</key>
			<string>com.brj.brj</string>
			<key>key</key>
			<string>key1value</string>
			<key>label</key>
			<string>Amount:</string>
			<key>isDecimalPad</key>
			<true/>
			<key>placeholder</key>
			<string>Enter your value here.</string>
		<dict>
</plist>

  • Solution
Posted

 

ah yes, I was already like EOF? whuut? but I think I didn't lemme try :)

uhh, I don't think I did anything wrong..?

<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.brj.brj</string>
			<key>key</key>
			<string>key1</string>
			<key>label</key>
			<string>Switch Text 2</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSEditTextCell</string>
			<key>defaults</key>
			<string>com.brj.brj</string>
			<key>key</key>
			<string>key1value</string>
			<key>label</key>
			<string>Amount:</string>
			<key>isDecimalPad</key>
			<true/>
			<key>placeholder</key>
			<string>Enter your value here.</string>
		<dict>
</plist>

the whole plist is messed up you should create a new one

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