Skip to content

Cannot prebuild when the path contains spaces #88

Open
@antonino-u

Description

@antonino-u

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions