Pārlūkot izejas kodu

Set build for distribution flag

This ensures that the framework generates the .swiftinterface files so
that future compilers are able to load the framework, making it module
stable.

Explained in WWDC 2019: https://developer.apple.com/videos/play/wwdc2019/416/
Martin Dinh 5 gadi atpakaļ
vecāks
revīzija
021f4db349
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      Reachability.xcodeproj/project.pbxproj

+ 2 - 0
Reachability.xcodeproj/project.pbxproj

@@ -826,6 +826,7 @@
 			buildSettings = {
 				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
 				APPLICATION_EXTENSION_API_ONLY = YES;
+				BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_IDENTITY = "";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
@@ -852,6 +853,7 @@
 			buildSettings = {
 				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
 				APPLICATION_EXTENSION_API_ONLY = YES;
+				BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
 				CLANG_ENABLE_CODE_COVERAGE = NO;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_IDENTITY = "";