You are right, the problem of most people who have this problem is this. since 
it is iOS is a UNIX-based operating system, everything there is case sensitive. 
my problem was the same, too. so just try to make sure you checked the capital 
letters.

your property list file is completely accurate and there is no problem with it.


Sent from my Windows 8 PC
 

From: Nic Wise [via MonoTouch]
Sent: Monday, May 21, 2012 1:35:05 PM
To: pkd2010
Subject: Re: Problem adding settings to my app using root.plist
 

I have a number of them in my app. I've attached the plist below. 

Just to be 100% clear, this is in a FOLDER called Settings.bundle, in 
a file called Root.plist (capital letters in the right place, if it 
makes a difference - I'm not sure, but the iOS filesystem IS CASE 
SeNsItIvE) 


<?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>PreferenceSpecifiers</key> 
        <array> 
                <dict> 
                        <key>DefaultValue</key> 
                        <false/> 
                        <key>FalseValue</key> 
                        <string>NO</string> 
                        <key>Key</key> 
                        <string>IsDebug</string> 
                        <key>Title</key> 
                        <string>Debug Logs</string> 
                        <key>TrueValue</key> 
                        <string>YES</string> 
                        <key>Type</key> 
                        <string>PSToggleSwitchSpecifier</string> 
                </dict> 
                <dict> 
                        <key>DefaultValue</key> 
                        <string>YES</string> 
                        <key>FalseValue</key> 
                        <string>NO</string> 
                        <key>Key</key> 
                        <string>ShowBankAccounts</string> 
                        <key>Title</key> 
                        <string>Show Bank Accounts</string> 
                        <key>TrueValue</key> 
                        <string>YES</string> 
                        <key>Type</key> 
                        <string>PSToggleSwitchSpecifier</string> 
                </dict> 
        </array> 
</dict> 
</plist> 


On Mon, May 21, 2012 at 6:27 AM, Felix Collins <[hidden email]> wrote: 

> I too am suffering this problem. Did anyone work it out? I've been through 
> the tutorials at 
> http://conceptdev.blogspot.co.nz/2009/08/monotouch-settingsbundle.html
> and 
> http://adtmag.com/Articles/2010/04/13/Working-With-Application-Settings-In-Monotouch.aspx?Page=2
> 
> I've triple checked all my capitalisation. I've tried various permutations 
> of the project settings. I've edited the plist in monodev, xcode and 
> dashcode and it all looks fine.  I've reset the simulator and rebuilt my 
> entire project. I've tried debug and release on simulator and device. 
> Nothing appears in the settings dialog apart from the monotouch Debug 
> settings.... 
> 
> my plist file... 
> 
> <?xml version="1.0" encoding="UTF-8"?> 
> <!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; 
> &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;> 
> <plist version="1.0"> 
> <dict> 
>        <key>Root</key> 
>        <dict> 
>                <key>Title</key> 
>                <string>AppSettings</string> 
>                <key>StringsTable</key> 
>                <string>Root</string> 
>                <key>PreferenceSpecifiers</key> 
>                <array> 
>                        <dict> 
>                                <key>Key</key> 
>                                <string>resetcacheddata</string> 
>                                <key>Title</key> 
>                                <string>Clear Cached Data</string> 
>                                <key>Type</key> 
>                                <string>PSToggleSwitchSpecifier</string> 
>                        </dict> 
>                </array> 
>        </dict> 
> </dict> 
> </plist> 
> 
> any further ideas to try welcomed... 
> 
> Felix 
> 
> 
> -- 
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Problem-adding-settings-to-my-app-using-root-plist-tp3829248p4647748.html
> Sent from the MonoTouch mailing list archive at Nabble.com. 
> _______________________________________________ 
> MonoTouch mailing list 
> [hidden email] 
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise 
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income. 
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket. 
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________ 
MonoTouch mailing list 
[hidden email] 
http://lists.ximian.com/mailman/listinfo/monotouch






If you reply to this email, your message will be added to the discussion below:
http://monotouch.2284126.n4.nabble.com/Problem-adding-settings-to-my-app-using-root-plist-tp3829248p4647886.html
 To unsubscribe from Problem adding settings to my app using root.plist, click 
here.
NAML

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Problem-adding-settings-to-my-app-using-root-plist-tp3829248p4647975.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to