-
Notifications
You must be signed in to change notification settings - Fork 207
Silent stop with no error message (xcode not properly configured) #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have the sane issue with Xcode 11.
|
have the same issue with XCode 10.3 if someone interested how to try it just add |
Same here. Can't build under Xcode 11 (and need to build with the Swift 5.1 compiler) and can't see the actual error. The PR mentioned by @zh-se doesn't work under Xcode 11 either. |
I know this makes no sense. |
I encounter another silent error. Please verbose the error. 😓 |
Any upadate on this? @leavez |
Have the same issue on Xcode11. |
So, this issue was only happening on my mac. We tested in other 5+ macs, and they all worked fine. Using that branch makes it so that the issue is not silent anymore, I started getting logs out of it. The issue was that the precompiler kept trying to build the frameworks using an invalid destination. I deleted the invalid destination from my mac until it automatically selected a valid one, and it then it worked. I don't know why it kept choosing an invalid one, though. My error specifically looked like this:
So as you can see, it says
I just opened Xcode device manager and deleted that given simulator. Hope this helps someone. |
It looks like bug in plugin. Guys, try to remove all old simulator runtimes from |
I can also confirm this PR fixes the issue: how to install: gem uninstall cocoapods-binary # Uninstall old version first
git clone https://github.com/AliSoftware/cocoapods-binary
cd cocoapods-binary
bundle install
gem build cocoapods-binary.gemspec
gem install cocoapods-binary-0.4.4.gem |
@atelaich I don't understand your question, #101 is an issue, not a PR, so the fix pointed by @mikumi message couldn't have been merged to #101 🤔 The fix described is open in this PR #73 and it's still open. I can attest that those changes fixed the issue for me in the project I work on. We've been using it in production for nearly a year now 👍 gem 'cocoapods-binary', github: 'AliSoftware/cocoapods-binary', branch: 'master' |
@rogerluan thanks for clarification. I wanted to ask if its merged to master. Never mind i got the answer. |
Here is reproduce step:
pod install
with a project.Example project:
https://drive.google.com/open?id=1g7Wl0rBAP9n2SupH_ow1mNkBXkjwMf_A
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
Run
sudo xcode-select --switch path/to/Xcode.app
and solve the problem.The text was updated successfully, but these errors were encountered: