XcodeWay icon indicating copy to clipboard operation
XcodeWay copied to clipboard

Showing All Messages :-1: cp: /Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions: No such file or directory

Open Signify opened this issue 7 years ago • 3 comments

Hello,

I am getting the following error when trying to archive your Mac application target:

:-1: cp: /Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions: No such file or directory

Command PhaseScriptExecution failed with a nonzero exit code

Any ideas on how to fix?

Signify avatar Feb 14 '19 14:02 Signify

Hi @Signify did you find any solution for this, even I am facing the same issue . Just above this error message I see below line

/bin/sh -c /Users/syamala/Library/Developer/Xcode/DerivedData/XcodeWay-abkryidabvzfpraclujcofmgspwr/Build/Intermediates.noindex/XcodeWay.build/Debug/XcodeWayExtensions.build/Script-D2B221991F976DF500C45949.sh

When I open this it is

cp "${SRCROOT}/XcodeWayExtensions/Script/XcodeWayScript.scpt" "/Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions"

Issue here is that destination is hardcoded "/Users/khoa/Library/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions"

Even I change it , it is being getting overridden.

If you find any solution please share it with me , Thanks

SyamalaHari avatar Mar 04 '19 06:03 SyamalaHari

Open this file XcodeWay-master/./XcodeWay.xcodeproj/project.pbxproj Search for "khoa" and replace with your home folder name

Issue resolved for me @Signify

SyamalaHari avatar Mar 04 '19 09:03 SyamalaHari

This is what the script really needs to be:

cp "${SRCROOT}/XcodeWayExtensions/Script/XcodeWayScript.scpt" "${USER_LIBRARY_DIR}/Application Scripts/com.fantageek.XcodeWayApp.XcodeWayExtensions"

sendtobo avatar Apr 12 '19 22:04 sendtobo