IPhone - "Application Support" folder mis…
Imported from the Apple Support Forums via the Wayback Machine 🔗
HI All
i am trying to access application Directory through this snippet
NSArray *dirs = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
NSString *appSupportFolderPath = [dirs objectAtIndex:0];
NSString *ourAppDirectoryName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleExecutable"];
ourAppDirectoryPath = [[NSString alloc] initWithString:[appSupportFolderPath stringByAppendingPathComponent:ourAppDirectoryName]];
NSLog(ourAppDirectoryPath);
Out Put
/Users/rajusb/Library/Application Support/iPhone Simulator/User/Applications/9552F49E-7506-4E33-81C1-8B2A1B6AE850/Library/Applic ation 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?
2 replies
Sign in or join Beachball Help to reply.
- 0
- 0