What does "Program ended with exit code: 0" mean in Xcode?

Hello,
I am fairly new to programming and I have received the error "Program ended with exit code: 0" in the last few programs I have created. It shows in the output windows after I have ran the program. What does this mean?

an exit code of 0 indicates no  error. If a program wants to indicate there was something wrong when it exited it will exit with a non-zero value.
What types of programs are you writing? Normally you see this for command line type programs.

Similar Messages

  • Can't Install Adobe Air "Runtime installer end with exit code 0"

    Can't get Adobe AIR to Install.  Any Suggestions?
    Windows 7 Home Premium
    Dell Inspiron
    [2012-01-26:09:32:07] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:07] Commandline is:
    [2012-01-26:09:32:07] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-01-26:09:32:09] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2012-01-26:09:32:09] Runtime Installer end with exit code 0
    [2012-01-26:09:32:09] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:09] Commandline is: -installupdatecheck
    [2012-01-26:09:32:09] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-01-26:09:32:10] Performing pingback request
    [2012-01-26:09:32:11] Pingback request completed with HTTP status 200
    [2012-01-26:09:32:11] Starting runtime background update check
    [2012-01-26:09:32:11] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update
    [2012-01-26:09:32:11] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update to C:\Users\MarkGrieseDellInspir\AppData\Roaming\Adobe\AIR\Updater\Background
    [2012-01-26:09:32:11] Runtime update not available
    [2012-01-26:09:32:11] Unpackaging cancelled
    [2012-01-26:09:32:11] Runtime Installer end with exit code 0
    [2012-01-26:09:32:17] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:17] Commandline is: -arp:uninstall
    [2012-01-26:09:32:17] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-01-26:09:32:19] Relaunching with elevation
    [2012-01-26:09:32:19] Launching subprocess with commandline c:\program files (x86)\common files\adobe air\versions\1.0\resources\adobe air updater.exe -eu
    [2012-01-26:09:32:19] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:19] Commandline is: -stdio \\.\pipe\AIR_2360_0 -eu
    [2012-01-26:09:32:19] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-01-26:09:32:19] Starting runtime uninstall. Uninstalling runtime version 3.1.0.4880
    [2012-01-26:09:32:19] Uninstalling product with GUID {FE23D063-934D-4829-A0D8-00634CE79B4A}
    [2012-01-26:09:32:20] Runtime Installer end with exit code 0
    [2012-01-26:09:32:20] Elevated install completed
    [2012-01-26:09:32:20] Runtime Installer end with exit code 0
    [2012-01-26:09:32:35] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:35] Commandline is:
    [2012-01-26:09:32:35] No installed runtime detected
    [2012-01-26:09:32:39] Relaunching with elevation
    [2012-01-26:09:32:39] Launching subprocess with commandline c:\users\markgr~1\appdata\local\temp\air6613.tmp\adobe air installer.exe -ei
    [2012-01-26:09:32:41] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:41] Commandline is: -stdio \\.\pipe\AIR_2720_0 -ei
    [2012-01-26:09:32:41] No installed runtime detected
    [2012-01-26:09:32:42] Starting silent runtime install. Installing runtime version 3.1.0.4880
    [2012-01-26:09:32:42] Installing msi at c:\users\markgr~1\appdata\local\temp\air6613.tmp\setup.msi with guid {FE23D063-934D-4829-A0D8-00634CE79B4A}
    [2012-01-26:09:32:43] Runtime Installer end with exit code 0
    [2012-01-26:09:32:43] Elevated install completed
    [2012-01-26:09:32:44] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2012-01-26:09:32:44] Runtime Installer end with exit code 0
    [2012-01-26:09:32:44] Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
    [2012-01-26:09:32:44] Commandline is: -installupdatecheck
    [2012-01-26:09:32:44] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-01-26:09:32:45] Performing pingback request
    [2012-01-26:09:32:45] Pingback request completed with HTTP status 200
    [2012-01-26:09:32:45] Starting runtime background update check
    [2012-01-26:09:32:45] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update
    [2012-01-26:09:32:45] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update to C:\Users\MarkGrieseDellInspir\AppData\Roaming\Adobe\AIR\Updater\Background
    [2012-01-26:09:32:45] Runtime update not available
    [2012-01-26:09:32:45] Unpackaging cancelled
    [2012-01-26:09:32:45] Runtime Installer end with exit code 0

    I ran across a suggestion here:  http://kb2.adobe.com/cps/403/kb403150.html  that sent me to a Microsoft fix here:  http://support.microsoft.com/mats/Program_Install_and_Uninstall/en-us.  That seemed install.  It seems to run Adobe Air Launchpad.  That's all I know so far.  Still learning all this.

  • Application Installer end with exit code 7

    Hi guys, Iam installer a application the third party designer Is EMC backup sizer, and when I proceded to install exit code error #0
    How I will can resolve this? thanks
    [2013-01-23:10:22:34] Application Installer begin with version 3.5.0.1060 on Windows 7 x86
    [2013-01-23:10:22:34] Commandline is: "C:\Users\Cesar\Desktop\Avamar 6.0\ebss_install_V5.6.0.air"
    [2013-01-23:10:22:34] Installed runtime (3.5.0.1060) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-01-23:10:22:34] Unpackaging file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air to C:\Users\Cesar\AppData\Local\Temp\fla9E9F.tmp
    [2013-01-23:10:22:37] Application signature verified
    [2013-01-23:10:22:37] Unpackaging/validation complete
    [2013-01-23:10:22:37] No app located for appID 'com.emc.Sizer' and pubID ''
    [2013-01-23:10:23:20] Converting unpackaged application to a native installation package in C:\Users\Cesar\AppData\Local\Temp\fla5090.tmp
    [2013-01-23:10:23:22] Native installation package creation succeeded
    [2013-01-23:10:23:22] Starting app installation to D:\EMC. Installing app com.emc.Sizer version v5.6.0 using the source file at file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air
    [2013-01-23:10:23:22] Installing msi at C:\Users\Cesar\AppData\Local\Temp\fla5090.tmp\setup.msi with guid {7DE25154-1962-05E6-0AAD-A408D8F62A84}
    [2013-01-23:10:23:25] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2013-01-23:10:23:25] Rolling back install of C:\Users\Cesar\AppData\Local\Temp\fla5090.tmp\setup.msi
    [2013-01-23:10:23:25] Rollback complete
    [2013-01-23:10:23:25] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2013-01-23:10:23:25] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer -runtime "c:\Program Files (x86)\Common Files" -silent -logToStdout -url -location D:\EMC -desktopShortcut -programMenu file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air
    [2013-01-23:10:23:25] Relaunching with elevation
    [2013-01-23:10:23:30] Application Installer begin with version 3.5.0.1060 on Windows 7 x86
    [2013-01-23:10:23:30] Commandline is: -stdio \\.\pipe\AIR_2688_0 -runtime "c:\Program Files (x86)\Common Files" -silent -logToStdout -url -location D:\EMC -desktopShortcut -programMenu file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air
    [2013-01-23:10:23:30] Installed runtime (3.5.0.1060) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-01-23:10:23:31] Unpackaging file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air to C:\Users\Cesar\AppData\Local\Temp\fla7A5D.tmp
    [2013-01-23:10:23:32] Application signature verified
    [2013-01-23:10:23:32] Unpackaging/validation complete
    [2013-01-23:10:23:32] No app located for appID 'com.emc.Sizer' and pubID ''
    [2013-01-23:10:23:32] Converting unpackaged application to a native installation package in C:\Users\Cesar\AppData\Local\Temp\fla8160.tmp
    [2013-01-23:10:23:34] Native installation package creation succeeded
    [2013-01-23:10:23:34] Starting silent app installation to D:\EMC. Installing app com.emc.Sizer version v5.6.0 using the source file at file:///C:/Users/Cesar/Desktop/Avamar%206.0/ebss_install_V5.6.0.air
    [2013-01-23:10:23:34] Installing msi at C:\Users\Cesar\AppData\Local\Temp\fla8160.tmp\setup.msi with guid {7DE25154-1962-05E6-0AAD-A408D8F62A84}
    [2013-01-23:10:23:34] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2013-01-23:10:23:34] Rolling back install of C:\Users\Cesar\AppData\Local\Temp\fla8160.tmp\setup.msi
    [2013-01-23:10:23:34] Rollback complete
    [2013-01-23:10:23:34] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2013-01-23:10:23:34] Elevated install failed: error 0 1603
    [2013-01-23:10:23:35] Application Installer end with exit code 7
    [2013-01-23:10:23:37] Application Installer end with exit code 7

    I'm not certain that Mageia 2 Linux is supported.  This Release Notes page and this Install Help page don't mention Mageia, just
    Fedora Core 12, Ubuntu 9.10, OpenSUSE 11.2.
    Roy

  • Error Message: External program terminated with exit code 2

    Hi ALL
    We are doing REORG tablespace in DB13 and i am getting below error message. Please help us to resolve the issue.
    20100430     113234     DB6PM     000     Reorg_Tbspc:Command DB6CLP failed on server
    20100430 103959 DB6PM 000 Reorg_Tbspc:Exitcode:Error
    20100430 103959 DB6PM 000 Reorg_Tbspc:ERRORMESSAGE: An SQL error occured. Will print output of the command
    20100430 103959 DB6PM 000 Reorg_Tbspc:External program terminated with exit code 2
    20100430 103959 DB6PM 000 REASON=C call failed
    Regards
    K.Gunasekar
    Edited by: KGUNASEKAR on Apr 30, 2010 6:55 AM

    Exitcode 2, if returned from the OS, means "No such file or directory". Note that as of SAP kernel release 7, you usually do not have DB6CLP any more. Can you check if the executable is available in the SAP exe directory ?
    If running SAÜ kernel 700 or higher, I suggest to apply a recent SP level.
    Malte

  • Transport control program ended with return code 208

    hi all please give me the solution for the transport control program ended with return code 208
    after the request released

    Hi,
    Please check the transport log at OS level. below is the path
    /usr/sap/trans/log.
    You can also check from SAP level. After the transport is import go log button in the STMS_IMPORT tcode  >>> expand all the possible values... you can find the exact reason why the transport ended with error.
    And also plesae check if nay entry exits in TRBAT table .
    Thanks,
    Phani.

  • FUNCTION SXPG_COMMAND_EXECUTE External program terminated with exit code 2

    HI,
    I am using the below Function Module
    gv_ap = '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox'
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'                 
          EXPORTING                                       
               commandname                   = 'Z_LS'     
               additional_parameters         = gv_ap      
          TABLES                                          
               exec_protocol                 = t_fich     
          EXCEPTIONS                                      
               no_permission                 = 1          
               command_not_found             = 2          
               parameters_too_long           = 3          
               security_risk                 = 4          
               wrong_check_call_interface    = 5          
               program_start_error           = 6          
               program_termination_error     = 7          
               x_error                       = 8          
               parameter_expected            = 9          
               too_many_parameters           = 10         
               illegal_command               = 11         
               wrong_asynchronous_parameters = 12         
               cant_enq_tbtco_entry          = 13         
               jobcount_generation_error     = 14         
               OTHERS                        = 15.        
    with this folder '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox' return the error:
    /nfs/ficheiros/FicheiroExtraccaoSIF/outbox not found and
    External program terminated with exit code 2
    but if i map other directory the function return the files and folders that directory have.
    Anyone could help me.
    Thanks and Regards.
    Eduardo Paiva

    Hi,
    Yes i have read access to this directory and the command 'Z_LS' exists.
    Best Regards,
    Eduardo Paiva

  • Program terminated with exit code 84

    Hi All,
    We are facing a issue in Production.
    The scheduled jobs for today did not start today
    Using export execution command we have exported the jobs and on completion of the first job we call the second one using the below command in script      
    //Example
    exec('E:
    Program Files
    Business Objects
    BusinessObjects Data Services
    log
    JOB_STAGING_TO_ODS.bat','',1);
    As the schedule did not start the first job today we manually executed the first job , while calling the next job is sequence using the above command we received an error message as stated below
    Program terminated with exit code <84>.
    We have gone live with these jobs for few weeks now.
    It was running fine until today.
    we dont see a problem with the script.
    If this the problem with access revoked to execute a batch file or something of that sort?
    Request all your help in this regard.
    Thanks in advance

    Was this issue resolved for you?
    We are also facing a similar kind of issue..
    Job not executing when scheduled and not able to execute the job using exec command..
    When used print command on the exec, we received the same error message "not able to execute the job" with the same exit code 84..
    Can you please advice us on the same?
    Thanks in Advance!

  • Tranport control program ended with return code 0012

    Hi,
    When i realesed the associate transport request it went very well. Then when i try to run orginal transport request number it iam getting message as tranport control program ended with return code 0012.
    Regards,
    Asif

    Hi Asif,
    There can be many reasons behind that, check the logs file in \usr\sap\trans\log
    Check whether you have free space or not.  Check in for permission for request in data and cofiles folder.
    Check background jobs related to transport.
    Cheers
    Deepanshu

  • What does the folder with a question mark mean?

    When I power on my black Macbook a white screen appears with a folder with a question mark flashing. what does the folder with a question mark mean? I just replaced the hard drive. When I put the install disc in the cd drive makes a very loud whirring noise then eventually the disc pops back out. Any ideas?

    You will need to reinstall:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • Tp program ended with error code 0012

    during export client from PRD to QAS i got the following error
    3 ETA072 Exit program "CLIENTCOPY_SELECT_TEXTID_ALL" successfully executed "20:13:54"
    2 ETA090 Command file for "tp" is written under: "PRDKT00029" "20:25:04"
    2 ETA091 For client transport, "        55,612" entries entered in command file
    2 ETA090 Command file for "tp" is written under: "PRDKX00029" "20:25:04"
    2 ETA091 For client transport, "           419" entries entered in command file
    2 ETA375 Transport program TP started successfully for "PRDKX00029" "20:25:05"
    1 EXT200 Transport control program tp ended with error code "0012""A tool used by tp aborted""EXPORT PRDKT00029 client500 U18 pf=/usr/sap/tr
    1 ETA377 Error exporting request "PRDKT00029" "20:54:04"
    1 ETA146 Program ended with error or warning, return code: "F"
    1 ETA027 Runtime (seconds)         : "         2,455"
    1 ETA152 End of processing: "20:54:04"
    any can help me
    Thanks

    Hi Ehab,
    Yes !..
    ALOG and SLOG can help analyze the problem and provide you the possible solution...
    Make sure that you are using updated KERNEL and TP program before exporting the client..
    Regards.
    Rajesh Narkhede

  • What does a triangle with an exclamation mark mean?

    In Photos I see a thumbnail. When I click to see it alone I get a black screen with a triangle with an exclamation mark in it...what is going on?

    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • What does a folder with a question mark mean?

    When starting up my computer I get a folder with a question mark inside. How can I fix this problem?

    There are four general causes of this issue:
    1. The computer's PRAM no longer contains a valid startup disk setting when there aren't any problems with the disk itself. This can be checked for by pressing the Option key and seeing if the drive appears.
    2. The internal drive's directory structure has become damaged. This requires usage of an alternate bootable system to perform the repair.
    3. Critical system files have been deleted. This requires usage of an alternate bootable system to reinstall them.
    4. The internal drive has died or become unplugged. This is the most likely case if the computer took a sharp impact or there are unusual sounds coming from the hard drive's location.
    (67155)

  • What does the cloud with a downward arrow mean?

    Every morning i have a coloud with a downward arrow by a song. Sometimes it won't even let me play the song. I have synced my ipod touch and ipone to my laptop and songs are synced. But then randomly i can't play the ones that have the cloud with arrow. any suggestions?

    It means the song was previously purchased from the iTunes store and is available for redownload.  It won't play because it hasn't yet been downloaded.  You can hide this by going to Settings>iTunes & App Store and turning Music off under Show All.
    This should only happen with songs that are not stored on your iPod.  If you synced music is somehow being deleted from your iPod you might want to post a question over in the iPod Touch forum because this shouldn't be happening.

  • SM69 error-Can't exec external program (Permission denied).with exit code 1

    Hi All,
    I am trying to execute UNIX script via creating commend line in SM69.
    But i am getting following error:
    "Can't exec external program (Permission denied)
    External program terminated with exit code 1"
    Can any one guide me what could be the cause of this error.
    Any Help will be appreciated.
    Thanks & Regards

    First use SU53, to see if you have all SAP-authoritys.
    But I think, you have no authority to execute UNIX-programs.
    or your UNIX-script is not executable?

  • Tp ended with error code 0247 - addtobuffer has problems with data- and/or

    Hello Experts,
    If you give some idea, it will be greatly appreciated.
    This transported issue started coming after power outage, sap system went hard shutdown.
    Then we brought up the system. Before that , we do not have this transport issue.
    our TMS landscape is
    DEV QA-PRD
    SED-SEQSEP
    DEV is having the TMS domain controller.
    FYI:
    *At OS level, when we do scp command using root user, it is fine for any TR.
    In STMS, while adding TR in SEQ(QA system), we  are getting error like this.
    Error:
    Transport control program tp ended with error code 0247
         Message no. XT200
    Diagnosis
         An error occurred when executing a tp command.
           Command:        ADDTOBUFFER SEDK906339 SEQ client010 pf=/us
           Return code:    0247
           Error text:     addtobuffer has problems with data- and/or
           Request:        SEDK906339
    System Response
         The function terminates.
    Procedure
         Correct the error and execute the command again if necessary.
    This is tp version 372.04.71 (release 700, unicode enabled)
    Addtobuffer failed for SEDK906339.
      Neither datafile nor cofile exist (cofile may also be corrupted).
    standard output from tp and from tools called by tp:
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0247

    when we do scp using sm69,
    SEDADM@DEVSYS:/usr/sap/trans/cofiles/K906339.SED SEQADM@QASYS:/usr/sap/trans/cofiles/.
    it throws the error like below,
    Host key verification failed.
                                                                                    External program terminated with exit code 1
    Thanks
    Praba

Maybe you are looking for