问题
I have projects called A.xcodeproj, B.xcodeproj, C.xcodeproj
now what is question, in AppDelegate of Project A , open project B and C on condition.
int run;
run = 0;
if(run == 0)
{
Open project B.xcodeproj
}
else
{
Open project C.xcodeproj
}
Help
Thanks in Advance.
回答1:
on the command line use open
to OPEN and SHOW xcode..
so in your case, when run == 0
when you want to BUILD the xcode project, invoke xcodebuild
instead of open!..
so in your case, when run == 1
来源:https://stackoverflow.com/questions/24820384/how-to-open-xcodeproj-programmatically