Fixes the broken build of Sample app on open source
Summary: This diff fixes the broken sample app for xcode 11. Followed the remediation mentioned in the following links https://github.com/Carthage/Carthage/issues/2825 https://twitter.com/krzyzanowskim/status/1151549874653081601?s=21 Remediation: Adding Dummy swift file and assigning `"LD_VERIFY_BITCODE": "NO"` solves the problem as suggested in the above links Reviewed By: jknoxville Differential Revision: D18420954 fbshipit-source-id: e87930790329ffb2bb92c40aa197552efeedecd3
This commit is contained in:
committed by
Facebook Github Bot
parent
93655d39b8
commit
db9bd6c22e
@@ -10,6 +10,7 @@
|
||||
0D0B1CF0E859D91C55CC453B /* libPods-Sample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F97F4E8C3E28D8BFAAEE60F4 /* libPods-Sample.a */; };
|
||||
4E102341216AD7B400160734 /* UserDefaultsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E102340216AD7B400160734 /* UserDefaultsViewController.m */; };
|
||||
53B4A36B217E2B6200B36A53 /* CommunicationDemoViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53B4A36A217E2B6200B36A53 /* CommunicationDemoViewController.mm */; };
|
||||
53B8C8D323788AC600D2D1FD /* Dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B8C8D223788AC600D2D1FD /* Dummy.swift */; };
|
||||
53D59DB320ABA18400207065 /* NetworkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 53D59DAA20ABA18300207065 /* NetworkViewController.m */; };
|
||||
53D59DB420ABA18400207065 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 53D59DAB20ABA18300207065 /* AppDelegate.m */; };
|
||||
53D59DB520ABA18400207065 /* MainViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53D59DAD20ABA18300207065 /* MainViewController.mm */; };
|
||||
@@ -25,6 +26,8 @@
|
||||
4E102340216AD7B400160734 /* UserDefaultsViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UserDefaultsViewController.m; sourceTree = "<group>"; };
|
||||
534252A9217DECCD0092D02B /* CommunicationDemoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommunicationDemoViewController.h; sourceTree = "<group>"; };
|
||||
53B4A36A217E2B6200B36A53 /* CommunicationDemoViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CommunicationDemoViewController.mm; sourceTree = "<group>"; };
|
||||
53B8C8D123788AC500D2D1FD /* Sample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Sample-Bridging-Header.h"; sourceTree = "<group>"; };
|
||||
53B8C8D223788AC600D2D1FD /* Dummy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Dummy.swift; sourceTree = "<group>"; };
|
||||
53D59DAA20ABA18300207065 /* NetworkViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NetworkViewController.m; sourceTree = SOURCE_ROOT; };
|
||||
53D59DAB20ABA18300207065 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
|
||||
53D59DAC20ABA18300207065 /* NetworkViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NetworkViewController.h; sourceTree = SOURCE_ROOT; };
|
||||
@@ -80,10 +83,12 @@
|
||||
53E0DE3820ABA0E3005682E1 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
53B8C8D223788AC600D2D1FD /* Dummy.swift */,
|
||||
53D59DB920ABA19900207065 /* Sample */,
|
||||
53E0DE4220ABA0E3005682E1 /* Products */,
|
||||
56F86505D10A36D42C8D0302 /* Pods */,
|
||||
C89232DD95E032B5B6FA95A1 /* Frameworks */,
|
||||
53B8C8D123788AC500D2D1FD /* Sample-Bridging-Header.h */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
@@ -144,6 +149,7 @@
|
||||
TargetAttributes = {
|
||||
53E0DE4020ABA0E3005682E1 = {
|
||||
CreatedOnToolsVersion = 9.4;
|
||||
LastSwiftMigration = 1120;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -205,6 +211,7 @@
|
||||
files = (
|
||||
53E0DE5420ABA0E4005682E1 /* main.m in Sources */,
|
||||
4E102341216AD7B400160734 /* UserDefaultsViewController.m in Sources */,
|
||||
53B8C8D323788AC600D2D1FD /* Dummy.swift in Sources */,
|
||||
53D59DB320ABA18400207065 /* NetworkViewController.m in Sources */,
|
||||
53D59DB420ABA18400207065 /* AppDelegate.m in Sources */,
|
||||
53B4A36B217E2B6200B36A53 /* CommunicationDemoViewController.mm in Sources */,
|
||||
@@ -332,6 +339,7 @@
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
@@ -415,6 +423,9 @@
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.flipper;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Sample-Bridging-Header.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
@@ -425,6 +436,7 @@
|
||||
buildSettings = {
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
@@ -504,6 +516,8 @@
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.flipper;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Sample-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
|
||||
Reference in New Issue
Block a user