CocoaPods / CocoaPods/Xcodeproj

Xcode Unexpected Failure: realpath -mq not found on osx sonoma 14.2

Open
#928 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2.4k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

After updating OSX to Sonoma 14.2, and using pod **1.14.3**, Xcode compiles but then gets an error:

```
Unexpected failure
```

I tracked it down to a shell script generated from cocoa pods and this code:

```c
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
```

This file is under Pods/Target Support Files/Pods-MyApp/Pods-MyApp-resources.sh

## Although I don't know why on_error is called.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.