The path to build the simulator

How to find the location of the directory in which we place the simulator assembly? In my system, the way Library/Application Support/iPhone Simulator/5.0/Applications. What will be the path on a foreign system?

+5
source share
5 answers

You can find the Derived Data folder on the Projects tab in the Organizer . Xcode includes index, assembly output, and logs. Thus, you can find there a built-in binary file for Simulator and for iOS devices. You can open this folder by right-clicking on the device assembly and choosing Show in Finder .

, , - , Xcode , . .

+8

$user $/Library/ /iPhone Simulator/5.0/. , :

NSString *outputPath = [[NSString alloc] initWithFormat:@"%@", [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]];

"" .

+5

NSLog(@"%@", NSHomeDirectory());

[NSHomeDirectory() stringByAppendingPathComponent: @"Documents"];
+1

po NSHomeDirectory() , po NSHomeDirectory() po NSHomeDirectory()

enter image description here

+1

" "

-1

All Articles