Skip to content

Buildasaur bots failing to find derived data #297

@emmaviolet

Description

@emmaviolet

@ecaselles and I have just updated from Xcode 7.3 / Buildasaur 1.0.1 to Xcode 8.1 / Buildasaur 1.0.3, and are now finding that buildasaur bots are consistently failing to build our app on simulators, failing with errors like:

ld: warning: directory not found for option '-L/Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/KIF'
ld: warning: directory not found for option '-L/Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/KIF-Kiwi'
ld: warning: directory not found for option '-L/Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/Kiwi'
ld: warning: directory not found for option '-L/Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/OHHTTPStubs'
ld: file not found: /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/FCUKInvestors
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The following build commands failed:
	Ld /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/FCUKInvestors normal x86_64
	GenerateDSYMFile /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app.dSYM /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/FCUKInvestors
	Ld /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/PlugIns/FCUKInvestorsTests.xctest/FCUKInvestorsTests normal x86_64
	GenerateDSYMFile /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestorsTests.xctest.dSYM /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/PlugIns/FCUKInvestorsTests.xctest/FCUKInvestorsTests
	Ld /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/PlugIns/FCUKInvestorsInterfaceTests.xctest/FCUKInvestorsInterfaceTests normal x86_64
	GenerateDSYMFile /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestorsInterfaceTests.xctest.dSYM /Users/mobile/Library/Caches/XCSBuilder/Bots/67a12ab2bd5d16cf4ca4376cec660625/DerivedData/Build/Products/Debug-iphonesimulator/FCUKInvestors.app/PlugIns/FCUKInvestorsInterfaceTests.xctest/FCUKInvestorsInterfaceTests
(6 failures)

We would usually address these sorts of errors by clearing the derived data on Xcode, but we're not sure how to do this with a Buildasaur Bot (we already have the clean option set to always).

We're also a little confused about what is causing this, as new and existing Xcode Bots built without Buildasaur continue to work just fine. Wondering if anyone else has seen anything similar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions