cocoapods-binary icon indicating copy to clipboard operation
cocoapods-binary copied to clipboard

Cannot prebuild when the path contains spaces

Open antonino-u opened this issue 5 years ago • 5 comments

Thanks for your feedback!

If it's a bug:

  • What's your environment:
    • run pod env | egrep 'CocoaPods |Xcode|cocoapods-binary' then paste the result here

CocoaPods : 1.7.5 Xcode : 10.3 (10G8) cocoapods-binary : 0.4.4 plugin 'cocoapods-binary'

  • A demo project is helpful:
    • It will be very helpful if provides a demo project that reproduce the problem. A blank project with cocoapods-binary can be downloaded here, which can be remodeled to a minimal problematic environment. Attach the demo.zip to the comments.

Add a space to your folder that contains your Podfile and, magically, binaries will no longer be prebuilt! (Delete your pods folder to force it to rebuild). Unfortunately, the issue is that when prebuilding, the path that is eventually given to xcodebuild is not escaped.

antonino-u avatar Aug 24 '19 17:08 antonino-u

I can confirm I hit the same issue.

DimDL avatar Oct 21 '19 12:10 DimDL

I can also confirm i hit the same issue

MarcoBrescianini avatar Nov 13 '19 10:11 MarcoBrescianini

I can confirm same thing, managed to fix it on our side, but @antonino-u fix is better, so would be great if #89 could be merged.

MariuszWisniewski avatar Mar 24 '20 17:03 MariuszWisniewski

Confirmed, still an issue, please consider merging #89.

NathanielBlackburn avatar Mar 25 '20 09:03 NathanielBlackburn

yep, the problem still exists and #89 fix it. Maybe, its time to merge :)

ghost avatar Mar 26 '20 09:03 ghost