ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
16 stars 13 forks source link

XCode Archive failes with Command PhaseScriptExecution failed with a nonzero exit code #23

Closed msarkrish closed 1 year ago

msarkrish commented 1 year ago

Hi ZegoCloud Team,

We are using zego_uikit, zego_uikit_prebuilt_call and zego_uikit_signaling_plugin in our mobile application which is created using flutter.

In iOS while trying to take build, we are facing this Command PhaseScriptExecution failed with a nonzero exit code.

While checking the log, I found that Xcode is pointing to path which doesn't exist.

image

Any one know how to fix this issue?

Thanks in advance.

yoer commented 1 year ago

The Xcode compilation is reporting that, your custom shell script [CP-User] download native dependency encountered an issue: /Users/xxx/Developer/T-EAM: no such file or directory.

msarkrish commented 1 year ago

Yes @yoer but that is a invalid path. I haven't mentioned this path any where in my project. Can you help me to resolve this issue?

yoer commented 1 year ago

try clean build plz

yoer commented 1 year ago

may be try search keyword in your project?

yoer commented 1 year ago

have you slove this problem?

yoer commented 1 year ago
image

image

yoer commented 1 year ago

Is the path to your project containing spaces or special characters? If so, please try using a path with regular words.

msarkrish commented 1 year ago

@yoer I will check this and let you know

loopstack33 commented 1 year ago

@yoer brother i am facing this same issue if [ -L "${source}" ]; then echo "Symlinked..." source="$(readlink -f "${source}")" fi

after editing changes it still causes build failed with same error

loopstack33 commented 1 year ago

it is causing issue in zego_express_engine also the latest zego_uikit_prebuilt_call: ^3.13.5 does not depends on latest zego_zpns 2.4.0+1 please fix that. As soon as possible can't run app on ios due to this issue.

dsadsad
loopstack33 commented 1 year ago

I am using Flutter 3.13.0 • channel stable My cocoa pods version cocoapods-1.12.1 latest version of ui_kit. the latest cocoapods version has already fixed this -f issue but still cannot run or build ios flutter app

yoer commented 1 year ago

if you not Disable the Bitcode, please follow this document disable it. OR if not Disable Build Libraries for Distribution, also follow the document to disable it.

and, check you project path, does it contain any empty characters or invalid characters?

After update project config or the path, try delete the "Pods" folder and "Podfile.lock" file, and then reinstall.

@loopstack33

loopstack33 commented 1 year ago

@yoer Thank you soo much really helped me out it fixed my problem.

msarkrish commented 1 year ago

Is the path to your project containing spaces or special characters? If so, please try using a path with regular words.

if you not Disable the Bitcode, please follow this document disable it. OR if not Disable Build Libraries for Distribution, also follow the document to disable it.

and, check you project path, does it contain any empty characters or invalid characters?

After update project config or the path, try delete the "Pods" folder and "Podfile.lock" file, and then reinstall.

@loopstack33

Thank you @yoer . With the help of above mentioned 2 comments issue get resolved.

msarkrish commented 1 year ago

My issue and @loopstack33 issue get resolved. so I'm closing this issue.