Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still got an error when building Charts(2.3.0) with carthage #1532

Closed
sainttail opened this issue Sep 22, 2016 · 2 comments
Closed

Still got an error when building Charts(2.3.0) with carthage #1532

sainttail opened this issue Sep 22, 2016 · 2 comments

Comments

@sainttail
Copy link

sainttail commented Sep 22, 2016

I got this error when try to run (We use objective-c)

carthage update --platform iOS

*** Building scheme "AFNetworking iOS" in AFNetworking.xcworkspace
*** Building scheme "DateTools" in DateToolsExample.xcodeproj
*** Building scheme "FXBlurView iOS" in FXBlurView.xcodeproj
*** Building scheme "Masonry iOS" in Masonry.xcworkspace
*** Building scheme "MGSwipeTableCell" in MGSwipeTableCell.xcodeproj
*** Building scheme "ChartsRealm" in Charts.xcodeproj
** BUILD FAILED **


The following build commands failed:
        CompileSwift normal arm64
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/Eakawat/Desktop/eko-project/IOSEko/Carthage/Checkouts/Charts/Source/Charts/Utils/ChartPlatform.swift:111:30: error: method does not override any method from its superclass
A shell task (/usr/bin/xcrun xcodebuild -project /Users/Eakawat/Desktop/eko-project/IOSEko/Carthage/Checkouts/Charts/Charts.xcodeproj -scheme ChartsRealm -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
        CompileSwift normal arm64
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)

looking into the log file the last lines said something like this

/Users/Eakawat/Desktop/eko-project/IOSEko/Carthage/Checkouts/Charts/Source/Charts/Utils/ChartPlatform.swift:111:30: error: method does not override any method from its superclass
                public final override func touchesCancelled(touches: Set<NSUITouch>, withEvent event: NSUIEvent?)
                             ~~~~~~~~      ^

How to solve this?

Thanks.

@sainttail sainttail changed the title Still got an error when building Charts with carthage Still got an error when building Charts(2.3.0) with carthage Sep 22, 2016
@pmairoldi
Copy link
Collaborator

Could you provide your Cartfile and Cartfile.resolved? As a suggestion I would say delete the Carthage folder and try again to see if that fixes the problem

@pmairoldi
Copy link
Collaborator

I just tried this and it works. Closing.

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

No branches or pull requests

2 participants