Open
Description
Here is reproduce step:
- Rename xcode.app into others (e.g. xcode.app -> xcode10.app).
- Run
pod install
with a project.
Example project:
https://drive.google.com/open?id=1g7Wl0rBAP9n2SupH_ow1mNkBXkjwMf_A
- Log message
🚀 Prebuild frameworks
Analyzing dependencies
Downloading dependencies
Installing Kingfisher (5.4.0)
Installing NVActivityIndicatorView (4.8.0)
Installing PromiseKit (6.8.4)
Installing lottie-ios (3.1.1)
Generating Pods project
Sending stats
Prebuild frameworks (total 4)
Prebuilding Kingfisher...
[!] Automatically assigning platform `ios` with version `12.1` on target `BinaryDemo` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
As you see, it will pre-build first module then stopped silently.
It should be print some error message.
Why I found this bug?
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
$ pod env | egrep 'CocoaPods |Xcode|cocoapods-binary'
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
CocoaPods : 1.7.5
Xcode : ()
cocoapods-binary : 0.4.4
plugin "cocoapods-binary"
Run sudo xcode-select --switch path/to/Xcode.app
and solve the problem.
Metadata
Metadata
Assignees
Labels
No labels