Skip to content

Build fails when the project path contains whitespaces #202

Closed
@sebastianvarela

Description

@sebastianvarela

Hi!
If I clone the repository and my path contains a whitespace on some directory name, I can't compile the SQLiteCipher iOS Schema. I tried removing the space that I had and the project then builds correctly.
This is important because Jenkins directories usually contain spaces.

I'm building with Xcode GM using the following commit in the swift-2 branch:
Commit 4d5f4a1

Log:

The following build commands failed:
    CompileC /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/SQLite-ggbbmcwgetpvjxgnjfngxdjdnqex/Build/Intermediates/sqlcipher.build/Release-iphonesimulator/sqlcipher.build/Objects-normal/x86_64/sqlite3.o sqlite3.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/SQLite-ggbbmcwgetpvjxgnjfngxdjdnqex/Build/Intermediates/sqlcipher.build/Release-iphonesimulator/sqlcipher.build/Objects-normal/i386/sqlite3.o sqlite3.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks'
clang: error: no such file or directory: '/Users/Shared/Jenkins/Home/jobs/eBooks 2.0 - Build project/workspace/Carthage/Checkouts/SQLite.swift/Vendor/sqlcipher/sqlite3.c'
clang: error: no input files
clang: error: no such file or directory: '/Users/Shared/Jenkins/Home/jobs/eBooks 2.0 - Build project/workspace/Carthage/Checkouts/SQLite.swift/Vendor/sqlcipher/sqlite3.c'
clang: error: no input files
A shell task failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileC /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/SQLite-ggbbmcwgetpvjxgnjfngxdjdnqex/Build/Intermediates/sqlcipher.build/Release-iphonesimulator/sqlcipher.build/Objects-normal/x86_64/sqlite3.o sqlite3.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/SQLite-ggbbmcwgetpvjxgnjfngxdjdnqex/Build/Intermediates/sqlcipher.build/Release-iphonesimulator/sqlcipher.build/Objects-normal/i386/sqlite3.o sqlite3.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)

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