gary-archer / oauth.mobilesample.ios

Final OpenID Connect secured iOS Mobile Code Sample
MIT License
29 stars 1 forks source link

Command PhaseScriptExecution failed with a nonzero exit code on my MAC arm64 M1 #19

Closed yolepro closed 2 months ago

yolepro commented 2 months ago

I clone your repo and try to start your project using X-code on my Macbook M1 pro but it is not compiling and showing this message : Command PhaseScriptExecution failed with a nonzero exit code

Would you have any idea?

gary-archer commented 2 months ago

Hmm - don't think I can help you with that one. Feels like something environmental. I see some similar posts on that issue if I google online.

yolepro commented 2 months ago

I understand. I will try to fix it myself today and give you feedback if I find something.

yolepro commented 2 months ago

Finally I found the source of the problem which where related to the Run script Build phase. The swiftlint seems to be not understood. I just removed it, compile again and no more errors.