0.36.1
版本发布时间: 2021-01-15 04:07:48
Carthage/Carthage最新发布版本:0.39.1(2023-09-19 00:45:54)
:information_source: This is a maintenance release to support integrating frameworks on Xcode 12.3 and above.
:information_source: This release does not include forthcoming support for building XCFrameworks. Expect XCFrameworks in the next release, 0.37.0.
Fixed
-
carthage build
disables a validation added in Xcode 12.3 which prevents some Carthage-built frameworks from being embedded (https://github.com/Carthage/Carthage/pull/3095).- Xcode 12.3 warns when a target embeds framework with slices labeled for multiple platforms (even when the slices are all housed under different architectures); except, some slight sets of platform pairs are permitted. Typically, Carthage's multi-arch frameworks are stripped at build time using
carthage copy-frameworks
, but they may be copied whole in test targets and other rare circumstances. - When warnings-as-errors is enabled, this validation warning may fail the build. Carthage disables it internally by setting
VALIDATE_WORKSPACE=NO
. - If you see an error like
Building for iOS Simulator, but the linked and embedded framework 'REDACTED.framework' was built for iOS + iOS Simulator
, set VALIDATE_WORKSPACE=NO in your project's build settings.
- Xcode 12.3 warns when a target embeds framework with slices labeled for multiple platforms (even when the slices are all housed under different architectures); except, some slight sets of platform pairs are permitted. Typically, Carthage's multi-arch frameworks are stripped at build time using
- Fixed carthage creating too many tempoary directories during
copy-frameworks
phase (Carthage/Carthage#3066). Thanks @tmspzz
Thanks @olejnjak, @philipphofmann for improving the documentation since the last release.
Note
Xcode (at the era of 12.3) does very little when Validate Workspace is enabled. If truly encompassing this facet is important to you…
…try copying a Carthage Checkouts/Build directory to another location, editing Xcode projects to remove any targets that (aside from through `carthage copy-frameworks`) embed Carthage-built things, and copy the xcodebuild invocation from a run of `carthage … --verbose` and modify-it, removing VALIDATE_WORKSPACE=NO.1、 Carthage.pkg 4.76MB