Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Building scheme "FBSnapshotTestCase tvOS" keeps failing #159

Closed
liuxuan30 opened this issue Apr 12, 2016 · 6 comments
Closed

Building scheme "FBSnapshotTestCase tvOS" keeps failing #159

liuxuan30 opened this issue Apr 12, 2016 · 6 comments
Labels

Comments

@liuxuan30
Copy link

Travis log: https://travis-ci.org/danielgindi/Charts/builds/122282395

So it has been some weeks since iOS 9.3 was released. We notice Building scheme "FBSnapshotTestCase tvOS" keeps failing as below. We think it's FB's bug? Or any advice how to fix it?

37.38s$ cd Charts && carthage bootstrap

*** Cloning ios-snapshot-test-case

*** Skipped downloading ios-snapshot-test-case.framework binary due to the error:

    "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."

*** Checking out ios-snapshot-test-case at "2.1.0"

*** xcodebuild output can be found in /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/carthage-xcodebuild.QfaPgp.log

*** Building scheme "FBSnapshotTestCase tvOS" in FBSnapshotTestCase.xcworkspace

** BUILD FAILED **

The following build commands failed:

    Ld /Users/travis/Library/Developer/Xcode/DerivedData/FBSnapshotTestCase-bxqdwtzedguggmawxzyipupldvjd/Build/Products/Release-appletvos/FBSnapshotTestCase.framework/FBSnapshotTestCase normal arm64

(1 failure)

clang: error: linker command failed with exit code 1 (use -v to see invocation)

A shell task failed with exit code 65:

** BUILD FAILED **

The following build commands failed:

    Ld /Users/travis/Library/Developer/Xcode/DerivedData/FBSnapshotTestCase-bxqdwtzedguggmawxzyipupldvjd/Build/Products/Release-appletvos/FBSnapshotTestCase.framework/FBSnapshotTestCase normal arm64

(1 failure)
@nscoding
Copy link
Contributor

Thanks for filing this issue, I need to investigate.

@nscoding nscoding added the bug label Apr 12, 2016
@danielgindi
Copy link

#157

@nscoding
Copy link
Contributor

The issue seemed to appear with 2.1.0 but I didn't do anything different to cause these timeouts, it could be travis or github. I could potentially tag a new version with #158 and see if that resolves it but I don't have high hopes.

@liuxuan30
Copy link
Author

liuxuan30 commented Apr 20, 2016

@nscoding I have seen the "GitHub API request failed error" before 2.1.0: ChartsOrg/Charts#765
It seems not interfere downloading and building and move forward.

@danielgindi
Copy link

Okay, now it seems that tvOS should be supported, but there's something new:
https://travis-ci.org/danielgindi/Charts

A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/travis/build/danielgindi/Charts/Charts/Carthage/Checkouts/ios-snapshot-test-case/FBSnapshotTestCase.xcworkspace -scheme FBSnapshotTestCase tvOS -configuration Release -sdk appletvos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:

I seems like the -scheme FBSnapshotTestCase tvOS is being ran unescaped. There's a space in there that should be escaped. Is this a travis bug or a Facebook bug?

@adamjernst
Copy link
Contributor

I'm hitting this too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants