plist Questions

2

I have 2 Apps : Free & Full I have 2 Languages : English & German This results in 4 different App-Names How can I achieve this. Actually all my targets have the name "Free" in it, even i...
Lozano asked 2/11, 2015 at 14:14

8

Solved

This question is similar to this question, however this method only works on the root level of the dictionary. I'm looking to replace any occurrence of NSNull values with an empty string, so that ...
Fungiform asked 31/8, 2012 at 10:49

3

I would like to bundle a HTML based website as an iPhone app using Xcode Version 7.0.1, everything works fine and my only issue is that when I test the application on iPhone 4s, it wont show images...
Velure asked 6/10, 2015 at 5:10

2

Solved

I need help to read and write data to a remote plist file in my iOS application with Swift. I can read and save data in local but not with a remote server. Here, my code to read in local. Variabl...
Lobo asked 30/8, 2015 at 9:25

1

Solved

I'm trying to modify the project.pbxproj file of Xcode project using sed shell command on Mac Terminal to replace a string. I want to replace the field - PRODUCT_BUNDLE_IDENTIFIER = com.example.71...
Scabby asked 2/10, 2015 at 15:14

1

I have created an app with settings bundle in it and the app configuration can be changed. Reading from Settings bundle is done. I am using below code. let defs: NSUserDefaults = NSUserDefaults.s...
Glad asked 18/9, 2015 at 6:33

1

Solved

I've setup OTA for my organization, but can't seem to get it working. Here's what I've done: Setup an externally recognized SSL certificate on the hosting server Ensured the following MIME Types ...
Mcnamara asked 13/9, 2015 at 20:52

5

Solved

I'm trying to load my array from an array in my .Plist but its not working. The plist looks like this: This is the code I'm using: NSString *path = [[NSBundle mainBundle]pathForResource:@"Dise...
Donata asked 8/8, 2011 at 1:31

2

Solved

I installed NGINX with homebrew then I got info and followed the instructions to load the launchd plist $ brew info nginx nginx: stable 1.6.2, devel 1.7.7, HEAD ... To load nginx: launchctl load ...
Wenn asked 18/12, 2014 at 18:53

9

Solved

I will be storing a few strings (maybe 10-20). I am not sure if I should use NSUserDefaults to save them, or write them out to a plist. What is considered best practice? NSUserDefaults seems like i...
Fatten asked 14/8, 2011 at 18:37

3

Solved

I would like to add a new item to the Finder sidebar. I found out that the Finder keeps the list of "places" in `~/Library/Preferences/com.apple.sidebarlists.plist. I was able to read the file usin...
Linzy asked 31/1, 2011 at 15:16

7

Solved

I have a pretty straightforward Excel spreadsheet, and I need to use the data in an iPhone app. The xls document has 6 columns, and > 200 rows. I would like to create a plist from the xls document...
Cyler asked 9/10, 2009 at 20:55

5

Solved

reading the doc from apple I need to create an ad-hoc distribution app, and to do so I need the entitlements.plist. when i create a new entitlement, the value "get-task-allow" is not present, so I ...
Nichol asked 11/6, 2010 at 9:10

5

Solved

in my project I'm pulling data from a .plist, more concretely from an NSDictionary. I init a dictionary with the contents of the .plist, which works well. When I then do NSArray *array = [dict al...
Hume asked 1/5, 2012 at 16:32

2

Solved

I have lost some data from my text files written in Textwrangler on Macbook Air. I have found some of them in file which have extension .plist. File is written in xml and looks like this: <?x...
Methylamine asked 16/12, 2014 at 16:27

6

Solved

In my iPhone app, I have large amount of data i.e. around 1000 pages of text. Where should I do to store them? Should I use plist or Sqlite Database table? Which of them would prove to b...
Hagridden asked 25/11, 2010 at 11:34

1

I am adding "Version Detail" in settings.bundle. What could be a better way to set that identifier, I have seen few do it through code other's use the run script with Plistbuddy. Is it like that i...
Electroacoustics asked 15/6, 2014 at 2:58

1

Solved

I'm trying to change the bundle identifier of my XCode project programmatically. $ /usr/libexec/PlistBuddy -c "Set :CFBundleIndentifier com.myIdentifier.appName" MyApp-Info.plist But I keep g...
Gooseherd asked 19/10, 2014 at 9:8

1

I've did this test project https://github.com/danielpetroianu/FileDeserializeBenchmarking to see what is the fastest way I can read a file from the app bundle and deserialize it. I was surprised t...
Columella asked 4/10, 2014 at 12:51

3

Solved

i have a plist with some stored data and want to encrypt decrypt so it's not readable using objective c. i've read about AES encryption etc but i want the whole plist to be encrypted some how not t...
Chrysolite asked 12/12, 2012 at 15:51

4

Solved

I want to set some initial values for my NSUserDefault keys so that the first run of the app has some reasonable initial settings. I thought I ran across a simple way to do this in the app bundle ....
Perigee asked 12/12, 2011 at 12:1

2

Solved

I'm developing a small UITableView-based app in Swift. I started out hard-coding some basic arrays as such (included is the basic class declaration and the UITableView outlet declaration: import UI...
Refreshing asked 13/6, 2014 at 16:2

2

Solved

At the moment I'm using this code /usr/libexec/PlistBuddy -c "Set PreferenceSpecifiers:1:DefaultValue $productVersion" "Test/Settings.bundle/Root.plist" in script part of build phase to put pro...
Sacred asked 20/12, 2012 at 10:36

3

Solved

I have been using a plist to store data in my app. I have been able to write and read from the plist with no problem. I created this plist in Xcode, adding the rows of numbers, dictionaries, and ar...
Molini asked 23/1, 2012 at 22:28

1

I am having a hard time sifting through search results for how to do this and I can't find anything concrete in the documentation. I just want to download a file and store in the Documents director...
Sanitarium asked 23/11, 2013 at 6:10

© 2022 - 2024 — McMap. All rights reserved.