Skip to content

Unable to build with Carthage #105

@gverdouw

Description

@gverdouw

Hi,

With the latest version (1.1) I am running in to issues building the project with Carthage.

"error: Build input file cannot be found: '/path/to/xcodeprojectdir/Carthage/Checkouts/BetterSegmentedControl/Example/Pods/Target Support Files/BetterSegmentedControl/BetterSegmentedControl-Info.plist'"

The only .plist file in that directory is "Info.plist" so I guess that needs to be updated somewhere. (Perhaps this is the Xcode migration tool breaking something?)

Thanks,
Geoff

Activity

gverdouw

gverdouw commented on Apr 23, 2019

@gverdouw
Author

I edited the references to Target Support Files/BetterSegmentedControl/BetterSegmentedControl-Info.plist in /Example/Pods/Pods.xcodeproj/project.pbxproj to be Info.plist and that seems to fix it

gverdouw

gverdouw commented on May 1, 2019

@gverdouw
Author

So I think what has happened is that the Info.plist has changed, but because Pods/* is gitignored the new one BetterSegmentedControl-Info.plist isn't being added (whereas the Info.plist perhaps outlives the gitignore rule and so is still included?) so when Carthage tries to build it isn't there

gmarm

gmarm commented on Jun 13, 2019

@gmarm
Owner

Is this still an issue?

inket

inket commented on Jun 21, 2019

@inket

Yes, it's still an issue.

r-plus

r-plus commented on Aug 28, 2019

@r-plus

v1.2.1 still an issue.

az-oolloow

az-oolloow commented on Sep 26, 2019

@az-oolloow

This is still an issue even now :(

I made a fork and implemented @gverdouw's solution and that allowed Carthage to build the scheme.

gmarm

gmarm commented on Oct 21, 2020

@gmarm
Owner

Support for Carthage has been removed for now due to issues with Xcode 12.

az-oolloow

az-oolloow commented on Oct 21, 2020

@az-oolloow

@gmarm FWIW our fork from Sep 2019 builds just fine with Carthage on Xcode 12 targeting iOS 14

gmarm

gmarm commented on Oct 21, 2020

@gmarm
Owner

Could you please open a PR for this? I was struggling yesterday and although the scheme was shared and commited to git, carthage build --no-skip-current was failing with Dependency has no shared framework schemes.

reopened this on Oct 21, 2020
linked a pull request that will close this issue on Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @gverdouw@r-plus@inket@gmarm@az-oolloow

      Issue actions

        Unable to build with Carthage · Issue #105 · gmarm/BetterSegmentedControl