Skip to content

Commit

Permalink
Nimble: don't always build library for distribution.
Browse files Browse the repository at this point in the history
Recently, Nimble moved to using 'CwlPreconditionTesting' not as a
direct compilation, but through SPM. This means they have different
build settings now.

Since Nimble is always built for distribution, but 'CwlPreconditionTesting'
doesn't, the following warning is show:
`Module 'CwlPreconditionTesting' was not compiled with library evolution support; using it means binary compatibility for 'Nimble' can't be guaranteed`.

Since building for distribution is needed mostly when building binaries
it can be simply removed from the project settings and should be enabled
whenever it's built for release.
  • Loading branch information
barakwei committed Oct 27, 2024
1 parent 1636a22 commit 1c6587d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Nimble.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,6 @@
1F925EC1195C0D6300ED456B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand Down Expand Up @@ -1220,7 +1219,6 @@
1F925EC2195C0D6300ED456B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
Expand Down

0 comments on commit 1c6587d

Please sign in to comment.