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:
Pritesh Nandgaonkar
2019-11-11 10:14:40 -08:00
committed by Facebook Github Bot
parent 93655d39b8
commit db9bd6c22e
5 changed files with 118 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.
folly_compiler_flags = '-DDEBUG=1 -DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_LIBGFLAGS=0 -DFOLLY_HAVE_LIBJEMALLOC=0 -DFOLLY_HAVE_PREADV=0 -DFOLLY_HAVE_PWRITEV=0 -DFOLLY_HAVE_TFO=0 -DFOLLY_USE_SYMBOLIZER=0'
yogakit_version = '~> 1.14'
yogakit_version = '~> 1.18'
flipperkit_version = '0.27.0'
Pod::Spec.new do |spec|
spec.name = 'FlipperKit'