Subscribe ( )

iPhone Programming Tutorials


 

Forum

You must be logged in to post Login Register

Search 

“Application Support” folder missing in app directory path

User Post

6:33 am
August 27, 2008


vashek

Noob

posts 1

1
HI All

i am trying to access application Directory through this snippet

NSArray *dirs = NSSearchPathForDirectoriesInDomains(NSApplicationS upportDirectory, NSUserDomainMask, YES);
NSString *appSupportFolderPath = [dirs objectAtIndex:0];
NSString *ourAppDirectoryName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@”CFBundleExecutable”];
ourAppDirectoryPath = [[NSString alloc] initWithString:[appSupportFolderPath stringByAppendingPathComponenturAppDirectoryName]];
NSLog(ourAppDirectoryPath);

Out Put
/Users/rajusb/Library/Application Support/iPhone Simulator/User/Applications/9552F49E-7506-4E33-81C1-8B2A1B6AE850/Library/Application Support/AEMSample

after running application on simulator i explored “Library” folder and i found that “Application Support” Directory was missing.

my question is whether i have to create “Application Support” and its sub folder “AEMSample”(Application Name) manually or is it an issue with an iphone simulator?

Search 

About the iCodeBlog forum

Most Users Ever Online:

44


Currently Online:

2 Guests

Forum Stats:

Groups: 2

Forums: 6

Topics: 419

Posts: 893

Membership:

There are 934 Members

There has been 1 Guest

There are 2 Admins

There is 1 Moderator

Top Posters:

bobcubsfan – 54

crazyiez – 30

Uhu – 17

AdeC – 17

Nick – 15

jitesh61 – 12

Administrators: Brandon (88 Posts), Collin (0 Posts)

Moderators: VertigoSol (26 Posts)



©   

  • Posted by on 6 Aug 2008 in Uncategorized
  •   |  
  •   |  
  •   |  
  • Comments Off

Comments are closed.