BetterSegmentedControl
BetterSegmentedControl copied to clipboard
Unable to build with Carthage
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
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
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
Is this still an issue?
Yes, it's still an issue.
v1.2.1 still an issue.
This is still an issue even now :(
I made a fork and implemented @gverdouw's solution and that allowed Carthage to build the scheme.
Support for Carthage has been removed for now due to issues with Xcode 12.
@gmarm FWIW our fork from Sep 2019 builds just fine with Carthage on Xcode 12 targeting iOS 14
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
.