Skip to content

Conversation

Daedren
Copy link

@Daedren Daedren commented Apr 15, 2021

Carthage only looks at the .xcodeproj to look for the scheme to build, but said scheme in BetterSegmentedControl was looking at the target framework built in the Pods.xcodeproj.

So if you were using the .xcworkspace, you wouldn't notice anything, but if you opened the .xcodeproj in Xcode, you wouldn't be able to build the framework.

This adds a new target in the main xcodeproj that builds the framework, and the main schema now looks at that instead.

Closes #105

@Daedren
Copy link
Author

Daedren commented Apr 15, 2021

Hold up, I had looked wrong at the project architecture. The solution is correct, but this is going to need some more changes to work.

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

Successfully merging this pull request may close these issues.

Unable to build with Carthage
1 participant