scinfu / SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
https://scinfu.github.io/SwiftSoup/
MIT License
4.53k stars 345 forks source link

Carthage builds from `Example` workspace #91

Closed luispadron closed 5 years ago

luispadron commented 6 years ago

Carthage seems to build the framework from the example project, this due to the fact that Carthage looks for the first available .xcodeproject/.xcworkspace.

I had this issue in one of my frameworks, seems like there are two solutions:

  1. Archive a build and serve that in your releases this way Carthage doesn't have to build every time.
  2. Move the example project into a separate repository/to a playground.

The error:

*** Building scheme "SwiftSoup-iOS" in SwiftSoup.xcodeproj
*** Building scheme "SwiftSoup" in Example.xcworkspace
scinfu commented 5 years ago

fixed in 2.2.1.