I\'m new to mac & xcode. Please tell me the procedure for iphone .xcodeproject outside xcode IDE for below tasks:
enter link description hereI know how to build and create .app file from out side Xcode i.e. with terminal. Open the terminal and go the specific folder where the project is created and use this command..
xcodebuild -workspace 'WORKSPACENAME.xcworkspace' -scheme 'APPNAME' -configuration "Debug" -sdk iphoneos6.0 -arch "armv7 armv7s" CONFIGURATION_BUILD_DIR='OUTPUT_DIRECTORY'
if you have static library attached to the project then
xcodebuild -workspace 'WORKSPACENAME.xcworkspace' -scheme 'APPNAME_LIB' -configuration "Debug-iphoneos" -sdk iphoneos6.0 -arch "armv7 armv7s" CONFIGURATION_BUILD_DIR='OUTPUT_DIRECTORY'
xcodebuild -workspace 'WORKSPACENAME.xcworkspace' -scheme 'APPNAME_LIB' -configuration "Debug" -sdk iphoneos6.0 -arch "armv7 armv7s" CONFIGURATION_BUILD_DIR='OUTPUT_DIRECTORY'
also here is some useful links..
> [https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html][2]
> [https://stackoverflow.com/questions/947317/can-i-install-an-app-to-the-simulator-without-the-source-code][3]
> [https://stackoverflow.com/questions/517463/how-can-i-install-a-ipa-file-to-my-iphone-simulator][4]