GetHomeDirectory()
GetHomeDirectory()
Ok, my app was just rejected because they said the default output was /Users/Guest/Desktop/. Which is set by GetHomeDirectory of course. On my system it returns /Users/jbaker/Desktop/ like it should. Why would it return guest? I'm assuming the tester person was signed on as a guest and didn't even use the option to change the directory as I did implement that in the app.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
- User
- Posts: 13
- Joined: Sat Mar 24, 2012 3:50 am
Re: GetHomeDirectory()
?????? WTF?
I'm also using this function and it works fine. Perhaps you should use the "Documents" our "user login" dir? (Yep it is stupid... but sometimes...)

I'm also using this function and it works fine. Perhaps you should use the "Documents" our "user login" dir? (Yep it is stupid... but sometimes...)
Re: GetHomeDirectory()
Yeah, I think the person testing the app just doesn't know what they're doing. I don't understand how people like this get positions they clearly are not qualified for. I guess I'll just have to wait for a response.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: GetHomeDirectory()
Hi J.Baker,
had the same problem with my latest App. I am waiting for approval atm.
The tester mailed me: Don't prefill the destination folder.
Actually, they did tell me /Users/guest/Documents was not appropriate. D'oh!
had the same problem with my latest App. I am waiting for approval atm.
The tester mailed me: Don't prefill the destination folder.
Actually, they did tell me /Users/guest/Documents was not appropriate. D'oh!
Regards,
JamiroKwai
JamiroKwai
-
- Enthusiast
- Posts: 356
- Joined: Thu Jul 02, 2009 5:42 am
Re: GetHomeDirectory()
You should sandbox your application, this will let you know if you
are using the correct directory for writing. This is also good practice
for the future.
I believe /Library/Container/Bundle Identifier/ is the proper place to write/read data for your program
if you are going to be distributing your apps to the app store.
are using the correct directory for writing. This is also good practice
for the future.
I believe /Library/Container/Bundle Identifier/ is the proper place to write/read data for your program
if you are going to be distributing your apps to the app store.
Re: GetHomeDirectory()
Yeah, I had it pre filled but the user also had the option to change it. Which whoever was testing didn't even try.jamirokwai wrote:Hi J.Baker,
had the same problem with my latest App. I am waiting for approval atm.
The tester mailed me: Don't prefill the destination folder.
Actually, they did tell me /Users/guest/Documents was not appropriate. D'oh!
Yeah I would do that but the app for app data but it doesn't export anything except for what is being converted for the user.spacebuddy wrote:You should sandbox your application, this will let you know if you
are using the correct directory for writing. This is also good practice
for the future.
I believe /Library/Container/Bundle Identifier/ is the proper place to write/read data for your program
if you are going to be distributing your apps to the app store.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: GetHomeDirectory()
Hi J.Baker,
Apple approved my App after all, needing 5 versions ...
I only had to remove the prefilled Home-Directory. The String-Gadget is empty now. What a mess
Apple approved my App after all, needing 5 versions ...
I only had to remove the prefilled Home-Directory. The String-Gadget is empty now. What a mess

Regards,
JamiroKwai
JamiroKwai
Re: GetHomeDirectory()
Glad to hear!jamirokwai wrote:Hi J.Baker,
Apple approved my App after all, needing 5 versions ...
I only had to remove the prefilled Home-Directory. The String-Gadget is empty now. What a mess
I just removed mine too and resubmitted. We'll see.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: GetHomeDirectory()
Good luckJ. Baker wrote:Glad to hear!jamirokwai wrote:Hi J.Baker,
Apple approved my App after all, needing 5 versions ...
I only had to remove the prefilled Home-Directory. The String-Gadget is empty now. What a mess
I just removed mine too and resubmitted. We'll see.

I am satisfied now, as I had 15 downloads in 3 days... Now for the 15 per day

Regards,
JamiroKwai
JamiroKwai
Re: GetHomeDirectory()
Awesome! 

www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.