|Jun 29, 2011, 02:37 PM||#1|
How do I Change the File System in XCode
My Application was rejected anyone know how do i change the file access read and write in XCode 4
Heres what apple said
2.30 Apps that do not comply with the Mac OS X File System documentation will be rejected
Jun 29, 2011 08:35 AM. From Apple.
The application is creating files in, writing to, or opening for Read/Write access the following location:
|Jun 29, 2011, 03:22 PM||#2|
Here is the applicable standard. Not sure exactly what they are complaining about. There's no specific mention that applications should not write to this directory, though there's some implication that perhaps this is to be used only for files that are put there at installation time.
Perhaps you've run afoul of the naming convention. If your application is not called "Law Documents", then that's likely the problem. Also, if you plan on coming out with additional applications, you probably should use your company name in the path. Something like:
~/Library/Application Support/My Company/My App/Law Documents
If these are files that your user creates, they almost certainly belong instead in:
~/Documents/My Company/My App/ or perhaps
~/Documents/My Company/My App/Law Documents
(The latter if your app creates some OTHER kind of documents as well).
As to the XCode 4 "how" (and the question you posed is really a meaningless question. There's no way to do this "in XCode 4". "In Objective-C", or "in C++", or "in Perl" makes sense... Xcode is just a project management and code editing tool...) how did you write them where you are writing them in the first place?
What Apple is saying is "write them somewhere else, not here!"
|Jun 29, 2011, 04:58 PM||#3|
If you don't want to allow your users to save their files where they choose, then don't store them in ~/Documents.
|Jun 29, 2011, 08:09 PM||#5|
Is LwaDocuments a file or folder? Can you post the relevant code that creates it?
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How do I change the picture size in OS X?||rfrankl||OS X||9||Feb 10, 2012 12:22 PM|
|How do I change the file path for iTunes?||Advance The Man||Mac Applications and Mac App Store||0||Mar 16, 2009 11:27 PM|
|how do I change the icon order in the home screen?||copperz||Jailbreaks and iOS Hacks||4||Nov 30, 2008 02:16 PM|
|How do you change the font size in the web browser?||Anthony T||MacBook||5||Oct 17, 2008 02:21 PM|
|how do you change the iPod name in the top right corner of the touch||crshields90||iPod touch Hacks||2||Sep 24, 2008 01:29 AM|
All times are GMT -5. The time now is 01:59 AM.