Deploy software to mac failing

i added the install dmg file and created the package but it keeps failing and i cannot find the log files

Completed // ---------------------------------------------EDITING INSTRUCTIONS--------------------------------------------------------------------- 
Completed // When editing this task through the Manage Software Distribution Packages dashboard, you will have the option to preserve any custom edits you make to this action. 
Completed // If you select the option to preserve custom edits, only areas bound by the comment markers 'Preparation Marker', 'Command Marker' and 'Closing Marker' are updated. 
Completed // To ensure that all your custom Action Script changes can be preserved, only make changes to areas that are not bound by the comment markers. 
Completed // Removing the comment markers may result in the Action Script not updating correctly during the next edit. 
Completed // See KB Article swg21668807 (http://www-01.ibm.com/support/docview.wss?uid=swg21668807) for more information. 
Completed // -------------------------------------------------------------------------------------------------------------------------------------- 
Completed //**Begin Preparation Marker 
Completed // Download all specified files 
Completed begin prefetch block 
Completed add prefetch item name=3C0173EE76EFB3F622C38363C9D02F8F52D96EE4 sha1=3c0173ee76efb3f622c38363c9d02f8f52d96ee4 size=46940839 url=SWDProtocol://127.0.0.1:52311/Uploads/3C0173EE76EFB3F622C38363C9D02F8F52D96EE4/CentrifyDC-5.3.1-mac10.9.dmg.bfswd sha256=c3afb52de175c09a0f03cbcc2f3bebe96cc108d26d9d6bda97028d60d589ec6c 
Completed end prefetch block 
Completed // All SWD files will go into a folder in the clients __BESData folder. This folder gets cleared on every restart. 
Completed parameter "baseFolder" = "__Download/" 
Completed // Move files into subfolders and unescape file names 
Completed move "__Download/3C0173EE76EFB3F622C38363C9D02F8F52D96EE4" "{parameter "baseFolder"}CentrifyDC-5.3.1-mac10.9.dmg" 
Completed // Log setup 
Completed parameter "mainSWDLogFolder" = "{parent folder of client folder of current site}/__Global/SWDDeployData" 
Completed folder create "{parameter "mainSWDLogFolder"}" 
Completed parameter "logFile" = "_Centrify.log" 
Completed parameter "mainSWDLogFile" = "SWD_DeploymentResults.log" 
Completed parameter "backupSWDLogFile" = "_Centrify.log.backup" 
Completed if {exists file (parameter "logFile") of folder (parameter "mainSWDLogFolder")} 
Completed if {exists file (parameter "backupSWDLogFile") of folder (parameter "mainSWDLogFolder")} 
Completed if {name of operating system as lowercase starts with "win"} 
Completed waithidden cmd /C type "{parameter "mainSWDLogFolder"}\{parameter "logFile"}" >> "{parameter "mainSWDLogFolder"}/{parameter "mainSWDLogFile"}" 
Completed else 
Completed wait {"/bin/sh -c %22cat '" & (parameter "mainSWDLogFolder") & "/" & (parameter "logFile") & "' >> '" & (parameter "mainSWDLogFolder") & "/" & (parameter "mainSWDLogFile") & "'%22"} 
Completed endif 
Completed endif 
Completed if {name of operating system as lowercase starts with "win"} 
Completed waithidden cmd /C type "{parameter "mainSWDLogFolder"}\{parameter "logFile"}" >> "{parameter "mainSWDLogFolder"}/{parameter "backupSWDLogFile"}" 
Completed else 
Completed wait {"/bin/sh -c %22cat '" & (parameter "mainSWDLogFolder") & "/" & (parameter "logFile") & "' >> '" & (parameter "mainSWDLogFolder") & "/" & (parameter "backupSWDLogFile") & "'%22"} 
Completed endif 
Completed delete "{parameter "mainSWDLogFolder"}/{parameter "logFile"}" 
Completed endif 
Completed //**End Preparation Marker 
Completed wait sh -c "echo $(date +%Y_%m_%d' '%T) >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'" 
Completed wait sh -c "echo Action ID: {id of active action} >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'" 
Completed wait sh -c "rm '/tmp/CentrifyDC-5.3.1-mac10.9.dmg' >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1" 
Completed move "{posix path of file "CentrifyDC-5.3.1-mac10.9.dmg" of folder "__Download" of client folder of current site}" "/tmp/CentrifyDC-5.3.1-mac10.9.dmg" 
Completed wait sh -c "hdiutil attach -quiet -private -mountpoint '/tmp/BESMNTPT1471954075067945' '/tmp/CentrifyDC-5.3.1-mac10.9.dmg' >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1" 
Completed if {not active of action OR (exists file whose (name of it ends with ".mpkg" OR name of it ends with ".pkg") of it) of folder ("/tmp/" & "BESMNTPT1471954075067945")} 
Completed wait installer -pkg "{(if (exists file whose (name of it ends with ".mpkg") of it) then (pathname of file whose (name of it ends with ".mpkg") of it) else (pathname of file whose (name of it ends with ".pkg") of it)) of folder ("/tmp/" & "BESMNTPT1471954075067945") }" -target / >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed elseif {exists folder whose (name of it ends with ".app" AND exists folder "Contents" whose (exist file "PkgInfo" whose (exists line whose (it = "APPLVISX") of it) of it) of it) of folder ("/tmp/" & "BESMNTPT1471954075067945")} 
Completed appendfile tell application "{name of folder whose (name of it ends with ".app") of folder ("/tmp/" & "BESMNTPT1471954075067945")}" 
Completed appendfile DoInstall 
Completed appendfile quit 
Completed appendfile end tell 
Completed wait /bin/sh -c "iconv -f UTF-8 -t macintosh {concatenation "\ " of substrings separated by " " of pathname of client folder of current site}/__appendfile > {concatenation "\ " of substrings separated by " " of pathname of client folder of current site}/doinstall.txt" >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed run "{posix path of framework folder & "/Carbon.framework/Versions/Current/Support/LaunchCFMApp"}" "{(pathname of parent folder of it & "/" & name of it & "/Contents/MacOSClassic/" & preceding text of first ".app" of name of it) of folder whose (name of it ends with ".app") of folder ("/tmp/" & "BESMNTPT1471954075067945")}" >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed wait /bin/sh -c "osascript {concatenation "\ " of substrings separated by " " of pathname of client folder of current site}/doinstall.txt" >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed elseif {exists folder whose (name of it ends with ".app") of folder ("/tmp/" & "BESMNTPT1471954075067945")} 
Completed wait sh -c "cp -Rfp /tmp/BESMNTPT1471954075067945/*.app /Applications >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1" 
Completed else 
Completed wait cp -Rpn /tmp/BESMNTPT1471954075067945/* /Applications >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed endif 
Completed wait /bin/sh -c "hdiutil detach -force `mount | grep /tmp/BESMNTPT1471954075067945 | cut -f 1 -d \ | cut -f 3 -d / | head -1`" >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}' 2>&1 
Completed wait sh -c "echo >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'" 
Completed wait sh -c "rm '/tmp/CentrifyDC-5.3.1-mac10.9.dmg'" 
Completed //**Begin Closing Marker 
Completed // Get the return code of the previous action. 
Completed parameter "returnCode" = "{exit code of action}" 
Completed // Log cleanup 
Completed if {name of operating system as lowercase starts with "win"} 
Completed waithidden cmd /C type "{parameter "mainSWDLogFolder"}\{parameter "logFile"}" >> "{parameter "mainSWDLogFolder"}/{parameter "mainSWDLogFile"}" 
Completed else 
Completed wait {"/bin/sh -c %22cat '" & (parameter "mainSWDLogFolder") & "/" & (parameter "logFile") & "' >> '" & (parameter "mainSWDLogFolder") & "/" & (parameter "mainSWDLogFile") & "'%22"} 
Completed endif 
Completed if {exists file (parameter "backupSWDLogFile") of folder (parameter "mainSWDLogFolder")} 
Completed if {name of operating system as lowercase starts with "win"} 
Completed waithidden cmd /C type "{parameter "mainSWDLogFolder"}\{parameter "logFile"}" >> "{parameter "mainSWDLogFolder"}/{parameter "backupSWDLogFile"}" 
Completed else 
Completed wait {"/bin/sh -c %22cat '" & (parameter "mainSWDLogFolder") & "/" & (parameter "logFile") & "' >> '" & (parameter "mainSWDLogFolder") & "/" & (parameter "backupSWDLogFile") & "'%22"} 
Completed endif 
Completed delete "{parameter "mainSWDLogFolder"}/{parameter "logFile"}" 
Completed move "{parameter "mainSWDLogFolder"}/{parameter "backupSWDLogFile"}" "{parameter "mainSWDLogFolder"}/{parameter "logFile"}" 
Completed endif 
Completed //start log upload 
Completed folder create "{parameter "mainSWDLogFolder"}/LogsToBeUploaded" 
Completed delete "{parameter "logFolder"}/LogsToBeUploaded/{parameter "logFile"}" 
Failed move "{parameter "mainSWDLogFolder"}/{parameter "logFile"}" "{parameter "mainSWDLogFolder"}/LogsToBeUploaded/{parameter "logFile"}" 
 // set max size to 1048576 to prevent too much data. If the zip file is to bigger than 1MB the upload won't occur 
 setting "_BESClient_ArchiveManager_MaxArchiveSize"="1048576" on "{parameter "action issue date" of action}" for client 
 setting "_BESClient_ArchiveManager_OperatingMode"="2" on "{parameter "action issue date" of action}" for client 
 // set the log file to upload 
 // Everything after the dash (-) is used as the default prefix of the files as they are unpacked on the root server. If nothing is specified after dash (-), the default tag 'dmp' is used. 
 // For more imformation, please see http://support.bigfix.com/product/documents/Upload_Manager_70_090602.pdf 
 setting "_BESClient_ArchiveManager_FileSet-SWD"="{parameter "logFolder"}/LogsToBeUploaded/*" on "{parameter "action issue date" of action}" for client 
 archive now 
 //end log upload 
 // Task will now exit. 
 exit {parameter "returnCode"} 
 //**End Closing Marker`indent preformatted text by 4 spaces`

The client logs will tell you why the move failed. It could be because the delete right above deletes a different “logfile” than the move? The move will be unable to move if the destination exists.

can you tell me where the log file is located on the mac

/Libraries/Application Support/BigFix/BES Agent/__BESData/__Global/Logs