diff --git a/Specs/Flipper/0.10.0/Flipper.podspec b/Specs/Flipper/0.10.0/Flipper.podspec deleted file mode 100644 index f9d153be7..000000000 --- a/Specs/Flipper/0.10.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.10.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.11.0/Flipper.podspec b/Specs/Flipper/0.11.0/Flipper.podspec deleted file mode 100644 index 894f9ecd3..000000000 --- a/Specs/Flipper/0.11.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.11.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.11.1/Flipper.podspec b/Specs/Flipper/0.11.1/Flipper.podspec deleted file mode 100644 index 32dd7387f..000000000 --- a/Specs/Flipper/0.11.1/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.11.1' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.12.0/Flipper.podspec b/Specs/Flipper/0.12.0/Flipper.podspec deleted file mode 100644 index 12098111e..000000000 --- a/Specs/Flipper/0.12.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.12.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.13.0/Flipper.podspec b/Specs/Flipper/0.13.0/Flipper.podspec deleted file mode 100644 index a9774b71c..000000000 --- a/Specs/Flipper/0.13.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.13.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.14.0/Flipper.podspec b/Specs/Flipper/0.14.0/Flipper.podspec deleted file mode 100644 index 771910fc7..000000000 --- a/Specs/Flipper/0.14.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.14.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.14.1/Flipper.podspec b/Specs/Flipper/0.14.1/Flipper.podspec deleted file mode 100644 index d40c28ce2..000000000 --- a/Specs/Flipper/0.14.1/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.14.1' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.14.2/Flipper.podspec b/Specs/Flipper/0.14.2/Flipper.podspec deleted file mode 100644 index dc36346eb..000000000 --- a/Specs/Flipper/0.14.2/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.14.2' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.2' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.15.0/Flipper.podspec b/Specs/Flipper/0.15.0/Flipper.podspec deleted file mode 100644 index 9ea13de02..000000000 --- a/Specs/Flipper/0.15.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.15.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.2' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.16.0/Flipper.podspec b/Specs/Flipper/0.16.0/Flipper.podspec deleted file mode 100644 index 164488f1c..000000000 --- a/Specs/Flipper/0.16.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.16.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.2' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.16.1/Flipper.podspec b/Specs/Flipper/0.16.1/Flipper.podspec deleted file mode 100644 index 4847b629d..000000000 --- a/Specs/Flipper/0.16.1/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.16.1' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.2' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.16.2/Flipper.podspec b/Specs/Flipper/0.16.2/Flipper.podspec deleted file mode 100644 index 98d54babe..000000000 --- a/Specs/Flipper/0.16.2/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.16.2' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.2' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.17.0/Flipper.podspec b/Specs/Flipper/0.17.0/Flipper.podspec deleted file mode 100644 index e49da8f6e..000000000 --- a/Specs/Flipper/0.17.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.17.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Flipper-Folly', '~>1.2' - spec.dependency 'Flipper-RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.17.1/Flipper.podspec b/Specs/Flipper/0.17.1/Flipper.podspec deleted file mode 100644 index 20240d007..000000000 --- a/Specs/Flipper/0.17.1/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.17.1' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Flipper-Folly', '~>1.2' - spec.dependency 'Flipper-RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.18.0/Flipper.podspec b/Specs/Flipper/0.18.0/Flipper.podspec deleted file mode 100644 index b257f7b5f..000000000 --- a/Specs/Flipper/0.18.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.18.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Flipper-Folly', '~>1.2' - spec.dependency 'Flipper-RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.19.0/Flipper.podspec b/Specs/Flipper/0.19.0/Flipper.podspec deleted file mode 100644 index 28d7ae33d..000000000 --- a/Specs/Flipper/0.19.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.19.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Flipper-Folly', '~>1.2' - spec.dependency 'Flipper-RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.20.0/Flipper.podspec b/Specs/Flipper/0.20.0/Flipper.podspec deleted file mode 100644 index c09ceb9f8..000000000 --- a/Specs/Flipper/0.20.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.20.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Flipper-Folly', '1.3.0' - spec.dependency 'Flipper-RSocket', '0.10.4' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.8.0/Flipper.podspec b/Specs/Flipper/0.8.0/Flipper.podspec deleted file mode 100644 index 132739127..000000000 --- a/Specs/Flipper/0.8.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.8.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.8.1/Flipper.podspec b/Specs/Flipper/0.8.1/Flipper.podspec deleted file mode 100644 index 8fdebbf6d..000000000 --- a/Specs/Flipper/0.8.1/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.8.1' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Flipper/0.9.0/Flipper.podspec b/Specs/Flipper/0.9.0/Flipper.podspec deleted file mode 100644 index e1f1fa620..000000000 --- a/Specs/Flipper/0.9.0/Flipper.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -flipperkit_version = '0.9.0' -Pod::Spec.new do |spec| - spec.name = 'Flipper' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+flipperkit_version } - spec.module_name = 'Flipper' - spec.public_header_files = 'xplat/Flipper/*.h' - spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/FlipperKit/0.10.0/FlipperKit.podspec b/Specs/FlipperKit/0.10.0/FlipperKit.podspec deleted file mode 100644 index a3fe64d55..000000000 --- a/Specs/FlipperKit/0.10.0/FlipperKit.podspec +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.10.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.11.0/FlipperKit.podspec b/Specs/FlipperKit/0.11.0/FlipperKit.podspec deleted file mode 100644 index 062d91877..000000000 --- a/Specs/FlipperKit/0.11.0/FlipperKit.podspec +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.11.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.11.1/FlipperKit.podspec b/Specs/FlipperKit/0.11.1/FlipperKit.podspec deleted file mode 100644 index 59d4aab8b..000000000 --- a/Specs/FlipperKit/0.11.1/FlipperKit.podspec +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.11.1' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.12.0/FlipperKit.podspec b/Specs/FlipperKit/0.12.0/FlipperKit.podspec deleted file mode 100644 index e1db72f5b..000000000 --- a/Specs/FlipperKit/0.12.0/FlipperKit.podspec +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.12.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.13.0/FlipperKit.podspec b/Specs/FlipperKit/0.13.0/FlipperKit.podspec deleted file mode 100644 index dd9e185db..000000000 --- a/Specs/FlipperKit/0.13.0/FlipperKit.podspec +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.13.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitCrashReporterPlugin" do |ss| - ss.header_dir = "FlipperKitCrashReporterPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitCrashReporterPlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.14.0/FlipperKit.podspec b/Specs/FlipperKit/0.14.0/FlipperKit.podspec deleted file mode 100644 index 701cd92de..000000000 --- a/Specs/FlipperKit/0.14.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.14.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.14.1/FlipperKit.podspec b/Specs/FlipperKit/0.14.1/FlipperKit.podspec deleted file mode 100644 index da970ab0e..000000000 --- a/Specs/FlipperKit/0.14.1/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.14.1' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.14.2/FlipperKit.podspec b/Specs/FlipperKit/0.14.2/FlipperKit.podspec deleted file mode 100644 index a03be96d8..000000000 --- a/Specs/FlipperKit/0.14.2/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.14.2' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.15.0/FlipperKit.podspec b/Specs/FlipperKit/0.15.0/FlipperKit.podspec deleted file mode 100644 index a60c506aa..000000000 --- a/Specs/FlipperKit/0.15.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.15.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.16.0/FlipperKit.podspec b/Specs/FlipperKit/0.16.0/FlipperKit.podspec deleted file mode 100644 index 0b0bddfb8..000000000 --- a/Specs/FlipperKit/0.16.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.16.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.16.1/FlipperKit.podspec b/Specs/FlipperKit/0.16.1/FlipperKit.podspec deleted file mode 100644 index f76379951..000000000 --- a/Specs/FlipperKit/0.16.1/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.16.1' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.16.2/FlipperKit.podspec b/Specs/FlipperKit/0.16.2/FlipperKit.podspec deleted file mode 100644 index 369f7126d..000000000 --- a/Specs/FlipperKit/0.16.2/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.16.2' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.17.0/FlipperKit.podspec b/Specs/FlipperKit/0.17.0/FlipperKit.podspec deleted file mode 100644 index b1615a0c0..000000000 --- a/Specs/FlipperKit/0.17.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.17.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Flipper-Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.17.1/FlipperKit.podspec b/Specs/FlipperKit/0.17.1/FlipperKit.podspec deleted file mode 100644 index 88cee8368..000000000 --- a/Specs/FlipperKit/0.17.1/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.17.1' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Flipper-Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.18.0/FlipperKit.podspec b/Specs/FlipperKit/0.18.0/FlipperKit.podspec deleted file mode 100644 index 6845daadb..000000000 --- a/Specs/FlipperKit/0.18.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.18.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Flipper-Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.19.0/FlipperKit.podspec b/Specs/FlipperKit/0.19.0/FlipperKit.podspec deleted file mode 100644 index 017dc0e40..000000000 --- a/Specs/FlipperKit/0.19.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.10' -flipperkit_version = '0.19.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Flipper-Folly', '~>1.2' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.20.0/FlipperKit.podspec b/Specs/FlipperKit/0.20.0/FlipperKit.podspec deleted file mode 100644 index fc2542d75..000000000 --- a/Specs/FlipperKit/0.20.0/FlipperKit.podspec +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.12.0-pre.1' -yogakit_version = '~> 1.12.0-pre.1' -flipperkit_version = '0.20.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBDefines.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other FlipperKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "FKPortForwarding" do |ss| - ss.header_dir = "FKPortForwarding" - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'Flipper-PeerTalk', '~>0.0.4' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}' - ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h' - end - - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'FlipperKit/FKPortForwarding' - ss.dependency 'Flipper-Folly', '1.3.0' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h', - 'iOS/FBDefines/FBDefines.h', - 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h', - 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h', - 'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h' - ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit', '~> 0.25' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h' - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitExamplePlugin" do |ss| - ss.header_dir = "FlipperKitExamplePlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.8.0/FlipperKit.podspec b/Specs/FlipperKit/0.8.0/FlipperKit.podspec deleted file mode 100644 index 58cc8953d..000000000 --- a/Specs/FlipperKit/0.8.0/FlipperKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.8.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.8.1/FlipperKit.podspec b/Specs/FlipperKit/0.8.1/FlipperKit.podspec deleted file mode 100644 index 0540851c2..000000000 --- a/Specs/FlipperKit/0.8.1/FlipperKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.8.1' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/FlipperKit/0.9.0/FlipperKit.podspec b/Specs/FlipperKit/0.9.0/FlipperKit.podspec deleted file mode 100644 index fc1b33a0b..000000000 --- a/Specs/FlipperKit/0.9.0/FlipperKit.podspec +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -flipperkit_version = '0.9.0' -Pod::Spec.new do |spec| - spec.name = 'FlipperKit' - spec.version = flipperkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+flipperkit_version } - spec.module_name = 'FlipperKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h' - ss.preserve_path = 'FlipperKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'FlipperKit/FBDefines' - ss.dependency 'FlipperKit/FBCxxUtils' - ss.dependency 'FlipperKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Flipper', '~>'+flipperkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h', - 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "FlipperKitLayoutPlugin" do |ss| - ss.header_dir = "FlipperKitLayoutPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "FlipperKitLayoutComponentKitSupport" - ss.dependency 'FlipperKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'FlipperKit/FlipperKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h', - 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitNetworkPlugin" do |ss| - ss.header_dir = "FlipperKitNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'FlipperKit/Core' - ss.dependency 'FlipperKit/FlipperKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end - - spec.subspec "FlipperKitUserDefaultsPlugin" do |ss| - ss.header_dir = "FlipperKitUserDefaultsPlugin" - ss.dependency 'FlipperKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h' - ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" } - end -end diff --git a/Specs/Folly/1.0.0/Folly.podspec.json b/Specs/Folly/1.0.0/Folly.podspec.json deleted file mode 100644 index 993f663f0..000000000 --- a/Specs/Folly/1.0.0/Folly.podspec.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "name": "Folly", - "version": "1.0.0", - "license": { - "type": "Apache License, Version 2.0" - }, - "homepage": "https://github.com/facebook/folly", - "summary": "An open-source C++ library developed and used at Facebook.", - "authors": "Facebook", - "source": { - "git": "https://github.com/facebook/folly.git", - "branch": "master" - }, - "module_name": "folly", - "dependencies": { - "boost-for-react-native": [ - - ], - "DoubleConversion": [ - - ], - "glog": [ - - ], - "OpenSSL-Static": [ - "1.0.2.c1" - ], - "CocoaLibEvent": [ - "~> 1.0" - ] - }, - "compiler_flags": "-DFOLLY_HAVE_PTHREAD=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 -frtti\n -fexceptions\n -std=c++14\n -Wno-error\n -Wno-unused-local-typedefs\n -Wno-unused-variable\n -Wno-sign-compare\n -Wno-comment\n -Wno-return-type\n -Wno-global-constructors", - "source_files": [ - "folly/system/*.cpp", - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h", - "folly/Executor.cpp", - "folly/memory/detail/MallocImpl.cpp", - "folly/String.cpp", - "folly/*.cpp", - "folly/detail/*.cpp", - "folly/hash/*.cpp", - "folly/portability/*.cpp", - "folly/ScopeGuard.h", - "folly/lang/ColdClass.cpp", - "folly/lang/Assume.h", - "folly/lang/Assume.cpp", - "folly/io/async/*.cpp", - "folly/io/async/ssl/*.cpp", - "folly/io/*.cpp", - "folly/synchronization/*.cpp", - "folly/lang/*.cpp", - "folly/memory/*.cpp", - "folly/futures/*.cpp", - "folly/futures/detail/*.cpp", - "folly/experimental/hazptr/*.cpp", - "folly/executors/*.cpp", - "folly/concurrency/*.cpp", - "folly/ssl/*.cpp", - "folly/ssl/detail/*.cpp" - ], - "preserve_paths": [ - "folly/*.h", - "folly/portability/*.h", - "folly/lang/*.h", - "folly/functional/*.h", - "folly/detail/*.h", - "folly/hash/*.h", - "folly/memory/*.h", - "folly/**/*.h", - "folly/futures/detail/*.h", - "folly/futures/*.h" - ], - "header_mappings_dir": "folly", - "header_dir": "folly", - "libraries": "stdc++", - "private_header_files": [ - "folly/portability/Stdlib.h", - "folly/portability/Stdio.h" - ], - "public_header_files": [ - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h" - ], - "user_target_xcconfig": { - "ONLY_ACTIVE_ARCH": "YES" - }, - "pod_target_xcconfig": { - "USE_HEADERMAP": "NO", - "ONLY_ACTIVE_ARCH": "YES", - "CLANG_CXX_LANGUAGE_STANDARD": "c++11", - "HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" - }, - "platforms": { - "ios": "8.0" - } -} diff --git a/Specs/Folly/1.1.0/Folly.podspec.json b/Specs/Folly/1.1.0/Folly.podspec.json deleted file mode 100644 index 1193f1d5d..000000000 --- a/Specs/Folly/1.1.0/Folly.podspec.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "name": "Folly", - "version": "1.1.0", - "license": { - "type": "Apache License, Version 2.0" - }, - "homepage": "https://github.com/facebook/folly", - "summary": "An open-source C++ library developed and used at Facebook.", - "authors": "Facebook", - "source": { - "git": "https://github.com/facebook/folly.git", - "tag": "v2018.08.06.00" - }, - "module_name": "folly", - "dependencies": { - "boost-for-react-native": [ - - ], - "DoubleConversion": [ - - ], - "glog": [ - - ], - "OpenSSL-Static": [ - "1.0.2.c1" - ], - "CocoaLibEvent": [ - "~> 1.0" - ] - }, - "compiler_flags": "-DFOLLY_HAVE_PTHREAD=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 -frtti\n -fexceptions\n -std=c++14\n -Wno-error\n -Wno-unused-local-typedefs\n -Wno-unused-variable\n -Wno-sign-compare\n -Wno-comment\n -Wno-return-type\n -Wno-global-constructors", - "source_files": [ - "folly/system/*.cpp", - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h", - "folly/Executor.cpp", - "folly/memory/detail/MallocImpl.cpp", - "folly/String.cpp", - "folly/*.cpp", - "folly/detail/*.cpp", - "folly/hash/*.cpp", - "folly/portability/*.cpp", - "folly/ScopeGuard.h", - "folly/lang/ColdClass.cpp", - "folly/lang/Assume.h", - "folly/lang/Assume.cpp", - "folly/io/async/*.cpp", - "folly/io/async/ssl/*.cpp", - "folly/io/*.cpp", - "folly/synchronization/*.cpp", - "folly/lang/*.cpp", - "folly/memory/*.cpp", - "folly/futures/*.cpp", - "folly/futures/detail/*.cpp", - "folly/experimental/hazptr/*.cpp", - "folly/executors/*.cpp", - "folly/concurrency/*.cpp", - "folly/ssl/*.cpp", - "folly/ssl/detail/*.cpp", - "folly/container/detail/*.cpp" - ], - "preserve_paths": [ - "folly/*.h", - "folly/portability/*.h", - "folly/lang/*.h", - "folly/functional/*.h", - "folly/detail/*.h", - "folly/hash/*.h", - "folly/memory/*.h", - "folly/**/*.h", - "folly/futures/detail/*.h", - "folly/futures/*.h" - ], - "header_mappings_dir": "folly", - "header_dir": "folly", - "libraries": "stdc++", - "private_header_files": [ - "folly/portability/Stdlib.h", - "folly/portability/Stdio.h" - ], - "public_header_files": [ - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h" - ], - "user_target_xcconfig": { - "ONLY_ACTIVE_ARCH": "YES" - }, - "pod_target_xcconfig": { - "USE_HEADERMAP": "NO", - "ONLY_ACTIVE_ARCH": "YES", - "CLANG_CXX_LANGUAGE_STANDARD": "c++11", - "HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" - }, - "platforms": { - "ios": "8.0" - } -} diff --git a/Specs/Folly/1.2.0/Folly.podspec.json b/Specs/Folly/1.2.0/Folly.podspec.json deleted file mode 100644 index f44591bb9..000000000 --- a/Specs/Folly/1.2.0/Folly.podspec.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "name": "Folly", - "version": "1.2.0", - "license": { - "type": "Apache License, Version 2.0" - }, - "homepage": "https://github.com/facebook/folly", - "summary": "An open-source C++ library developed and used at Facebook.", - "authors": "Facebook", - "source": { - "git": "https://github.com/facebook/folly.git", - "tag": "v2019.01.14.00" - }, - "module_name": "folly", - "dependencies": { - "boost-for-react-native": [ - - ], - "DoubleConversion": [ - - ], - "glog": [ - - ], - "OpenSSL-Static": [ - "1.0.2.c1" - ], - "CocoaLibEvent": [ - "~> 1.0" - ] - }, - "compiler_flags": "-DFOLLY_HAVE_PTHREAD=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 -frtti\n -fexceptions\n -std=c++14\n -Wno-error\n -Wno-unused-local-typedefs\n -Wno-unused-variable\n -Wno-sign-compare\n -Wno-comment\n -Wno-return-type\n -Wno-global-constructors", - "source_files": [ - "folly/system/*.cpp", - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h", - "folly/Executor.cpp", - "folly/memory/detail/MallocImpl.cpp", - "folly/String.cpp", - "folly/*.cpp", - "folly/net/*.cpp", - "folly/detail/*.cpp", - "folly/hash/*.cpp", - "folly/portability/*.cpp", - "folly/ScopeGuard.h", - "folly/lang/ColdClass.cpp", - "folly/lang/Assume.h", - "folly/lang/Assume.cpp", - "folly/io/async/*.cpp", - "folly/io/async/ssl/*.cpp", - "folly/io/*.cpp", - "folly/synchronization/*.cpp", - "folly/lang/*.cpp", - "folly/memory/*.cpp", - "folly/futures/*.cpp", - "folly/futures/detail/*.cpp", - "folly/experimental/hazptr/*.cpp", - "folly/executors/*.cpp", - "folly/concurrency/*.cpp", - "folly/ssl/*.cpp", - "folly/ssl/detail/*.cpp", - "folly/container/detail/*.cpp" - ], - "preserve_paths": [ - "folly/*.h", - "folly/portability/*.h", - "folly/lang/*.h", - "folly/functional/*.h", - "folly/detail/*.h", - "folly/hash/*.h", - "folly/memory/*.h", - "folly/**/*.h", - "folly/futures/detail/*.h", - "folly/futures/*.h" - ], - "header_mappings_dir": "folly", - "header_dir": "folly", - "libraries": "stdc++", - "private_header_files": [ - "folly/portability/Stdlib.h", - "folly/portability/Stdio.h" - ], - "public_header_files": [ - "folly/portability/Config.h", - "folly/Executor.h", - "folly/Function.h", - "folly/Utility.h", - "folly/Portability.h", - "folly/Traits.h", - "folly/functional/Invoke.h", - "folly/CPortability.h", - "folly/dynamic.h", - "folly/json_pointer.h", - "folly/Expected.h", - "folly/Preprocessor.h", - "folly/Optional.h", - "folly/Unit.h", - "folly/Utility.h", - "folly/lang/ColdClass.h", - "folly/CppAttributes.h", - "folly/json.h", - "folly/Range.h", - "folly/hash/SpookyHashV2.h", - "folly/lang/Exception.h", - "folly/portability/Constexpr.h", - "folly/CpuId.h", - "folly/Likely.h", - "folly/detail/RangeCommon.h", - "folly/detail/RangeSse42.h", - "folly/portability/String.h", - "folly/dynamic-inl.h", - "folly/Conv.h", - "folly/Demangle.h", - "folly/FBString.h", - "folly/hash/Hash.h", - "folly/memory/Malloc.h", - "folly/io/async/AsyncTimeout.h", - "folly/**/*.h", - "folly/memory/detail/MallocImpl.h", - "folly/String.h", - "folly/*.h", - "folly/portability/PThread.h", - "folly/futures/*.h", - "folly/futures/detail/*.h" - ], - "user_target_xcconfig": { - "ONLY_ACTIVE_ARCH": "YES" - }, - "pod_target_xcconfig": { - "USE_HEADERMAP": "NO", - "ONLY_ACTIVE_ARCH": "YES", - "CLANG_CXX_LANGUAGE_STANDARD": "c++11", - "HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" - }, - "platforms": { - "ios": "8.0" - } -} diff --git a/Specs/PeerTalk/0.0.2/PeerTalk.podspec b/Specs/PeerTalk/0.0.2/PeerTalk.podspec deleted file mode 100644 index 03482e103..000000000 --- a/Specs/PeerTalk/0.0.2/PeerTalk.podspec +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -Pod::Spec.new do |spec| - spec.name = 'PeerTalk' - spec.version = '0.0.2' - spec.license = { :type => 'MIT' } - spec.homepage = 'http://rsms.me/peertalk/' - spec.authors = { 'Rasmus Andersson' => 'rasmus@notion.se' } - spec.summary = 'iOS and OS X Cocoa library for communicating over USB and TCP.' - - spec.source = { :git => "https://github.com/rsms/peertalk.git" } - spec.source_files = 'peertalk/*.{h,m}' - spec.requires_arc = true - spec.ios.deployment_target = '8.4' - spec.osx.deployment_target = '10.10' - - spec.description = " PeerTalk is a iOS and OS X Cocoa library for communicating over USB and TCP.\n\n Highlights:\n\n * Provides you with USB device attach/detach events and attached device's info\n * Can connect to TCP services on supported attached devices (e.g. an iPhone), bridging the communication over USB transport\n * Offers a higher-level API (PTChannel and PTProtocol) for convenient implementations.\n * Tested and designed for libdispatch (aka Grand Central Dispatch).\n" -end diff --git a/Specs/README.md b/Specs/README.md deleted file mode 100644 index d32b4854d..000000000 --- a/Specs/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# cocoapods-private-repo -A private CocoaPods repository to host podspecs like SonarKit or any of its dependencies. -In order to publish new podspecs to this private repository you must run `pod repo push` command: -`pod repo push [REPO] [NAME.podspec]`. Please refer to the `pod repo push --help` command in case you need to pass any specific flags to the command. diff --git a/Specs/RSocket/0.10.0/RSocket.podspec b/Specs/RSocket/0.10.0/RSocket.podspec deleted file mode 100644 index f47fc7476..000000000 --- a/Specs/RSocket/0.10.0/RSocket.podspec +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -Pod::Spec.new do |spec| - spec.name = 'RSocket' - spec.version = '0.10.0' - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/rsocket/rsocket-cpp' - spec.summary = 'C++ implementation of RSocket' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/rsocket/rsocket-cpp.git', :branch => "master"} - spec.module_name = 'RSocket' - spec.static_framework = 'true' - spec.source_files = 'rsocket/benchmarks/*.{h,cpp,m,mm}', - 'rsocket/framing/*.{h,cpp,m,mm}', - 'rsocket/internal/*.{h,cpp,m,mm}', - 'rsocket/statemachine/*.{h,cpp,m,mm}', - 'rsocket/transports/*.{h,cpp,m,mm}', - 'rsocket/transports/**/*.{h,cpp,m,mm}', - 'yarpl/observable/*.{h,cpp,m,mm}', - 'yarpl/flowable/*.{h,cpp,m,mm}', - 'rsocket/*.{h,cpp,m,mm}' - - spec.libraries = "stdc++" - spec.compiler_flags = '-std=c++1y' - spec.dependency 'Folly' - spec.compiler_flags = '-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 -frtti - -fexceptions - -std=c++14 - -Wno-error - -Wno-unused-local-typedefs - -Wno-unused-variable - -Wno-sign-compare - -Wno-comment - -Wno-return-type - -Wno-global-constructors' - spec.preserve_paths = 'rsocket/benchmarks/*.h', - 'rsocket/framing/*.h', - 'rsocket/internal/*.h', - 'rsocket/statemachine/*.h', - 'rsocket/transports/*.h', - 'rsocket/*.h', - 'yarpl/flowable/*.h', - 'yarpl/observable/*.h', - 'yarpl/perf/*.h', - 'yarpl/single/*.h', - 'yarpl/utils/*.h', - 'yarpl/*.h', - '**/*.h' - spec.header_mappings_dir = 'rsocket' - spec.header_dir = 'rsocket' - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/DoubleConversion\"/**" } - spec.platforms = { :ios => "8.0" } - -end diff --git a/Specs/Sonar/0.0.1/Sonar.podspec b/Specs/Sonar/0.0.1/Sonar.podspec deleted file mode 100644 index 3c81cd7d6..000000000 --- a/Specs/Sonar/0.0.1/Sonar.podspec +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = '0.0.1' - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.static_framework = 'true' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :branch => 'master' } - spec.module_name = 'Sonar' - spec.header_dir = 'Sonar' - spec.header_mappings_dir = 'xplat/Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly' - spec.dependency 'RSocket' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.6.12/Sonar.podspec b/Specs/Sonar/0.6.12/Sonar.podspec deleted file mode 100644 index 36b6f5beb..000000000 --- a/Specs/Sonar/0.6.12/Sonar.podspec +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = '0.6.12' - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v0.6.12' } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.0' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.6.13/Sonar.podspec b/Specs/Sonar/0.6.13/Sonar.podspec deleted file mode 100644 index 626769db0..000000000 --- a/Specs/Sonar/0.6.13/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.6.13' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.0' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.6.14/Sonar.podspec b/Specs/Sonar/0.6.14/Sonar.podspec deleted file mode 100644 index 913821347..000000000 --- a/Specs/Sonar/0.6.14/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.6.14' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.0' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.6.15/Sonar.podspec b/Specs/Sonar/0.6.15/Sonar.podspec deleted file mode 100644 index e328e2153..000000000 --- a/Specs/Sonar/0.6.15/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.6.15' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.0' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.6.16/Sonar.podspec b/Specs/Sonar/0.6.16/Sonar.podspec deleted file mode 100644 index f73d92b84..000000000 --- a/Specs/Sonar/0.6.16/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.6.16' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.7.0/Sonar.podspec b/Specs/Sonar/0.7.0/Sonar.podspec deleted file mode 100644 index 4e40dcc69..000000000 --- a/Specs/Sonar/0.7.0/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.7.0' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.7.1/Sonar.podspec b/Specs/Sonar/0.7.1/Sonar.podspec deleted file mode 100644 index 5ca0348d7..000000000 --- a/Specs/Sonar/0.7.1/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.7.1' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/Sonar/0.7.2/Sonar.podspec b/Specs/Sonar/0.7.2/Sonar.podspec deleted file mode 100644 index 4e918b680..000000000 --- a/Specs/Sonar/0.7.2/Sonar.podspec +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -sonarkit_version = '0.7.2' -Pod::Spec.new do |spec| - spec.name = 'Sonar' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/sonar' - spec.summary = 'SonarKit core cpp code with network implementation' - spec.authors = 'Facebook' - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag => 'v'+sonarkit_version } - spec.module_name = 'Sonar' - spec.public_header_files = 'xplat/Sonar/*.h' - spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}' - spec.libraries = "stdc++" - spec.dependency 'Folly', '~>1.1' - spec.dependency 'RSocket', '~>0.10' - spec.compiler_flags = '-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 -Wall - -std=c++14 - -Wno-global-constructors' - spec.platforms = { :ios => "8.0" } - spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } -end diff --git a/Specs/SonarKit/0.0.1/SonarKit.podspec b/Specs/SonarKit/0.0.1/SonarKit.podspec deleted file mode 100644 index 392223041..000000000 --- a/Specs/SonarKit/0.0.1/SonarKit.podspec +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' - -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = '0.0.1' - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :branch=> "master" } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.0" } - - spec.subspec "Core" do |ss| - ss.dependency 'Folly', '~>1.0' - ss.dependency 'Sonar', '~>0.0.1' - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h, mm}' - ss.public_header_files = 'iOS/SonarKit/CppBridge/*.{h}', - 'iOS/SonarKit/SonarClient.h', - 'iOS/SonarKit/SonarDeviceData.h', - 'iOS/SonarKit/SonarPlugin.h', - 'iOS/SonarKit/SonarResponder.h', - 'iOS/SonarKit/SonarConnection.h', - 'iOS/SonarKit/SKMacros.h' - - ss.compiler_flags = '-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' - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\" \"$(PODS_ROOT)/ComponentKit\"/**" } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end -end diff --git a/Specs/SonarKit/0.6.12/SonarKit.podspec b/Specs/SonarKit/0.6.12/SonarKit.podspec deleted file mode 100644 index fc35f9fa7..000000000 --- a/Specs/SonarKit/0.6.12/SonarKit.podspec +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' - -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = '0.6.12' - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v0.6.12" } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - - spec.subspec "Core" do |ss| - ss.dependency 'Folly', '~>1.0' - ss.dependency 'Sonar', '~>0.6' - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h, mm}' - ss.public_header_files = 'iOS/SonarKit/CppBridge/*.{h}', - 'iOS/SonarKit/SonarClient.h', - 'iOS/SonarKit/SonarDeviceData.h', - 'iOS/SonarKit/SonarPlugin.h', - 'iOS/SonarKit/SonarResponder.h', - 'iOS/SonarKit/SonarConnection.h', - 'iOS/SonarKit/SKMacros.h' - - ss.compiler_flags = '-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' - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\" \"$(PODS_ROOT)/ComponentKit\"/**" } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" } - end -end diff --git a/Specs/SonarKit/0.6.13/SonarKit.podspec b/Specs/SonarKit/0.6.13/SonarKit.podspec deleted file mode 100644 index 5f613dc00..000000000 --- a/Specs/SonarKit/0.6.13/SonarKit.podspec +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.6.13' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - ss.public_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.0' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.6.14/SonarKit.podspec b/Specs/SonarKit/0.6.14/SonarKit.podspec deleted file mode 100644 index 57ab2c919..000000000 --- a/Specs/SonarKit/0.6.14/SonarKit.podspec +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.6.14' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.0' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.6.15/SonarKit.podspec b/Specs/SonarKit/0.6.15/SonarKit.podspec deleted file mode 100644 index 2b00add92..000000000 --- a/Specs/SonarKit/0.6.15/SonarKit.podspec +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.6.15' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.0' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/FBDefines/FBMacros.h', 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.6.16/SonarKit.podspec b/Specs/SonarKit/0.6.16/SonarKit.podspec deleted file mode 100644 index cbc1d58fd..000000000 --- a/Specs/SonarKit/0.6.16/SonarKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.6.16' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.7.0/SonarKit.podspec b/Specs/SonarKit/0.7.0/SonarKit.podspec deleted file mode 100644 index c0b1dbb87..000000000 --- a/Specs/SonarKit/0.7.0/SonarKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.7.0' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.7.1/SonarKit.podspec b/Specs/SonarKit/0.7.1/SonarKit.podspec deleted file mode 100644 index 15339c1bd..000000000 --- a/Specs/SonarKit/0.7.1/SonarKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.7.1' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/Specs/SonarKit/0.7.2/SonarKit.podspec b/Specs/SonarKit/0.7.2/SonarKit.podspec deleted file mode 100644 index 24ee92b3b..000000000 --- a/Specs/SonarKit/0.7.2/SonarKit.podspec +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -folly_compiler_flags = '-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' -yoga_version = '~> 1.9' -yogakit_version = '~>1.8' -sonarkit_version = '0.7.2' -Pod::Spec.new do |spec| - spec.name = 'SonarKit' - spec.version = sonarkit_version - spec.license = { :type => 'MIT' } - spec.homepage = 'https://github.com/facebook/Sonar' - spec.summary = 'Sonar iOS podspec' - spec.authors = 'Facebook' - spec.static_framework = true - spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :tag=> "v"+sonarkit_version } - spec.module_name = 'SonarKit' - spec.platforms = { :ios => "8.4" } - spec.default_subspecs = "Core" - - # This subspec is necessary since FBMacros.h is imported as - # inside SKMacros.h, which is a public header file. Defining this directory as a - # subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't - # generally (you would need to import ) - spec.subspec 'FBDefines' do |ss| - ss.header_dir = 'FBDefines' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/FBDefines/**/*.h' - ss.public_header_files = 'iOS/FBDefines/**/*.h' - end - - spec.subspec 'CppBridge' do |ss| - ss.header_dir = 'CppBridge' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h' - ss.preserve_path = 'SonarKit/CppBridge/**/*.h' - end - - spec.subspec 'FBCxxUtils' do |ss| - ss.header_dir = 'FBCxxUtils' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}' - # We set these files as private headers since they only need to be accessed - # by other SonarKit source files - ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h' - end - - spec.subspec "Core" do |ss| - ss.dependency 'SonarKit/FBDefines' - ss.dependency 'SonarKit/FBCxxUtils' - ss.dependency 'SonarKit/CppBridge' - ss.dependency 'Folly', '~>1.1' - ss.dependency 'Sonar', '~>'+sonarkit_version - ss.dependency 'CocoaAsyncSocket', '~> 7.6' - ss.dependency 'PeerTalk', '~>0.0.2' - ss.dependency 'OpenSSL-Static', '1.0.2.c1' - ss.compiler_flags = folly_compiler_flags - ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}' - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h', - 'iOS/FBDefines/FBMacros.h', - 'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h' - header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\"" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "DEFINES_MODULE" => "YES", - "HEADER_SEARCH_PATHS" => header_search_paths } - end - - spec.subspec "SonarKitLayoutPlugin" do |ss| - ss.header_dir = "SonarKitLayoutPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'YogaKit', yogakit_version - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h' - ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}' - end - - spec.subspec "SonarKitLayoutComponentKitSupport" do |ss| - ss.header_dir = "SonarKitLayoutComponentKitSupport" - ss.dependency 'SonarKit/Core' - ss.dependency 'Yoga', yoga_version - ss.dependency 'ComponentKit' - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.compiler_flags = folly_compiler_flags - ss.dependency 'SonarKit/SonarKitLayoutPlugin' - ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h', - 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h' - - ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SonarKitNetworkPlugin" do |ss| - ss.header_dir = "SonarKitNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h', - 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end - - spec.subspec "SKIOSNetworkPlugin" do |ss| - ss.header_dir = "SKIOSNetworkPlugin" - ss.dependency 'SonarKit/Core' - ss.dependency 'SonarKit/SonarKitNetworkPlugin' - ss.compiler_flags = folly_compiler_flags - ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h' - ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" } - end -end diff --git a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/ComponentDataExtractor.kt b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/ComponentDataExtractor.kt index a07286d0e..cd4af8da6 100644 --- a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/ComponentDataExtractor.kt +++ b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/ComponentDataExtractor.kt @@ -99,7 +99,19 @@ object ComponentDataExtractor { val id = getMetadataId(componentName, field.name) val editorValue: EditorValue? = EditorRegistry.read(field.type, field, stateContainer) if (editorValue != null) { - stateFields[id] = toInspectable(field.name, editorValue) + + val inspectable = toInspectable(field.name, editorValue) + + if (inspectable is InspectableArray) { + inspectable.items.forEachIndexed { idx, item -> + val metadataId = + MetadataRegister.register( + MetadataRegister.TYPE_ATTRIBUTE, "kstate", idx.toString()) + stateFields[metadataId] = item + } + } else { + stateFields[id] = toInspectable(field.name, editorValue) + } } } } diff --git a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/LayoutPropExtractor.kt b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/LayoutPropExtractor.kt index a2f2ef651..22a9f1f6c 100644 --- a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/LayoutPropExtractor.kt +++ b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/props/LayoutPropExtractor.kt @@ -127,202 +127,70 @@ object LayoutPropExtractor { private val RotationId = MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "rotation") - private val EmptyId = MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "") + private val ResolvedId = + MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "resolved") private val NoneId = MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "none") private val SizeId = MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "size") private val ViewOutputId = MetadataRegister.register(MetadataRegister.TYPE_ATTRIBUTE, NAMESPACE, "viewOutput") - fun getInspectableBox( - left: YogaValue?, - top: YogaValue?, - right: YogaValue?, - bottom: YogaValue?, - horizontal: YogaValue?, - vertical: YogaValue?, - all: YogaValue?, - start: YogaValue?, - end: YogaValue? + /** constructs an object type containing any inputs that were provided and the resolved values */ + private fun getInspectableBox( + leftInput: Inspectable?, + topInput: Inspectable?, + rightInput: Inspectable?, + bottomInput: Inspectable?, + horizontalInput: Inspectable?, + verticalInput: Inspectable?, + allInput: Inspectable?, + startInput: Inspectable?, + endInput: Inspectable?, + leftResolved: Float?, + topResolved: Float?, + rightResolved: Float?, + bottomResolved: Float?, ): InspectableObject { val props = mutableMapOf() - var actualLeft = 0 - var actualTop = 0 - var actualRight = 0 - var actualBottom = 0 + allInput?.let { props[AllId] = it } + horizontalInput?.let { props[HorizontalId] = it } + verticalInput?.let { props[VerticalId] = it } + leftInput?.let { props[LeftId] = it } + rightInput?.let { props[RightId] = it } + topInput?.let { props[TopId] = it } + bottomInput?.let { props[BottomId] = it } + startInput?.let { props[StartId] = it } + endInput?.let { props[EndId] = it } - all?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualLeft = intValue - actualTop = intValue - actualRight = intValue - actualBottom = intValue - } - - props[AllId] = InspectableValue.Text(yogaValue.toString()) - } + if (leftResolved != null && + rightResolved != null && + topResolved != null && + bottomResolved != null) { + props[ResolvedId] = + InspectableValue.SpaceBox( + SpaceBox( + left = leftResolved.toInt(), + right = rightResolved.toInt(), + bottom = bottomResolved.toInt(), + top = topResolved.toInt())) } - horizontal?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualLeft = intValue - actualRight = intValue - } - - props[HorizontalId] = InspectableValue.Text(yogaValue.toString()) - } - } - - vertical?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualTop = intValue - actualBottom = intValue - } - - props[VerticalId] = InspectableValue.Text(yogaValue.toString()) - } - } - - left?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualLeft = intValue - } - - props[LeftId] = InspectableValue.Text(yogaValue.toString()) - } - } - - right?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualRight = intValue - } - - props[RightId] = InspectableValue.Text(yogaValue.toString()) - } - } - - top?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualTop = intValue - } - - props[TopId] = InspectableValue.Text(yogaValue.toString()) - } - } - - bottom?.let { yogaValue -> - if (yogaValue.unit != YogaUnit.UNDEFINED) { - if (yogaValue.unit == YogaUnit.POINT || yogaValue.unit == YogaUnit.PERCENT) { - val intValue = yogaValue.value.toInt() - actualBottom = intValue - } - - props[BottomId] = InspectableValue.Text(yogaValue.toString()) - } - } - - props[EmptyId] = - InspectableValue.SpaceBox(SpaceBox(actualTop, actualRight, actualBottom, actualLeft)) - return InspectableObject(props) } - fun getInspectableBoxRaw( - left: Float?, - top: Float?, - right: Float?, - bottom: Float?, - horizontal: Float?, - vertical: Float?, - all: Float?, - start: Float?, - end: Float? - ): InspectableObject { - val props = mutableMapOf() - - var actualLeft = 0 - var actualTop = 0 - var actualRight = 0 - var actualBottom = 0 - - all?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualLeft = intValue - actualTop = intValue - actualRight = intValue - actualBottom = intValue - props[AllId] = InspectableValue.Number(value) + private fun toInspectable(yogaValue: YogaValue) = + if (yogaValue.unit != YogaUnit.UNDEFINED) { + InspectableValue.Text(yogaValue.toString()) + } else { + null } - } - horizontal?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualLeft = intValue - actualRight = intValue - props[HorizontalId] = InspectableValue.Number(value) + private fun toInspectable(value: Float) = + if (value.isNaN()) { + null + } else { + InspectableValue.Number(value) } - } - - vertical?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualTop = intValue - actualBottom = intValue - props[VerticalId] = InspectableValue.Number(value) - } - } - - left?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualLeft = intValue - props[LeftId] = InspectableValue.Number(value) - } - } - - right?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualRight = intValue - props[RightId] = InspectableValue.Number(value) - } - } - - top?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualTop = intValue - props[TopId] = InspectableValue.Number(value) - } - } - - bottom?.let { value -> - if (!value.isNaN()) { - val intValue = value.toInt() - actualBottom = intValue - props[BottomId] = InspectableValue.Number(value) - } - } - - props[EmptyId] = - InspectableValue.SpaceBox(SpaceBox(actualTop, actualRight, actualBottom, actualLeft)) - - return InspectableObject(props) - } fun getProps(component: DebugComponent): Map { val props = mutableMapOf() @@ -366,51 +234,68 @@ object LayoutPropExtractor { props[MarginId] = getInspectableBox( - layout.getMargin(YogaEdge.LEFT), - layout.getMargin(YogaEdge.TOP), - layout.getMargin(YogaEdge.RIGHT), - layout.getMargin(YogaEdge.BOTTOM), - layout.getMargin(YogaEdge.HORIZONTAL), - layout.getMargin(YogaEdge.VERTICAL), - layout.getMargin(YogaEdge.ALL), - layout.getMargin(YogaEdge.START), - layout.getMargin(YogaEdge.END)) + leftInput = toInspectable(layout.getMargin(YogaEdge.LEFT)), + topInput = toInspectable(layout.getMargin(YogaEdge.TOP)), + rightInput = toInspectable(layout.getMargin(YogaEdge.RIGHT)), + bottomInput = toInspectable(layout.getMargin(YogaEdge.BOTTOM)), + horizontalInput = toInspectable(layout.getMargin(YogaEdge.HORIZONTAL)), + verticalInput = toInspectable(layout.getMargin(YogaEdge.VERTICAL)), + allInput = toInspectable(layout.getMargin(YogaEdge.ALL)), + startInput = toInspectable(layout.getMargin(YogaEdge.START)), + endInput = toInspectable(layout.getMargin(YogaEdge.END)), + leftResolved = layout.getLayoutMargin(YogaEdge.LEFT), + rightResolved = layout.getLayoutMargin(YogaEdge.RIGHT), + topResolved = layout.getLayoutMargin(YogaEdge.TOP), + bottomResolved = layout.getLayoutMargin(YogaEdge.BOTTOM), + ) props[PaddingId] = getInspectableBox( - layout.getPadding(YogaEdge.LEFT), - layout.getPadding(YogaEdge.TOP), - layout.getPadding(YogaEdge.RIGHT), - layout.getPadding(YogaEdge.BOTTOM), - layout.getPadding(YogaEdge.HORIZONTAL), - layout.getPadding(YogaEdge.VERTICAL), - layout.getPadding(YogaEdge.ALL), - layout.getPadding(YogaEdge.START), - layout.getPadding(YogaEdge.END)) + leftInput = toInspectable(layout.getPadding(YogaEdge.LEFT)), + topInput = toInspectable(layout.getPadding(YogaEdge.TOP)), + rightInput = toInspectable(layout.getPadding(YogaEdge.RIGHT)), + bottomInput = toInspectable(layout.getPadding(YogaEdge.BOTTOM)), + horizontalInput = toInspectable(layout.getPadding(YogaEdge.HORIZONTAL)), + verticalInput = toInspectable(layout.getPadding(YogaEdge.VERTICAL)), + allInput = toInspectable(layout.getPadding(YogaEdge.ALL)), + startInput = toInspectable(layout.getPadding(YogaEdge.START)), + endInput = toInspectable(layout.getPadding(YogaEdge.END)), + leftResolved = layout.getLayoutPadding(YogaEdge.LEFT), + rightResolved = layout.getLayoutPadding(YogaEdge.RIGHT), + topResolved = layout.getLayoutPadding(YogaEdge.TOP), + bottomResolved = layout.getLayoutPadding(YogaEdge.BOTTOM)) props[BorderId] = - getInspectableBoxRaw( - layout.getBorderWidth(YogaEdge.LEFT), - layout.getBorderWidth(YogaEdge.TOP), - layout.getBorderWidth(YogaEdge.RIGHT), - layout.getBorderWidth(YogaEdge.BOTTOM), - layout.getBorderWidth(YogaEdge.HORIZONTAL), - layout.getBorderWidth(YogaEdge.VERTICAL), - layout.getBorderWidth(YogaEdge.ALL), - layout.getBorderWidth(YogaEdge.START), - layout.getBorderWidth(YogaEdge.END)) + getInspectableBox( + toInspectable(layout.getBorderWidth(YogaEdge.LEFT)), + toInspectable(layout.getBorderWidth(YogaEdge.TOP)), + toInspectable(layout.getBorderWidth(YogaEdge.RIGHT)), + toInspectable(layout.getBorderWidth(YogaEdge.BOTTOM)), + toInspectable(layout.getBorderWidth(YogaEdge.HORIZONTAL)), + toInspectable(layout.getBorderWidth(YogaEdge.VERTICAL)), + toInspectable(layout.getBorderWidth(YogaEdge.ALL)), + toInspectable(layout.getBorderWidth(YogaEdge.START)), + toInspectable(layout.getBorderWidth(YogaEdge.END)), + null, // todo expose layout border from litho + null, + null, + null) props[PositionId] = getInspectableBox( - layout.getPosition(YogaEdge.LEFT), - layout.getPosition(YogaEdge.TOP), - layout.getPosition(YogaEdge.RIGHT), - layout.getPosition(YogaEdge.BOTTOM), - layout.getPosition(YogaEdge.HORIZONTAL), - layout.getPosition(YogaEdge.VERTICAL), - layout.getPosition(YogaEdge.ALL), - layout.getPosition(YogaEdge.START), - layout.getPosition(YogaEdge.END)) + toInspectable(layout.getPosition(YogaEdge.LEFT)), + toInspectable(layout.getPosition(YogaEdge.TOP)), + toInspectable(layout.getPosition(YogaEdge.RIGHT)), + toInspectable(layout.getPosition(YogaEdge.BOTTOM)), + toInspectable(layout.getPosition(YogaEdge.HORIZONTAL)), + toInspectable(layout.getPosition(YogaEdge.VERTICAL)), + toInspectable(layout.getPosition(YogaEdge.ALL)), + toInspectable(layout.getPosition(YogaEdge.START)), + toInspectable(layout.getPosition(YogaEdge.END)), + null, + null, + null, + null) val viewOutput: MutableMap = mutableMapOf() viewOutput[HasViewOutputId] = InspectableValue.Boolean(layout.hasViewOutput()) diff --git a/android/plugins/litho/src/test/java/com/facebook/flipper/plugins/uidebugger/litho/KStateContainerExtractionTest.kt b/android/plugins/litho/src/test/java/com/facebook/flipper/plugins/uidebugger/litho/KStateContainerExtractionTest.kt index b87333700..75bcfcbdb 100644 --- a/android/plugins/litho/src/test/java/com/facebook/flipper/plugins/uidebugger/litho/KStateContainerExtractionTest.kt +++ b/android/plugins/litho/src/test/java/com/facebook/flipper/plugins/uidebugger/litho/KStateContainerExtractionTest.kt @@ -5,8 +5,8 @@ * LICENSE file in the root directory of this source tree. */ +import com.facebook.flipper.plugins.uidebugger.descriptors.MetadataRegister import com.facebook.flipper.plugins.uidebugger.litho.descriptors.props.ComponentDataExtractor -import com.facebook.flipper.plugins.uidebugger.model.InspectableArray import com.facebook.flipper.plugins.uidebugger.model.InspectableObject import com.facebook.flipper.plugins.uidebugger.model.InspectableValue import com.facebook.litho.KStateContainer @@ -16,16 +16,22 @@ import org.junit.Test class KStateContainerExtractionTest { @Test @Throws(Exception::class) - fun testCanExtractKState() { + fun testCanExtractKStateIntoSeparateAttributesByIndex() { // this test ensures that our reflection based extraction doesn't break if the KState class // structure changes - val stateContainer = KStateContainer.withNewState(null, "foo") + MetadataRegister.reset() + val stateContainer = + KStateContainer.withNewState(KStateContainer.withNewState(null, "foo"), true) val result = ComponentDataExtractor.getState(stateContainer, "Comp1") + val first = MetadataRegister.get("kstate", "0")?.id ?: -1 + val second = MetadataRegister.get("kstate", "1")?.id ?: -2 assertEquals( + InspectableObject( + mapOf(first to InspectableValue.Text("foo"), second to InspectableValue.Boolean(true))), result, - InspectableObject(mapOf(1 to InspectableArray(listOf(InspectableValue.Text("foo")))))) + ) } } diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/core/UIDContext.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/core/UIDContext.kt index 83ed3f111..bd2a275d3 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/core/UIDContext.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/core/UIDContext.kt @@ -13,10 +13,12 @@ import com.facebook.flipper.plugins.uidebugger.common.BitmapPool import com.facebook.flipper.plugins.uidebugger.descriptors.DescriptorRegister import com.facebook.flipper.plugins.uidebugger.model.FrameworkEvent import com.facebook.flipper.plugins.uidebugger.model.FrameworkEventMetadata +import com.facebook.flipper.plugins.uidebugger.model.TraversalError import com.facebook.flipper.plugins.uidebugger.observers.TreeObserverFactory import com.facebook.flipper.plugins.uidebugger.observers.TreeObserverManager import com.facebook.flipper.plugins.uidebugger.scheduler.SharedThrottle import com.facebook.flipper.plugins.uidebugger.traversal.PartialLayoutTraversal +import kotlinx.serialization.json.Json interface ConnectionListener { fun onConnect() @@ -34,8 +36,7 @@ class UIDContext( private val pendingFrameworkEvents: MutableList ) { - val layoutTraversal: PartialLayoutTraversal = - PartialLayoutTraversal(descriptorRegister, observerFactory) + val layoutTraversal: PartialLayoutTraversal = PartialLayoutTraversal(this) val treeObserverManager = TreeObserverManager(this) val sharedThrottle: SharedThrottle = SharedThrottle() @@ -45,6 +46,11 @@ class UIDContext( synchronized(pendingFrameworkEvents) { pendingFrameworkEvents.add(frameworkEvent) } } + fun onError(traversalError: TraversalError) { + connectionRef.connection?.send( + TraversalError.name, Json.encodeToString(TraversalError.serializer(), traversalError)) + } + fun extractPendingFrameworkEvents(): List { synchronized(pendingFrameworkEvents) { val copy = pendingFrameworkEvents.toList() diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ViewPagerDescriptor.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ViewPagerDescriptor.kt index c322c25cc..3a6e08adf 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ViewPagerDescriptor.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/descriptors/ViewPagerDescriptor.kt @@ -23,6 +23,9 @@ object ViewPagerDescriptor : ChainedDescriptor() { override fun onGetActiveChild(node: ViewPager): Any? { val child = node.getChildAt(node.currentItem) + if (child == null) { + return null + } val fragment = FragmentTracker.getFragment(child) if (fragment != null) { return fragment diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Events.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Events.kt index 69624989f..def4febe7 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Events.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Events.kt @@ -10,21 +10,21 @@ package com.facebook.flipper.plugins.uidebugger.model import com.facebook.flipper.plugins.uidebugger.descriptors.Id @kotlinx.serialization.Serializable -data class InitEvent(val rootId: Id, val frameworkEventMetadata: List) { +class InitEvent(val rootId: Id, val frameworkEventMetadata: List) { companion object { const val name = "init" } } @kotlinx.serialization.Serializable -data class MetadataUpdateEvent(val attributeMetadata: Map = emptyMap()) { +class MetadataUpdateEvent(val attributeMetadata: Map = emptyMap()) { companion object { const val name = "metadataUpdate" } } @kotlinx.serialization.Serializable -data class FrameScanEvent( +class FrameScanEvent( val frameTime: Long, val nodes: List, val snapshot: Snapshot?, @@ -35,11 +35,23 @@ data class FrameScanEvent( } } -@kotlinx.serialization.Serializable data class Snapshot(val nodeId: Id, val data: String) +@kotlinx.serialization.Serializable +class TraversalError( + val nodeName: String, + val errorType: String, + val errorMessage: String, + val stack: String +) { + companion object { + const val name = "traversalError" + } +} + +@kotlinx.serialization.Serializable class Snapshot(val nodeId: Id, val data: String) /** Separate optional performance statistics event */ @kotlinx.serialization.Serializable -data class PerfStatsEvent( +class PerfStatsEvent( val txId: Long, val observerType: String, val nodesCount: Int, diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/FrameworkEvents.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/FrameworkEvents.kt index a5cd7f77d..28751660d 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/FrameworkEvents.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/FrameworkEvents.kt @@ -10,13 +10,13 @@ package com.facebook.flipper.plugins.uidebugger.model import com.facebook.flipper.plugins.uidebugger.descriptors.Id @kotlinx.serialization.Serializable -data class FrameworkEventMetadata( +class FrameworkEventMetadata( val type: String, val documentation: String, ) @kotlinx.serialization.Serializable -data class FrameworkEvent( +class FrameworkEvent( val treeId: Id, val nodeId: Id, val type: String, diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Metadata.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Metadata.kt index 0ad0915b7..56a148d85 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Metadata.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Metadata.kt @@ -17,7 +17,7 @@ typealias MetadataId = Int * identity, attributes, layout, documentation, or a custom type. */ @kotlinx.serialization.Serializable -data class Metadata( +class Metadata( val id: MetadataId, val type: String, val namespace: String, diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Types.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Types.kt index 47e99e777..9cbe5585f 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Types.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/model/Types.kt @@ -22,7 +22,7 @@ data class Bounds(val x: Int, val y: Int, val width: Int, val height: Int) { } @kotlinx.serialization.Serializable -data class SpaceBox(val top: Int, val right: Int, val bottom: Int, val left: Int) { +class SpaceBox(val top: Int, val right: Int, val bottom: Int, val left: Int) { companion object { fun fromRect(rect: Rect): SpaceBox { return SpaceBox(rect.top, rect.right, rect.bottom, rect.left) @@ -31,7 +31,7 @@ data class SpaceBox(val top: Int, val right: Int, val bottom: Int, val left: Int } @kotlinx.serialization.Serializable -data class Color(val r: Int, val g: Int, val b: Int, val a: Int) { +class Color(val r: Int, val g: Int, val b: Int, val a: Int) { companion object { fun fromColor(color: Int): Color { val alpha: Int = (color shr 24) and 0xFF / 255 @@ -48,20 +48,20 @@ data class Color(val r: Int, val g: Int, val b: Int, val a: Int) { } @kotlinx.serialization.Serializable -data class Coordinate( +class Coordinate( @Serializable(with = NumberSerializer::class) val x: Number, @Serializable(with = NumberSerializer::class) val y: Number ) {} @kotlinx.serialization.Serializable -data class Coordinate3D( +class Coordinate3D( @Serializable(with = NumberSerializer::class) val x: Number, @Serializable(with = NumberSerializer::class) val y: Number, @Serializable(with = NumberSerializer::class) val z: Number ) {} @kotlinx.serialization.Serializable -data class Size( +class Size( @Serializable(with = NumberSerializer::class) val width: Number, @Serializable(with = NumberSerializer::class) val height: Number ) {} diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/observers/TreeObserverManager.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/observers/TreeObserverManager.kt index 141adbb36..7abd8db7b 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/observers/TreeObserverManager.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/observers/TreeObserverManager.kt @@ -25,6 +25,7 @@ import com.facebook.flipper.plugins.uidebugger.model.MetadataUpdateEvent import com.facebook.flipper.plugins.uidebugger.model.Node import com.facebook.flipper.plugins.uidebugger.model.PerfStatsEvent import com.facebook.flipper.plugins.uidebugger.model.Snapshot +import com.facebook.flipper.plugins.uidebugger.model.TraversalError import com.facebook.flipper.plugins.uidebugger.util.MaybeDeferred import java.io.ByteArrayOutputStream import java.util.concurrent.atomic.AtomicInteger @@ -107,7 +108,19 @@ class TreeObserverManager(val context: UIDContext) { val workerThreadStartTimestamp = System.currentTimeMillis() - val nodes = batchedUpdate.updates.flatMap { it.deferredNodes.map { it.value() } } + val nodes = + try { + batchedUpdate.updates.flatMap { it.deferredNodes.map { it.value() } } + } catch (exception: Exception) { + context.onError( + TraversalError( + "DeferredProcessing", + exception.javaClass.simpleName, + exception.message ?: "", + exception.stackTraceToString())) + return + } + val frameworkEvents = context.extractPendingFrameworkEvents() val snapshotUpdate = batchedUpdate.updates.find { it.snapshot != null } val deferredComputationEndTimestamp = System.currentTimeMillis() diff --git a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/traversal/PartialLayoutTraversal.kt b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/traversal/PartialLayoutTraversal.kt index 110019734..fd724ee57 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/uidebugger/traversal/PartialLayoutTraversal.kt +++ b/android/src/main/java/com/facebook/flipper/plugins/uidebugger/traversal/PartialLayoutTraversal.kt @@ -9,11 +9,11 @@ package com.facebook.flipper.plugins.uidebugger.traversal import android.util.Log import com.facebook.flipper.plugins.uidebugger.LogTag -import com.facebook.flipper.plugins.uidebugger.descriptors.DescriptorRegister +import com.facebook.flipper.plugins.uidebugger.core.UIDContext import com.facebook.flipper.plugins.uidebugger.descriptors.Id import com.facebook.flipper.plugins.uidebugger.descriptors.NodeDescriptor import com.facebook.flipper.plugins.uidebugger.model.Node -import com.facebook.flipper.plugins.uidebugger.observers.TreeObserverFactory +import com.facebook.flipper.plugins.uidebugger.model.TraversalError import com.facebook.flipper.plugins.uidebugger.util.Immediate import com.facebook.flipper.plugins.uidebugger.util.MaybeDeferred @@ -24,12 +24,11 @@ import com.facebook.flipper.plugins.uidebugger.util.MaybeDeferred * - The second item are any observable roots discovered. */ class PartialLayoutTraversal( - private val descriptorRegister: DescriptorRegister, - private val treeObserverFactory: TreeObserverFactory, + private val context: UIDContext, ) { @Suppress("unchecked_cast") - internal fun NodeDescriptor<*>.asAny(): NodeDescriptor = this as NodeDescriptor + private fun NodeDescriptor<*>.asAny(): NodeDescriptor = this as NodeDescriptor fun traverse(root: Any, parentId: Id?): Pair>, List>> { @@ -47,12 +46,13 @@ class PartialLayoutTraversal( try { // If we encounter a node that has it own observer, don't traverse - if (node != root && treeObserverFactory.hasObserverFor(node)) { + if (node != root && context.observerFactory.hasObserverFor(node)) { observableRoots.add((node to parentId)) continue } - val descriptor = descriptorRegister.descriptorForClassUnsafe(node::class.java).asAny() + val descriptor = + context.descriptorRegister.descriptorForClassUnsafe(node::class.java).asAny() val curId = descriptor.getId(node) if (shallow.contains(node)) { @@ -82,13 +82,13 @@ class PartialLayoutTraversal( var activeChildId: Id? = null if (activeChild != null) { val activeChildDescriptor = - descriptorRegister.descriptorForClassUnsafe(activeChild.javaClass) + context.descriptorRegister.descriptorForClassUnsafe(activeChild.javaClass) activeChildId = activeChildDescriptor.getId(activeChild) } val childrenIds = mutableListOf() children.forEach { child -> - val childDescriptor = descriptorRegister.descriptorForClassUnsafe(child.javaClass) + val childDescriptor = context.descriptorRegister.descriptorForClassUnsafe(child.javaClass) childrenIds.add(childDescriptor.getId(child)) stack.add(Pair(child, curId)) // If there is an active child then don't traverse it @@ -117,6 +117,12 @@ class PartialLayoutTraversal( }) } catch (exception: Exception) { Log.e(LogTag, "Error while processing node ${node.javaClass.name} $node", exception) + context.onError( + TraversalError( + node.javaClass.simpleName, + exception.javaClass.simpleName, + exception.message ?: "", + exception.stackTraceToString())) } } diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java index 9d8879e77..5ab13c00e 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java @@ -42,7 +42,7 @@ import org.robolectric.annotation.LooperMode; @LooperMode(LEGACY) @RunWith(RobolectricTestRunner.class) -@Config(sdk = 16) +@Config(sdk = 19) public class InspectorFlipperPluginTest { private MockApplicationDescriptor mApplicationDescriptor; diff --git a/build.gradle b/build.gradle index 3e497f533..109b8d1bf 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.1.0' + classpath 'com.android.tools.build:gradle:8.1.2' classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION" classpath "org.jetbrains.kotlin:kotlin-serialization:$KOTLIN_VERSION" diff --git a/desktop/.eslintignore b/desktop/.eslintignore index 08105f881..996a2974f 100644 --- a/desktop/.eslintignore +++ b/desktop/.eslintignore @@ -13,5 +13,6 @@ react-native/ReactNativeFlipperExample scripts/generate-changelog.js static/index.js static/defaultPlugins/* +static/facebook/flipper-server-app-template generated flipper-server/static diff --git a/desktop/.eslintrc.js b/desktop/.eslintrc.js index 3f6c79bf9..c66b79852 100644 --- a/desktop/.eslintrc.js +++ b/desktop/.eslintrc.js @@ -204,7 +204,7 @@ module.exports = { 'no-dupe-class-members': 0, '@typescript-eslint/no-redeclare': 1, '@typescript-eslint/no-unused-vars': [ - 1, + 2, { ignoreRestSiblings: true, varsIgnorePattern: '^_', diff --git a/desktop/.gitignore b/desktop/.gitignore index 11851aab5..a23584694 100644 --- a/desktop/.gitignore +++ b/desktop/.gitignore @@ -12,3 +12,4 @@ tsc-error.log /flipper-server/static/ /static/flipper-server-log* /static/.audit.json +/static/icons/*_d.png diff --git a/desktop/app/src/init.tsx b/desktop/app/src/init.tsx index 80d697ad7..697d66c49 100644 --- a/desktop/app/src/init.tsx +++ b/desktop/app/src/init.tsx @@ -22,7 +22,6 @@ import { checkPortInUse, getAuthToken, getEnvironmentInfo, - hasAuthToken, setupPrefetcher, startFlipperServer, startServer, @@ -112,19 +111,6 @@ async function getFlipperServer( ); const keytar: KeytarModule | undefined = await getKeytarModule(staticPath); const port = 52342; - /** - * Only attempt to use the auth token if one is available. Otherwise, - * trying to get the auth token will try to generate one if it does not exist. - * At this state, it would be impossible to generate it as our certificates - * may not be available yet. - */ - let token: string | undefined; - if (await hasAuthToken()) { - token = await getAuthToken(); - } - - const searchParams = new URLSearchParams(token ? {token} : {}); - const TCPconnectionURL = new URL(`ws://localhost:${port}?${searchParams}`); async function shutdown(): Promise { console.info('[flipper-server] Attempt to shutdown.'); @@ -173,6 +159,10 @@ async function getFlipperServer( environmentInfo, ); + const token: string = await getAuthToken(); + const searchParams = new URLSearchParams({token}); + const TCPconnectionURL = new URL(`ws://localhost:${port}?${searchParams}`); + const companionEnv = await initCompanionEnv(server); await server.connect(); await readyForIncomingConnections(server, companionEnv); diff --git a/desktop/app/src/utils/__tests__/icons.node.tsx b/desktop/app/src/utils/__tests__/icons.node.tsx index 7e60a42b7..10c5ce27f 100644 --- a/desktop/app/src/utils/__tests__/icons.node.tsx +++ b/desktop/app/src/utils/__tests__/icons.node.tsx @@ -19,9 +19,8 @@ test('filled icons get correct local path', () => { name: 'star', variant: 'filled', size: 12, - density: 2, }); - expect(iconPath).toBe(path.join('icons', 'star-filled-12@2x.png')); + expect(iconPath).toBe(path.join('icons', 'star-filled_d.png')); }); test('outline icons get correct local path', () => { @@ -29,9 +28,8 @@ test('outline icons get correct local path', () => { name: 'star', variant: 'outline', size: 12, - density: 2, }); - expect(iconPath).toBe(path.join('icons', 'star-outline-12@2x.png')); + expect(iconPath).toBe(path.join('icons', 'star-outline_d.png')); }); test('filled icons get correct URL', async () => { @@ -39,11 +37,10 @@ test('filled icons get correct URL', async () => { name: 'star', variant: 'filled', size: 12, - density: 2, } as const; const iconUrl = getPublicIconUrl(icon); expect(iconUrl).toBe( - 'https://facebook.com/images/assets_DO_NOT_HARDCODE/facebook_icons/star_filled_12.png', // TODO: support density? + 'https://facebook.com/images/assets_DO_NOT_HARDCODE/facebook_icons/star_filled_12.png', ); const staticPath = getRenderHostInstance().serverConfig.paths.staticPath; const localUrl = getLocalIconUrl(icon, iconUrl, staticPath, false); @@ -51,7 +48,7 @@ test('filled icons get correct URL', async () => { expect(localUrl).toBe(iconUrl); // ... let's mock a file - const iconPath = path.join(staticPath, 'icons', 'star-filled-12@2x.png'); + const iconPath = path.join(staticPath, 'icons', 'star-filled_d.png'); try { await fs.promises.writeFile( iconPath, diff --git a/desktop/app/src/utils/icons.tsx b/desktop/app/src/utils/icons.tsx index c8993a3b4..6e83daa17 100644 --- a/desktop/app/src/utils/icons.tsx +++ b/desktop/app/src/utils/icons.tsx @@ -23,7 +23,7 @@ let _icons: Icons | undefined; function getIconsSync(staticPath: string): Icons { return ( - _icons! ?? + _icons ?? (_icons = JSON.parse( fs.readFileSync(path.join(staticPath, 'icons.json'), {encoding: 'utf8'}), )) @@ -31,10 +31,7 @@ function getIconsSync(staticPath: string): Icons { } export function buildLocalIconPath(icon: Icon) { - return path.join( - 'icons', - `${icon.name}-${icon.variant}-${icon.size}@${icon.density}x.png`, - ); + return path.join('icons', `${icon.name}-${icon.variant}_d.png`); } export function getLocalIconUrl( @@ -68,7 +65,7 @@ function tryRegisterIcon(icon: Icon, url: string, staticPath: string) { if (res.status !== 200) { throw new Error( // eslint-disable-next-line prettier/prettier - `Trying to use icon '${entryName}' with size ${size} and density ${icon.density}, however the icon doesn't seem to exists at ${url}: ${res.status}`, + `Trying to use icon '${entryName}' with size ${size}, however the icon doesn't seem to exists at ${url}: ${res.status}`, ); } if (!existing.includes(size)) { diff --git a/desktop/doctor/src/fb-stubs/validateSelectedXcodeVersion.tsx b/desktop/doctor/src/fb-stubs/validateSelectedXcodeVersion.tsx new file mode 100644 index 000000000..b00b39c9e --- /dev/null +++ b/desktop/doctor/src/fb-stubs/validateSelectedXcodeVersion.tsx @@ -0,0 +1,19 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +import {FlipperDoctor} from 'flipper-common'; + +export async function validateSelectedXcodeVersion( + _selectedPath: string, +): Promise { + return { + hasProblem: false, + message: '', + }; +} diff --git a/desktop/doctor/src/index.tsx b/desktop/doctor/src/index.tsx index b2f353d64..22fb87da6 100644 --- a/desktop/doctor/src/index.tsx +++ b/desktop/doctor/src/index.tsx @@ -18,6 +18,7 @@ import * as path from 'path'; import type {FlipperDoctor} from 'flipper-common'; import * as fs_extra from 'fs-extra'; import {getIdbInstallationInstructions} from './fb-stubs/idbInstallationInstructions'; +import {validateSelectedXcodeVersion} from './fb-stubs/validateSelectedXcodeVersion'; export function getHealthchecks(): FlipperDoctor.Healthchecks { return { @@ -177,25 +178,39 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks { isRequired: true, run: async (_: FlipperDoctor.EnvironmentInfo) => { const result = await tryExecuteCommand('xcode-select -p'); + const selectXcodeCommands = [ + { + title: 'Select Xcode version', + command: `sudo xcode-select -switch Xcode.app`, + }, + ]; if (result.hasProblem) { return { hasProblem: true, - message: `Xcode version is not selected. You can select it using command "sudo xcode-select -switch Xcode.app". ${result.message}.`, + message: `Xcode version is not selected. ${result.message}.`, + commands: selectXcodeCommands, }; } - const selectedXcode = result.stdout!.toString().trim(); + const selectedXcode = result.stdout.toString().trim(); if (selectedXcode == '/Library/Developer/CommandLineTools') { return { hasProblem: true, - message: `xcode-select has no Xcode selected, You can select it using command "sudo xcode-select -switch Xcode.app".`, + message: `xcode-select has no Xcode selected.`, + commands: selectXcodeCommands, }; } if ((await fs_extra.pathExists(selectedXcode)) == false) { return { hasProblem: true, - message: `xcode-select has path of ${selectedXcode}, however this path does not exist on disk. Run "sudo xcode-select --switch" with a valid Xcode.app path.`, + message: `xcode-select has path of ${selectedXcode}, however this path does not exist on disk.`, + commands: selectXcodeCommands, }; } + const validatedXcodeVersion = + await validateSelectedXcodeVersion(selectedXcode); + if (validatedXcodeVersion.hasProblem) { + return validatedXcodeVersion; + } return { hasProblem: false, message: `xcode-select has path of ${selectedXcode}.`, diff --git a/desktop/flipper-common/src/doctor.tsx b/desktop/flipper-common/src/doctor.tsx index aabb07728..0c5cec8ae 100644 --- a/desktop/flipper-common/src/doctor.tsx +++ b/desktop/flipper-common/src/doctor.tsx @@ -64,14 +64,28 @@ export namespace FlipperDoctor { ) => Promise; }; + export type CliCommand = { + title: string; + command: string; + }; + export type HealthcheckRunResult = { hasProblem: boolean; message: string; + /** + * Commands to show to mitigate a problem or hint for more information + */ + commands?: CliCommand[]; }; - export type SubprocessHealtcheckRunResult = HealthcheckRunResult & { - stdout?: string; - }; + export type SubprocessHealtcheckRunResult = + | (HealthcheckRunResult & { + hasProblem: true; + }) + | (HealthcheckRunResult & { + hasProblem: false; + stdout: string; + }); export type CategoryResult = [ string, @@ -99,6 +113,7 @@ export namespace FlipperDoctor { status: HealthcheckStatus; isAcknowledged?: boolean; message?: string; + commands?: CliCommand[]; }; export type HealthcheckReportItem = { diff --git a/desktop/flipper-common/src/server-types.tsx b/desktop/flipper-common/src/server-types.tsx index 1591ec715..cb285b123 100644 --- a/desktop/flipper-common/src/server-types.tsx +++ b/desktop/flipper-common/src/server-types.tsx @@ -380,6 +380,7 @@ export type FlipperServerCommands = { shutdown: () => Promise; 'is-logged-in': () => Promise; 'environment-info': () => Promise; + 'move-pwa': () => Promise; }; export type GraphResponse = { diff --git a/desktop/flipper-frontend-core/package.json b/desktop/flipper-frontend-core/package.json index 6d694fc90..4bc3c6bdf 100644 --- a/desktop/flipper-frontend-core/package.json +++ b/desktop/flipper-frontend-core/package.json @@ -15,7 +15,6 @@ "immer": "^9.0.18", "js-base64": "^3.7.5", "p-map": "^4.0.0", - "reconnecting-websocket": "^4.4.0", "semver": "^7.5.4" }, "devDependencies": { diff --git a/desktop/flipper-frontend-core/src/RenderHost.tsx b/desktop/flipper-frontend-core/src/RenderHost.tsx index 1662b40dd..3f99acc2c 100644 --- a/desktop/flipper-frontend-core/src/RenderHost.tsx +++ b/desktop/flipper-frontend-core/src/RenderHost.tsx @@ -20,7 +20,6 @@ type Icon = { name: string; variant: 'outline' | 'filled'; size: number; - density: number; }; interface NotificationAction { diff --git a/desktop/flipper-plugin/package.json b/desktop/flipper-plugin/package.json index 2210a01a8..5cc26703e 100644 --- a/desktop/flipper-plugin/package.json +++ b/desktop/flipper-plugin/package.json @@ -17,7 +17,6 @@ "@types/react-color": "2.13.5", "@types/react-dom": "^17.0.13", "dayjs": "^1.11.10", - "eventemitter3": "^4.0.7", "flipper-common": "0.0.0", "flipper-plugin-core": "0.0.0", "immer": "^9.0.18", diff --git a/desktop/flipper-plugin/src/ui/Container.tsx b/desktop/flipper-plugin/src/ui/Container.tsx index bb3e10e1f..a7afb9c1c 100644 --- a/desktop/flipper-plugin/src/ui/Container.tsx +++ b/desktop/flipper-plugin/src/ui/Container.tsx @@ -7,7 +7,7 @@ * @format */ -import React, {CSSProperties, forwardRef} from 'react'; +import React from 'react'; import styled from '@emotion/styled'; import { normalizePadding, diff --git a/desktop/flipper-plugin/src/ui/NUX.tsx b/desktop/flipper-plugin/src/ui/NUX.tsx index b01b62f7b..1f7326375 100644 --- a/desktop/flipper-plugin/src/ui/NUX.tsx +++ b/desktop/flipper-plugin/src/ui/NUX.tsx @@ -16,7 +16,6 @@ import React, { } from 'react'; import {Badge, Tooltip, Typography, Button} from 'antd'; import styled from '@emotion/styled'; -import {keyframes} from '@emotion/css'; import reactElementToJSXString from 'react-element-to-jsx-string'; import {SandyPluginContext} from '../plugin/PluginContext'; import {createState} from 'flipper-plugin-core'; diff --git a/desktop/flipper-plugin/src/ui/Panel.tsx b/desktop/flipper-plugin/src/ui/Panel.tsx index d8a4b55f7..efd3f9127 100644 --- a/desktop/flipper-plugin/src/ui/Panel.tsx +++ b/desktop/flipper-plugin/src/ui/Panel.tsx @@ -29,6 +29,7 @@ export const Panel: React.FC<{ pad?: Spacing; gap?: Spacing; extraActions?: React.ReactElement | null; + className?: string; }> = (props) => { const [collapsed, setCollapsed] = useLocalStorageState( `panel:${props.title}:collapsed`, @@ -45,6 +46,7 @@ export const Panel: React.FC<{ return ( diff --git a/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchContainer.tsx b/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchContainer.tsx index 8645cc38e..3d67666bb 100644 --- a/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchContainer.tsx +++ b/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchContainer.tsx @@ -13,7 +13,7 @@ import {theme} from '../theme'; const containerStyle = css` flex: 1 0 auto; - background-color: ${theme.white}; + background-color: ${theme.backgroundDefault}; display: flex; flex-direction: row; border-radius: ${theme.borderRadius}; diff --git a/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchEnumTerm.tsx b/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchEnumTerm.tsx index 76c621be5..7d8fb9b73 100644 --- a/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchEnumTerm.tsx +++ b/desktop/flipper-plugin/src/ui/PowerSearch/PowerSearchEnumTerm.tsx @@ -32,6 +32,37 @@ export const PowerSearchEnumTerm: React.FC = ({ })); }, [enumLabels]); + const width = React.useMemo(() => { + const minWidth = 100; + const maxWidth = 250; + + let longestOptionLabelWidth = 0; + Object.values(enumLabels).forEach((label) => { + if (label.length > longestOptionLabelWidth) { + longestOptionLabelWidth = label.length; + } + }); + + // 10px is an emperically calculated multiplier. + // A proper way to do it is to actually render the longest option and measure it + // But then we will have to render top X longest options, + // because, potentially, a string with X reeeeally wide chars could be longer than X+1 narrow chars. + // Anyhow, it seems too complex for such a simple thing a detecting the width of the select and teh dropdown + // (the dropdown is the one that actually matters from the UX perspective - users use it to select the option they want) + // Feel to increase 10 to any other value if necessary (11?) + const longestOptionsLabelWidthPx = longestOptionLabelWidth * 10; + + if (longestOptionsLabelWidthPx < minWidth) { + return minWidth; + } + + if (longestOptionsLabelWidthPx > maxWidth) { + return maxWidth; + } + + return longestOptionsLabelWidthPx; + }, [enumLabels]); + const selectValueRef = React.useRef(); if (defaultValue && !selectValueRef.current) { selectValueRef.current = defaultValue; @@ -41,7 +72,7 @@ export const PowerSearchEnumTerm: React.FC = ({ return ( setAttributeFilter(e.target.value)} + placeholder="Filter attributes" + prefix={} + /> + + {sections.length === 0 ? ( + + ) : ( + sections.concat([ + + + , + ]) + )} + + + ); +} + +function AttributeSection( + metadataMap: MetadataMap, + name: string, + inspectable: InspectableObject, + onDisplayModal: (modaldata: ModalData) => void, + attributeFilter: string, +) { + const attributesOrSubSubsections = Object.entries(inspectable.fields) + .map(([fieldKey, attributeValue]) => { + const metadataId: number = Number(fieldKey); + const attributeMetadata = metadataMap.get(metadataId); + const attributeName = + upperFirst(attributeMetadata?.name) ?? String(metadataId); + //subsections are complex types that are only 1 level deep + const isSubSection = + attributeValue.type === 'object' && + !any( + (inspectable) => + inspectable.type === 'array' || inspectable.type === 'object', + Object.values(attributeValue.fields), + ); + return { + attributeName, + attributeMetadata, + isSubSection, + attributeValue, + metadataId, + }; + }) + .filter( + ({attributeName}) => + !attributeFilter || + attributeName.toLowerCase().includes(attributeFilter), + ); + + //push sub sections to the end + const sortedAttributesOrSubsections = sortBy( + attributesOrSubSubsections, + [(item) => item.isSubSection], + (item) => item.attributeName, + ); + + const children = sortedAttributesOrSubsections + .map(({isSubSection, attributeValue, attributeMetadata, attributeName}) => { + if (attributeMetadata == null) { + return null; + } + + if (isSubSection) { + if (attributeValue.type === 'object') { + return ( + + ); + } + } + + return ( + + ); + }) + .filter((attr) => attr != null); + + if (children.length > 0) { + return ( + + + {...children} + + + ); + } else { + return null; + } +} + +function SubSection({ + attributeName, + inspectableObject, + metadataMap, + onDisplayModal, +}: { + attributeName: string; + inspectableObject: InspectableObject; + metadataMap: MetadataMap; + onDisplayModal: (modaldata: ModalData) => void; +}) { + const children = Object.entries(inspectableObject.fields).map( + ([key, value]) => { + const metadataId: number = Number(key); + const attributeMetadata = metadataMap.get(metadataId); + if (attributeMetadata == null) { + return null; + } + const attributeName = + upperFirst(attributeMetadata?.name) ?? String(metadataId); + + return ( + + ); + }, + ); + if (children.length === 0) { + return null; + } + return ( + + + {attributeName} + {children} + + ); +} + +function NamedAttribute({ + key, + name, + value, + metadataMap, + attributeMetadata, + onDisplayModal, +}: { + name: string; + value: Inspectable; + attributeMetadata: Metadata; + metadataMap: MetadataMap; + key: string; + onDisplayModal: (modaldata: ModalData) => void; +}) { + return ( + + + {name} + + + + + + + ); +} + +/** + * disables hover and focsued states + */ +const readOnlyInput = css` + font-size: small; + :hover { + border-color: ${theme.disabledColor} !important; + } + :focus { + border-color: ${theme.disabledColor} !important; + + box-shadow: none !important; + } + box-shadow: none !important; + border-color: ${theme.disabledColor} !important; + + padding: 2px 4px 2px 4px; + + min-height: 20px !important; //this is for text area +`; + +function StyledInput({ + value, + color, + mutable, + rightAddon, +}: { + value: any; + color: string; + mutable: boolean; + rightAddon?: string; +}) { + let formatted: any = value; + if (typeof value === 'number') { + //cap the number of decimal places to 5 but dont add trailing zeros + formatted = Number.parseFloat(value.toFixed(5)); + } + return ( + + ); +} + +function StyledTextArea({ + value, + color, + mutable, +}: { + value: any; + color: string; + mutable: boolean; + rightAddon?: string; +}) { + return ( + + ); +} + +const boolColor = '#C41D7F'; +const stringColor = '#AF5800'; +const enumColor = '#006D75'; +const numberColor = '#003EB3'; + +type NumberGroupValue = {value: number; addonText: string}; + +function NumberGroup({values}: {values: NumberGroupValue[]}) { + return ( + + {values.map(({value, addonText}, idx) => ( + + ))} + + ); +} + +function AttributeValue({ + metadataMap, + name, + onDisplayModal, + inspectable, +}: { + onDisplayModal: (modaldata: ModalData) => void; + attributeMetadata: Metadata; + metadataMap: MetadataMap; + name: string; + inspectable: Inspectable; +}) { + switch (inspectable.type) { + case 'boolean': + return ( + + ); + case 'unknown': + case 'text': + return ( + + ); + case 'number': + return ( + + ); + + case 'enum': + return ( + + ); + case 'size': + return ( + + ); + + case 'coordinate': + return ( + + ); + case 'coordinate3d': + return ( + + ); + case 'space': + return ( + + ); + case 'bounds': + return ( + + ); + + case 'color': + return ; + case 'array': + case 'object': + return ( + + ); + } + return null; +} + +const rowHeight = 26; + +function ColorInspector({inspectable}: {inspectable: InspectableColor}) { + return ( + + + + + + + + ); +} + +const ColorPreview = styled.div(({background}: {background: string}) => ({ + width: rowHeight, + height: rowHeight, + borderRadius: '8px', + borderColor: theme.disabledColor, + borderStyle: 'solid', + boxSizing: 'border-box', + borderWidth: '1px', + backgroundColor: background, +})); + +const RGBAtoHEX = (color: Color) => { + const hex = + (color.r | (1 << 8)).toString(16).slice(1) + + (color.g | (1 << 8)).toString(16).slice(1) + + (color.b | (1 << 8)).toString(16).slice(1); + + return '#' + hex.toUpperCase(); +}; + +type FourItemArray = [T, T, T, T]; + +function TwoByTwoNumberGroup({ + values, +}: { + values: FourItemArray; +}) { + return ( + + + + + ); +} diff --git a/desktop/plugins/public/ui-debugger/components/sidebarV2/SidebarV2.tsx b/desktop/plugins/public/ui-debugger/components/sidebarV2/SidebarV2.tsx new file mode 100644 index 000000000..b978aaf0d --- /dev/null +++ b/desktop/plugins/public/ui-debugger/components/sidebarV2/SidebarV2.tsx @@ -0,0 +1,66 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +import {ClientNode, MetadataId, Metadata} from '../../ClientTypes'; +import {plugin} from '../../index'; +import React, {ReactNode} from 'react'; +import {Layout, Tab, Tabs, usePlugin, useValue} from 'flipper-plugin'; +import {NoData} from '../sidebar/inspector/NoData'; +import {Tooltip} from 'antd'; +import {AttributesInspector} from './AttributesInspector'; +import {FrameworkEventsInspector} from '../sidebar/inspector/FrameworkEventsInspector'; + +type Props = { + selectedNode?: ClientNode; + metadata: Map; + showBottomPanel: (title: string, element: ReactNode) => void; +}; +export function SidebarV2({selectedNode, metadata, showBottomPanel}: Props) { + const instance = usePlugin(plugin); + + const frameworkEventMetadata = useValue(instance.frameworkEventMetadata); + + if (!selectedNode) { + return ; + } + const selectedFrameworkEvents = selectedNode.id + ? instance.frameworkEvents.getAllRecordsByIndex({nodeId: selectedNode.id}) + : []; + + return ( + + + Attributes}> + + + {selectedFrameworkEvents?.length > 0 && ( + + Events + + }> + + + )} + + + ); +} diff --git a/desktop/plugins/public/ui-debugger/index.tsx b/desktop/plugins/public/ui-debugger/index.tsx index d21934efd..170952a40 100644 --- a/desktop/plugins/public/ui-debugger/index.tsx +++ b/desktop/plugins/public/ui-debugger/index.tsx @@ -40,6 +40,7 @@ import {checkFocusedNodeStillActive} from './plugin/ClientDataUtils'; import {uiActions} from './plugin/uiActions'; import {first} from 'lodash'; import {getNode} from './utils/map'; +import {handleTraversalError} from './plugin/traversalError'; export function plugin(client: PluginClient) { const rootId = createState(undefined); @@ -114,6 +115,8 @@ export function plugin(client: PluginClient) { }); }); + handleTraversalError(client); + client.onConnect(() => { uiState.isConnected.set(true); console.log('[ui-debugger] connected'); diff --git a/desktop/plugins/public/ui-debugger/package.json b/desktop/plugins/public/ui-debugger/package.json index b6e9d8e5c..8326f56f8 100644 --- a/desktop/plugins/public/ui-debugger/package.json +++ b/desktop/plugins/public/ui-debugger/package.json @@ -33,6 +33,7 @@ "peerDependencies": { "@ant-design/icons": "*", "@emotion/styled": "*", + "@emotion/css": "*", "@types/node": "*", "@types/react": "*", "@types/react-dom": "*", diff --git a/desktop/plugins/public/ui-debugger/plugin/traversalError.tsx b/desktop/plugins/public/ui-debugger/plugin/traversalError.tsx new file mode 100644 index 000000000..7fdadd170 --- /dev/null +++ b/desktop/plugins/public/ui-debugger/plugin/traversalError.tsx @@ -0,0 +1,29 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +import {notification} from 'antd'; +import {PluginClient} from 'flipper-plugin'; +import {Events, Methods} from '../ClientTypes'; + +export function handleTraversalError(client: PluginClient) { + client.onMessage('traversalError', (event) => { + notification.warn({ + key: 'client-traversal-error', + duration: 60, + message: 'Error fetching UI dump', + description: `There was an error UI dump, ${event.errorType} ${event.errorMessage}. We are aware of this and looking into it. Please try again later.`, + }); + console.error( + `[ui-debugger] Client error during traversal: `, + event, + client.appName, + client.device.os, + ); + }); +} diff --git a/desktop/plugins/public/ui-debugger/utils/dataTransform.tsx b/desktop/plugins/public/ui-debugger/utils/dataTransform.tsx index bbec29194..c22e2f236 100644 --- a/desktop/plugins/public/ui-debugger/utils/dataTransform.tsx +++ b/desktop/plugins/public/ui-debugger/utils/dataTransform.tsx @@ -16,7 +16,7 @@ import { MetadataId, } from '../ClientTypes'; -function transformAny( +export function transformAny( metadata: Map, inspectable: Inspectable, ): any { @@ -32,6 +32,8 @@ function transformAny( case 'enum': case 'space': return inspectable.value; + case 'array': + return inspectable.items.map((value) => transformAny(metadata, value)); case 'object': return transformObject(metadata, inspectable); default: diff --git a/desktop/scripts/build-flipper-server-release.tsx b/desktop/scripts/build-flipper-server-release.tsx index e31fe87d8..3dddd977c 100644 --- a/desktop/scripts/build-flipper-server-release.tsx +++ b/desktop/scripts/build-flipper-server-release.tsx @@ -132,7 +132,12 @@ const argv = yargs default: false, }, mac: { - describe: 'Build a platform-specific bundle for MacOS.', + describe: 'Build arm64 and x64 bundles for MacOS.', + type: 'boolean', + default: false, + }, + 'mac-local': { + describe: 'Build local architecture bundle for MacOS.', type: 'boolean', default: false, }, @@ -432,7 +437,7 @@ async function buildServerRelease() { await fs.mkdirp(path.join(dir, 'static', 'defaultPlugins')); await prepareDefaultPlugins(argv.channel === 'insiders'); - await compileServerMain(false); + await compileServerMain(); await copyStaticResources(dir, versionNumber); await linkLocalDeps(dir); await downloadIcons(path.join(dir, 'static')); @@ -455,6 +460,15 @@ async function buildServerRelease() { platforms.push(BuildPlatform.MAC_X64); platforms.push(BuildPlatform.MAC_AARCH64); } + if (argv.macLocal) { + const architecture = os.arch(); + console.log(`⚙️ Local architecture: ${architecture}`); + if (architecture == 'arm64') { + platforms.push(BuildPlatform.MAC_AARCH64); + } else { + platforms.push(BuildPlatform.MAC_X64); + } + } if (argv.win) { platforms.push(BuildPlatform.WINDOWS); } diff --git a/desktop/scripts/build-icons.tsx b/desktop/scripts/build-icons.tsx index 152799aa7..da76bf060 100644 --- a/desktop/scripts/build-icons.tsx +++ b/desktop/scripts/build-icons.tsx @@ -13,7 +13,7 @@ import fetch from '@adobe/node-fetch-retry'; // eslint-disable-next-line node/no-extraneous-import import type {Icon} from 'flipper-ui-core'; -const AVAILABLE_SIZES: Icon['size'][] = [8, 10, 12, 16, 18, 20, 24, 28, 32]; +const AVAILABLE_SIZES: Icon['size'][] = [8, 10, 12, 16, 18, 20, 24, 28, 32, 48]; export type Icons = { [key: string]: Icon['size'][]; @@ -32,37 +32,26 @@ function getIconPartsFromName(icon: string): { } export async function downloadIcons(buildFolder: string) { - const icons: Icons = JSON.parse( + const icons: string[] = JSON.parse( await fs.promises.readFile(path.join(buildFolder, 'icons.json'), { encoding: 'utf8', }), ); - const iconURLs = Object.entries(icons).reduce( - (acc, [entryName, sizes]) => { - const {trimmedName: name, variant} = getIconPartsFromName(entryName); - acc.push( - // get icons in @1x and @2x - ...sizes.map((size) => ({name, variant, size, density: 1})), - ...sizes.map((size) => ({name, variant, size, density: 2})), - ); - return acc; - }, - [], - ); + const iconURLs: Pick[] = icons.map((rawName) => { + const {trimmedName: name, variant} = getIconPartsFromName(rawName); + return {name, variant}; + }); + // Download first largest instance of each icon await Promise.all( iconURLs.map(async (icon) => { - const sizeIndex = AVAILABLE_SIZES.indexOf(icon.size); - if (sizeIndex === -1) { - throw new Error('Size unavailable: ' + icon.size); - } - const sizesToTry = AVAILABLE_SIZES.slice(sizeIndex); + const sizesToTry = [...AVAILABLE_SIZES]; while (sizesToTry.length) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const size = sizesToTry.shift()!; + const size = sizesToTry.pop()!; - const url = getPublicIconUrl({...icon, size}); + const url = getPublicIconUrl({...(icon as Icon), size}); const res = await fetch(url); if (res.status !== 200) { // console.log( @@ -88,21 +77,21 @@ export async function downloadIcons(buildFolder: string) { console.error( `Could not download the icon ${JSON.stringify( icon, - )} from ${getPublicIconUrl(icon)}, didn't find any matching size`, + )} from ${getPublicIconUrl({ + ...icon, + size: AVAILABLE_SIZES[AVAILABLE_SIZES.length - 1], + } as Icon)}, didn't find any matching size`, ); }), ); } // should match flipper-ui-core/src/utils/icons.tsx -export function getPublicIconUrl({name, variant, size, density}: Icon) { +export function getPublicIconUrl({name, variant, size}: Icon) { return `https://facebook.com/images/assets_DO_NOT_HARDCODE/facebook_icons/${name}_${variant}_${size}.png`; } // should match app/src/utils/icons.tsx -function buildLocalIconPath(icon: Icon) { - return path.join( - 'icons', - `${icon.name}-${icon.variant}-${icon.size}@${icon.density}x.png`, - ); +function buildLocalIconPath(icon: Pick) { + return path.join('icons', `${icon.name}-${icon.variant}_d.png`); } diff --git a/desktop/scripts/build-release.tsx b/desktop/scripts/build-release.tsx index 3ca5e6a58..3b0736ff8 100755 --- a/desktop/scripts/build-release.tsx +++ b/desktop/scripts/build-release.tsx @@ -73,6 +73,11 @@ const argv = yargs 'Unique build identifier to be used as the version patch part for the build', type: 'number', }, + 'react-native-only': { + description: 'React Native only build', + type: 'boolean', + default: false, + }, channel: { description: 'Release channel for the build', choices: ['stable', 'insiders'], @@ -115,6 +120,10 @@ if (argv['default-plugins-dir']) { process.env.FLIPPER_DEFAULT_PLUGINS_DIR = argv['default-plugins-dir']; } +if (argv['react-native-only']) { + process.env.FLIPPER_REACT_NATIVE_ONLY = 'true'; +} + async function generateManifest(versionNumber: string) { await fs.writeFile( path.join(distDir, 'manifest.json'), @@ -130,6 +139,7 @@ async function modifyPackageManifest( versionNumber: string, hgRevision: string | null, channel: string, + reactNativeOnly: boolean, ) { // eslint-disable-next-line no-console console.log('Creating package.json manifest'); @@ -148,6 +158,7 @@ async function modifyPackageManifest( manifest.revision = hgRevision; } manifest.releaseChannel = channel; + manifest.reactNativeOnly = reactNativeOnly; await fs.writeFile( path.join(buildFolder, 'package.json'), JSON.stringify(manifest, null, ' '), @@ -265,6 +276,9 @@ async function buildDist(buildFolder: string) { }, mac: { bundleVersion: FIX_RELEASE_VERSION, + icon: process.env.FLIPPER_REACT_NATIVE_ONLY + ? path.resolve(buildFolder, 'icon-rn-only.icns') + : path.resolve(buildFolder, 'icon.icns'), }, win: { signAndEditExecutable: !isFB, @@ -299,7 +313,13 @@ async function copyStaticFolder(buildFolder: string) { await moveSourceMaps(dir, argv['source-map-dir']); const versionNumber = getVersionNumber(argv.version); const hgRevision = await genMercurialRevision(); - await modifyPackageManifest(dir, versionNumber, hgRevision, argv.channel); + await modifyPackageManifest( + dir, + versionNumber, + hgRevision, + argv.channel, + argv['react-native-only'], + ); await fs.ensureDir(distDir); await generateManifest(versionNumber); await buildDist(dir); diff --git a/desktop/scripts/build-utils.tsx b/desktop/scripts/build-utils.tsx index c99f843f5..cd6c4d750 100644 --- a/desktop/scripts/build-utils.tsx +++ b/desktop/scripts/build-utils.tsx @@ -279,7 +279,7 @@ export function genMercurialRevision(): Promise { .catch(() => null); } -export async function compileServerMain(dev: boolean) { +export async function compileServerMain() { console.log('⚙️ Compiling server sources...'); await exec(`cd ${serverDir} && yarn build`); console.log('✅ Compiled server sources.'); diff --git a/desktop/scripts/start-dev-server.tsx b/desktop/scripts/start-dev-server.tsx index 3a1edff53..6c90ced3e 100644 --- a/desktop/scripts/start-dev-server.tsx +++ b/desktop/scripts/start-dev-server.tsx @@ -70,6 +70,10 @@ const argv = yargs '[FB-internal only] Will yield `true` on any GK. Disabled by default. Setting env var FLIPPER_ENABLE_ALL_GKS is equivalent', type: 'boolean', }, + 'react-native-only': { + description: '[FB-internal only] React Native only build', + type: 'boolean', + }, channel: { describe: '[FB-internal only] Release channel. "stable" by default. Setting env var "FLIPPER_RELEASE_CHANNEL" is equivalent.', @@ -148,6 +152,10 @@ if (argv.channel !== undefined) { process.env.FLIPPER_RELEASE_CHANNEL = argv.channel; } +if (argv['react-native-only'] === true) { + process.env.FLIPPER_REACT_NATIVE_ONLY = 'true'; +} + if (argv['force-version']) { process.env.FLIPPER_FORCE_VERSION = argv['force-version']; } diff --git a/desktop/scripts/start-flipper-server-dev.tsx b/desktop/scripts/start-flipper-server-dev.tsx index aae4740e5..af87be91b 100644 --- a/desktop/scripts/start-flipper-server-dev.tsx +++ b/desktop/scripts/start-flipper-server-dev.tsx @@ -102,7 +102,7 @@ async function copyStaticResources() { async function restartServer() { try { - await compileServerMain(true); + await compileServerMain(); await launchServer(true, ++startCount === 1); // only open on the first time } catch (e) { console.error( diff --git a/desktop/scripts/tsc-plugins.tsx b/desktop/scripts/tsc-plugins.tsx index 28912149b..a04ea5067 100644 --- a/desktop/scripts/tsc-plugins.tsx +++ b/desktop/scripts/tsc-plugins.tsx @@ -16,7 +16,6 @@ import {EOL} from 'os'; import pmap from 'p-map'; import {rootDir} from './paths'; import yargs from 'yargs'; -import {isPluginJson} from 'flipper-common'; const argv = yargs .usage('yarn tsc-plugins [args]') diff --git a/desktop/static/icons.json b/desktop/static/icons.json index 9719f74e0..e27663153 100644 --- a/desktop/static/icons.json +++ b/desktop/static/icons.json @@ -1,680 +1,197 @@ -{ - "accessibility": [ - 16, - 20 - ], - "app-dailies": [ - 12 - ], - "app-react": [ - 12, - 16 - ], - "apps": [ - 12, - 16 - ], - "arrow-right": [ - 12, - 16 - ], - "bell-null-outline": [ - 24 - ], - "bell-null": [ - 12 - ], - "bell": [ - 12 - ], - "bird": [ - 12, - 16 - ], - "borders": [ - 16 - ], - "box": [ - 12, - 24 - ], - "brush-paint": [ - 12, - 16 - ], - "bug": [ - 12, - 20 - ], - "building-city": [ - 12, - 16 - ], - "camcorder": [ - 12, - 16 - ], - "camera": [ - 12, - 16 - ], - "caution-octagon": [ - 12, - 16, - 20 - ], - "caution-triangle": [ - 12, - 16, - 20, - 24 - ], - "caution": [ - 16, - 24 - ], - "checkmark": [ - 16 - ], - "chevron-down-outline": [ - 10 - ], - "chevron-down": [ - 12, - 16, - 8 - ], - "chevron-left": [ - 12, - 16 - ], - "chevron-right": [ - 8, - 12, - 16 - ], - "chevron-up": [ - 12, - 16, - 8 - ], - "compose": [ - 12, - 16 - ], - "copy": [ - 12, - 16 - ], - "cross-circle": [ - 12, - 16, - 24 - ], - "cross": [ - 12, - 16 - ], - "dashboard-outline": [ - 24 - ], - "dashboard": [ - 12, - 16 - ], - "data-table": [ - 12, - 16 - ], - "desktop": [ - 12 - ], - "directions": [ - 12, - 16 - ], - "dots-3-circle-outline": [ - 16 - ], - "download": [ - 16 - ], - "face-unhappy-outline": [ - 24 - ], - "first-aid": [ - 12 - ], - "flash-default": [ - 12, - 16 - ], - "info-circle": [ - 12, - 16, - 24 - ], - "internet": [ - 12, - 16 - ], - "life-event-major": [ - 16 - ], - "magic-wand": [ - 12, - 16, - 20 - ], - "magnifying-glass": [ - 16, - 20, - 24 - ], - "messages": [ - 12, - 16 - ], - "minus-circle": [ - 12 - ], - "mobile-engagement": [ - 16 - ], - "mobile": [ - 12, - 16, - 32 - ], - "network": [ - 12, - 16 - ], - "news-feed": [ - 12, - 16 - ], - "pause": [ - 16 - ], - "posts": [ - 20 - ], - "power": [ - 16 - ], - "profile": [ - 12, - 16 - ], - "question-circle-outline": [ - 16 - ], - "question-circle": [ - 12, - 16, - 20 - ], - "question": [ - 16 - ], - "refresh-left": [ - 16 - ], - "rocket": [ - 12, - 16, - 20 - ], - "settings": [ - 12 - ], - "share-external": [ - 12, - 16 - ], - "share": [ - 16 - ], - "star-outline": [ - 12, - 16, - 24 - ], - "star-slash": [ - 16 - ], - "star": [ - 12, - 16, - 24 - ], - "stop-playback": [ - 12, - 16 - ], - "stop": [ - 16, - 24 - ], - "target": [ - 12, - 16 - ], - "thought-bubble": [ - 12, - 16 - ], - "tools": [ - 12, - 16, - 20 - ], - "translate": [ - 12, - 16 - ], - "trash-outline": [ - 16 - ], - "trash": [ - 12, - 16 - ], - "tree": [ - 12, - 16 - ], - "trending": [ - 12, - 16 - ], - "triangle-down": [ - 12, - 16, - 20 - ], - "triangle-right": [ - 12 - ], - "underline": [ - 12, - 16 - ], - "washing-machine": [ - 12, - 16 - ], - "watch-tv": [ - 12, - 16 - ], - "gears-two": [ - 16 - ], - "info-cursive": [ - 16 - ], - "on-this-day": [ - 12 - ], - "zoom-out": [ - 16 - ], - "zoom-in": [ - 16 - ], - "fast-forward": [ - 16 - ], - "draft-outline": [ - 16 - ], - "gradient": [ - 16 - ], - "crop": [ - 16 - ], - "play": [ - 16 - ], - "cross-outline": [ - 16 - ], - "messenger-code": [ - 12, - 16 - ], - "book": [ - 12 - ], - "list-arrow-up": [ - 12, - 16 - ], - "cat": [ - 12, - 16 - ], - "duplicate": [ - 12, - 16 - ], - "profile-circle-outline": [ - 16 - ], - "card-person": [ - 12, - 16 - ], - "pencil-outline": [ - 16 - ], - "code": [ - 12, - 16, - 20 - ], - "undo-outline": [ - 16 - ], - "checkmark-circle-outline": [ - 24 - ], - "target-outline": [ - 16, - 24 - ], - "internet-outline": [ - 24, - 32 - ], - "profile-outline": [ - 32 - ], - "app-react-outline": [ - 16 - ], - "send-outline": [ - 16 - ], - "paper-stack": [ - 12, - 16 - ], - "weather-cold": [ - 12, - 16 - ], - "mobile-cross": [ - 16 - ], - "database-arrow-left": [ - 12 - ], - "plus-circle-outline": [ - 16 - ], - "arrows-circle": [ - 12 - ], - "navicon": [ - 12 - ], - "paper-fold-text": [ - 16 - ], - "marketplace": [ - 12, - 16 - ], - "workflow": [ - 12 - ], - "sankey-diagram": [ - 12, - 16 - ], - "media-stack": [ - 16 - ], - "question-hexagon": [ - 16 - ], - "briefcase": [ - 16 - ], - "business-briefcase": [ - 16 - ], - "log": [ - 12, - 16 - ], - "triangle-up": [ - 16, - 20 - ], - "checkmark-circle": [ - 12, - 20 - ], - "circle": [ - 12 - ], - "comment-swish": [ - 16 - ], - "direct": [ - 16 - ], - "plus": [ - 16 - ], - "scuba": [ - 12, - 16 - ], - "line-chart": [ - 12, - 16 - ], - "caution-circle": [ - 12, - 24 - ], - "megaphone": [ - 12, - 16 - ], - "wireless": [ - 16 - ], - "cup-outline": [ - 24 - ], - "unicorn": [ - 20 - ], - "turtle": [ - 20 - ], - "sushi": [ - 12 - ], - "arrows-up-down": [ - 16 - ], - "style-effects": [ - 16 - ], - "stopwatch": [ - 16 - ], - "database": [ - 16 - ], - "bar-chart": [ - 16 - ], - "augmented-reality": [ - 16 - ], - "app-flash": [ - 16 - ], - "sample-lo": [ - 20 - ], - "point": [ - 20 - ], - "eye": [ - 16 - ], - "send": [ - 16 - ], - "refresh-right": [ - 12, - 16 - ], - "hourglass": [ - 16 - ], - "mobile-outline": [ - 16, - 24 - ], - "bookmark-outline": [ - 16 - ], - "app-facebook-f-outline": [ - 24 - ], - "app-messenger-outline": [ - 24 - ], - "app-instagram-outline": [ - 24 - ], - "app-whatsapp-outline": [ - 24 - ], - "app-workplace-outline": [ - 24 - ], - "app-work-chat-outline": [ - 24 - ], - "sample-hi": [ - 20 - ], - "dog": [ - 12, - 16 - ], - "hub": [ - 16 - ], - "upload": [ - 16 - ], - "list-gear-outline": [ - 24 - ], - "app-apple-outline": [ - 24 - ], - "app-microsoft-windows": [ - 24 - ], - "box-outline": [ - 24 - ], - "differential": [ - 16 - ], - "raincloud": [ - 16 - ], - "app-microsoft-windows-outline": [ - 24 - ], - "camcorder-live": [ - 16 - ], - "plumbing": [ - 16 - ], - "app-facebook-circle": [ - 16 - ], - "link": [ - 16 - ], - "commercial-break-usd": [ - 16 - ], - "friends-engagement": [ - 16 - ], - "app-cms": [ - 16 - ], - "caution-triangle-outline": [ - 24 - ], - "bird-flying": [ - 16 - ], - "arrows-left-right": [ - 16 - ], - "grid-9": [ - 16 - ], - "stethoscope": [ - 16 - ], - "friend-except": [ - 16 - ], - "app-instagram": [ - 16 - ], - "nav-magnifying-glass": [ - 16 - ], - "list-arrow-down": [ - 16 - ], - "photo-arrows-left-right": [ - 16 - ], - "badge": [ - 16 - ], - "square-ruler": [ - 16 - ], - "phone": [ - 16 - ], - "app-horizon-assets": [ - 16 - ], - "app-bloks": [ - 16 - ], - "settings-internal": [ - 16 - ], - "weather-thunder-outline": [ - 16 - ], - "weather-thunder": [ - 16 - ] -} +[ + "accessibility", + "app-dailies", + "app-react", + "apps", + "arrow-right", + "bell-null-outline", + "bell-null", + "bell", + "bird", + "borders", + "box", + "brush-paint", + "bug", + "building-city", + "camcorder", + "camera", + "caution-octagon", + "caution-triangle", + "caution", + "checkmark", + "chevron-down-outline", + "chevron-down", + "chevron-left", + "chevron-right", + "chevron-up", + "compose", + "copy", + "cross-circle", + "cross", + "dashboard-outline", + "dashboard", + "data-table", + "desktop", + "directions", + "dots-3-circle-outline", + "download", + "face-unhappy-outline", + "first-aid", + "flash-default", + "info-circle", + "internet", + "life-event-major", + "magic-wand", + "magnifying-glass", + "messages", + "minus-circle", + "mobile-engagement", + "mobile", + "network", + "news-feed", + "pause", + "posts", + "power", + "profile", + "question-circle-outline", + "question-circle", + "question", + "refresh-left", + "rocket", + "settings", + "share-external", + "share", + "star-outline", + "star-slash", + "star", + "stop-playback", + "stop", + "target", + "thought-bubble", + "tools", + "translate", + "trash-outline", + "trash", + "tree", + "trending", + "triangle-down", + "triangle-right", + "underline", + "washing-machine", + "watch-tv", + "gears-two", + "info-cursive", + "on-this-day", + "zoom-out", + "zoom-in", + "fast-forward", + "draft-outline", + "gradient", + "crop", + "play", + "cross-outline", + "messenger-code", + "book", + "list-arrow-up", + "cat", + "duplicate", + "profile-circle-outline", + "card-person", + "pencil-outline", + "code", + "undo-outline", + "checkmark-circle-outline", + "target-outline", + "internet-outline", + "profile-outline", + "app-react-outline", + "send-outline", + "paper-stack", + "weather-cold", + "mobile-cross", + "database-arrow-left", + "plus-circle-outline", + "arrows-circle", + "navicon", + "paper-fold-text", + "marketplace", + "workflow", + "sankey-diagram", + "media-stack", + "question-hexagon", + "briefcase", + "business-briefcase", + "log", + "triangle-up", + "checkmark-circle", + "circle", + "comment-swish", + "direct", + "plus", + "scuba", + "line-chart", + "caution-circle", + "megaphone", + "wireless", + "cup-outline", + "unicorn", + "turtle", + "sushi", + "arrows-up-down", + "style-effects", + "stopwatch", + "database", + "bar-chart", + "augmented-reality", + "app-flash", + "sample-lo", + "point", + "eye", + "send", + "refresh-right", + "hourglass", + "mobile-outline", + "bookmark-outline", + "app-facebook-f-outline", + "app-messenger-outline", + "app-instagram-outline", + "app-whatsapp-outline", + "app-workplace-outline", + "app-work-chat-outline", + "sample-hi", + "dog", + "hub", + "upload", + "list-gear-outline", + "app-apple-outline", + "app-microsoft-windows", + "box-outline", + "differential", + "raincloud", + "app-microsoft-windows-outline", + "camcorder-live", + "plumbing", + "app-facebook-circle", + "link", + "commercial-break-usd", + "friends-engagement", + "app-cms", + "caution-triangle-outline", + "bird-flying", + "arrows-left-right", + "grid-9", + "stethoscope", + "friend-except", + "app-instagram", + "nav-magnifying-glass", + "list-arrow-down", + "photo-arrows-left-right", + "badge", + "square-ruler", + "phone", + "app-horizon-assets", + "app-bloks", + "settings-internal", + "weather-thunder-outline", + "weather-thunder" +] \ No newline at end of file diff --git a/desktop/static/index.web.dev.html b/desktop/static/index.web.dev.html index 90aa871b8..0c3606a0a 100644 --- a/desktop/static/index.web.dev.html +++ b/desktop/static/index.web.dev.html @@ -139,6 +139,8 @@ window.GRAPH_SECRET = 'GRAPH_SECRET_REPLACE_ME'; window.FLIPPER_APP_VERSION = 'FLIPPER_APP_VERSION_REPLACE_ME'; + window.FLIPPER_SESSION_ID = 'FLIPPER_SESSION_ID_REPLACE_ME'; + window.FLIPPER_UNIXNAME = 'FLIPPER_UNIXNAME_REPLACE_ME'; const params = new URL(location.href).searchParams; let token = params.get('token'); @@ -199,9 +201,19 @@ function init() { const script = document.createElement('script'); script.src = window.flipperConfig.entryPoint; - script.onerror = (e) => { - showMessage('Failed to load entry point. Check Chrome Dev Tools console for more info.'); + const retry = (retries) => { + showMessage(`Failed to load entry point. Check Chrome Dev Tools console for more info. Retrying in: ${retries}`); + retries -= 1; + if (retries < 0) { + window.location.reload(); + } + else { + setTimeout(() => retry(retries), 1000); + } + } + + retry(3); }; document.body.appendChild(script); diff --git a/desktop/static/index.web.html b/desktop/static/index.web.html index d21b6b231..80c2bdc17 100644 --- a/desktop/static/index.web.html +++ b/desktop/static/index.web.html @@ -88,6 +88,8 @@ window.GRAPH_SECRET = 'GRAPH_SECRET_REPLACE_ME'; window.FLIPPER_APP_VERSION = 'FLIPPER_APP_VERSION_REPLACE_ME'; + window.FLIPPER_SESSION_ID = 'FLIPPER_SESSION_ID_REPLACE_ME'; + window.FLIPPER_UNIXNAME = 'FLIPPER_UNIXNAME_REPLACE_ME'; // load correct theme (n.b. this doesn't handle system value specifically, will assume light in such cases) try { @@ -104,9 +106,19 @@ function init() { const script = document.createElement('script'); script.src = window.flipperConfig.entryPoint; - script.onerror = (e) => { - showMessage('Script failure. Check Chrome Dev Tools console for more info.'); + const retry = (retries) => { + showMessage(`Failed to load entry point. Check Chrome Dev Tools console for more info. Retrying in: ${retries}`); + retries -= 1; + if (retries < 0) { + window.location.reload(); + } + else { + setTimeout(() => retry(retries), 1000); + } + } + + retry(3); }; document.body.appendChild(script); diff --git a/desktop/static/main.tsx b/desktop/static/main.tsx index 6b872f636..96d34c4ef 100644 --- a/desktop/static/main.tsx +++ b/desktop/static/main.tsx @@ -28,7 +28,6 @@ import fixPath from 'fix-path'; import {exec} from 'child_process'; import setup, {Config, configPath} from './setup'; import isFB from './fb-stubs/isFB'; -import delegateToLauncher from './launcher'; import yargs from 'yargs'; import {promisify} from 'util'; import process from 'process'; @@ -174,58 +173,50 @@ app.on('ready', async () => { const config = await setup(argv); processConfig(config); - // If we delegate to the launcher, shut down this instance of the app. - delegateToLauncher(argv) - .then(async (hasLauncherInvoked: boolean) => { - if (hasLauncherInvoked) { - app.quit(); - return; - } - appReady = true; - app.commandLine.appendSwitch('scroll-bounce'); - configureSession(); - createWindow(config); + appReady = true; - // if in development install the react devtools extension - if (process.env.NODE_ENV === 'development') { - const { - default: installExtension, - REACT_DEVELOPER_TOOLS, - } = require('electron-devtools-installer'); - // if set, try to download a newever version of the dev tools - const forceDownload = process.env.FLIPPER_UPDATE_DEV_TOOLS === 'true'; - if (forceDownload) { - console.log('Force updating DevTools'); - } - // React - // Fix for extension loading (see D27685981) - // Work around per https://github.com/electron/electron/issues/23662#issuecomment-787420799 - const reactDevToolsPath = `${os.homedir()}/Library/Application Support/Electron/extensions/${ - REACT_DEVELOPER_TOOLS.id - }`; - if (await promisify(fs.exists)(reactDevToolsPath)) { - console.log('Loading React devtools from disk ' + reactDevToolsPath); - try { - await session.defaultSession.loadExtension( - reactDevToolsPath, - // @ts-ignore only supported (and needed) in Electron 12 - {allowFileAccess: true}, - ); - } catch (e) { - console.error('Failed to load React devtools from disk: ', e); - } - } else { - try { - await installExtension(REACT_DEVELOPER_TOOLS.id, { - loadExtensionOptions: {allowFileAccess: true, forceDownload}, - }); - } catch (e) { - console.error('Failed to install React devtools extension', e); - } - } + app.commandLine.appendSwitch('scroll-bounce'); + configureSession(); + createWindow(config); + + // if in development install the react devtools extension + if (process.env.NODE_ENV === 'development') { + const { + default: installExtension, + REACT_DEVELOPER_TOOLS, + } = require('electron-devtools-installer'); + // if set, try to download a newever version of the dev tools + const forceDownload = process.env.FLIPPER_UPDATE_DEV_TOOLS === 'true'; + if (forceDownload) { + console.log('Force updating DevTools'); + } + // React + // Fix for extension loading (see D27685981) + // Work around per https://github.com/electron/electron/issues/23662#issuecomment-787420799 + const reactDevToolsPath = `${os.homedir()}/Library/Application Support/Electron/extensions/${ + REACT_DEVELOPER_TOOLS.id + }`; + if (await promisify(fs.exists)(reactDevToolsPath)) { + console.log('Loading React devtools from disk ' + reactDevToolsPath); + try { + await session.defaultSession.loadExtension( + reactDevToolsPath, + // @ts-ignore only supported (and needed) in Electron 12 + {allowFileAccess: true}, + ); + } catch (e) { + console.error('Failed to load React devtools from disk: ', e); } - }) - .catch((e: any) => console.error('Error while delegating app launch', e)); + } else { + try { + await installExtension(REACT_DEVELOPER_TOOLS.id, { + loadExtensionOptions: {allowFileAccess: true, forceDownload}, + }); + } catch (e) { + console.error('Failed to install React devtools extension', e); + } + } + } }); app.on('web-contents-created', (_event, contents) => { diff --git a/desktop/yarn.lock b/desktop/yarn.lock index 6931f16d1..643bb5211 100644 --- a/desktop/yarn.lock +++ b/desktop/yarn.lock @@ -4604,11 +4604,6 @@ resolved "https://registry.yarnpkg.com/@types/verror/-/verror-1.10.5.tgz#2a1413aded46e67a1fe2386800e291123ed75eb1" integrity sha512-9UjMCHK5GPgQRoNbqdLIAvAy0EInuiqbW0PBMtVP6B5B2HQJlvoJHM+KodPZMEjOa5VkSc+5LH7xy+cUzQdmHw== -"@types/which@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/which/-/which-2.0.1.tgz#27ecd67f915b7c3d6ba552135bb1eecd66e63501" - integrity sha512-Jjakcv8Roqtio6w1gr0D7y6twbhx6gGgFGF5BLwajPpnOIOxFkakFhCq+LmyyeAz7BX6ULrjBOxdKaCDy+4+dQ== - "@types/ws@^8.5.3": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" diff --git a/docs/getting-started/android-native.mdx b/docs/getting-started/android-native.mdx index 7abc10326..64af14c22 100644 --- a/docs/getting-started/android-native.mdx +++ b/docs/getting-started/android-native.mdx @@ -24,10 +24,10 @@ repositories { } dependencies { - debugImplementation 'com.facebook.flipper:flipper:0.227.0' + debugImplementation 'com.facebook.flipper:flipper:0.233.0' debugImplementation 'com.facebook.soloader:soloader:0.10.5' - releaseImplementation 'com.facebook.flipper:flipper-noop:0.227.0' + releaseImplementation 'com.facebook.flipper:flipper-noop:0.233.0' } ``` @@ -124,10 +124,10 @@ repositories { } dependencies { - debugImplementation 'com.facebook.flipper:flipper:0.226.1-SNAPSHOT' + debugImplementation 'com.facebook.flipper:flipper:0.233.1-SNAPSHOT' debugImplementation 'com.facebook.soloader:soloader:0.10.5' - releaseImplementation 'com.facebook.flipper:flipper-noop:0.226.1-SNAPSHOT' + releaseImplementation 'com.facebook.flipper:flipper-noop:0.233.1-SNAPSHOT' } ``` diff --git a/docs/getting-started/react-native-ios.mdx b/docs/getting-started/react-native-ios.mdx index 4a853eb67..83ff1232e 100644 --- a/docs/getting-started/react-native-ios.mdx +++ b/docs/getting-started/react-native-ios.mdx @@ -51,7 +51,7 @@ Add all of the code below to your `ios/Podfile`: platform :ios, '9.0' def flipper_pods() - flipperkit_version = '0.227.0' # should match the version of your Flipper client app + flipperkit_version = '0.233.0' # should match the version of your Flipper client app pod 'FlipperKit', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/FlipperKitLayoutPlugin', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version, :configuration => 'Debug' diff --git a/docs/getting-started/react-native.mdx b/docs/getting-started/react-native.mdx index 54d0de2bb..79f3de193 100644 --- a/docs/getting-started/react-native.mdx +++ b/docs/getting-started/react-native.mdx @@ -34,7 +34,7 @@ Latest version of Flipper requires react-native 0.69+! If you use react-native < Android: -1. Bump the `FLIPPER_VERSION` variable in `android/gradle.properties`, for example: `FLIPPER_VERSION=0.227.0`. +1. Bump the `FLIPPER_VERSION` variable in `android/gradle.properties`, for example: `FLIPPER_VERSION=0.233.0`. 2. Run `./gradlew clean` in the `android` directory. iOS: @@ -44,7 +44,7 @@ react-native version => 0.69.0 2. Run `pod install --repo-update` in the `ios` directory. react-native version < 0.69.0 -1. Call `use_flipper` with a specific version in `ios/Podfile`, for example: `use_flipper!({ 'Flipper' => '0.227.0' })`. +1. Call `use_flipper` with a specific version in `ios/Podfile`, for example: `use_flipper!({ 'Flipper' => '0.233.0' })`. 2. Run `pod install --repo-update` in the `ios` directory. ## Manual Setup diff --git a/gradle.properties b/gradle.properties index bc269f6b2..15ff2bb5b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # POM publishing constants -VERSION_NAME=0.227.0 +VERSION_NAME=0.233.1-SNAPSHOT GROUP=com.facebook.flipper SONATYPE_STAGING_PROFILE=comfacebook POM_URL=https://github.com/facebook/flipper diff --git a/iOS/Sample/NetworkViewController.m b/iOS/Sample/NetworkViewController.m index 87f28702c..ec2aa3e56 100644 --- a/iOS/Sample/NetworkViewController.m +++ b/iOS/Sample/NetworkViewController.m @@ -19,25 +19,32 @@ } - (IBAction)tappedGithubLitho:(UIButton*)sender { - [[[NSURLSession sharedSession] - dataTaskWithURL: - [NSURL - URLWithString: - @"https://raw.githubusercontent.com/facebook/litho/main/docs/static/logo.png"] - completionHandler:^( - NSData* _Nullable data, - NSURLResponse* _Nullable response, - NSError* _Nullable error) { - if (error && !data) { - return; - } - NSLog(@"Got Image"); - }] resume]; + NSURL* url = [NSURL + URLWithString: + @"https://raw.githubusercontent.com/facebook/litho/main/docs/static/logo.png"]; + if (!url) { + return; + } + + [[[NSURLSession sharedSession] dataTaskWithURL:url + completionHandler:^( + NSData* _Nullable data, + NSURLResponse* _Nullable response, + NSError* _Nullable error) { + if (error && !data) { + return; + } + NSLog(@"Got Image"); + }] resume]; } - (IBAction)tappedPOSTAPI:(UIButton*)sender { - NSString* post = @"https://demo9512366.mockable.io/FlipperPost"; - NSURL* url = [NSURL URLWithString:post]; + NSURL* url = + [NSURL URLWithString:@"https://demo9512366.mockable.io/FlipperPost"]; + if (!url) { + return; + } + NSMutableURLRequest* urlRequest = [NSMutableURLRequest requestWithURL:url]; [urlRequest addValue:@"application/json" forHTTPHeaderField:@"Content-Type"]; [urlRequest addValue:@"application/json" forHTTPHeaderField:@"Accept"]; @@ -57,42 +64,56 @@ [[[NSURLSession sharedSession] dataTaskWithRequest:urlRequest completionHandler:^( - NSData* _Nullable data, + NSData* data, NSURLResponse* _Nullable response, NSError* _Nullable dataTaskError) { - if (dataTaskError || !data) { + if (dataTaskError) { [weakSelf showAlertWithMessage:@"Received error in POST API response"]; return; } - NSDictionary* dict = - [NSJSONSerialization JSONObjectWithData:data - options:0 - error:&dataTaskError]; - NSLog(@"MSG-POST: %@", dict[@"msg"]); + if (data == nil) { + [weakSelf + showAlertWithMessage:@"No data received in POST API response"]; + } else { + NSDictionary* dict = + [NSJSONSerialization JSONObjectWithData:data + options:0 + error:&dataTaskError]; + NSLog(@"MSG-POST: %@", dict[@"msg"]); - [weakSelf showAlertWithMessage:@"Received response from POST API"]; + [weakSelf showAlertWithMessage:@"Received response from POST API"]; + } }] resume]; } - (IBAction)tappedGetAPI:(UIButton*)sender { + NSURL* url = + [NSURL URLWithString:@"https://demo9512366.mockable.io/FlipperGet"]; + if (!url) { + return; + } __weak NetworkViewController* weakSelf = self; [[[NSURLSession sharedSession] - dataTaskWithURL: - [NSURL URLWithString:@"https://demo9512366.mockable.io/FlipperGet"] + dataTaskWithURL:url completionHandler:^( - NSData* _Nullable data, + NSData* data, NSURLResponse* _Nullable response, NSError* _Nullable error) { - if (error || !data) { + if (error) { [weakSelf showAlertWithMessage:@"Received error in GET API response"]; return; } - NSDictionary* dict = [NSJSONSerialization JSONObjectWithData:data - options:0 - error:&error]; - NSLog(@"MSG-GET: %@", dict[@"msg"]); - [weakSelf showAlertWithMessage:@"Received response from GET API"]; + if (data == nil) { + [weakSelf + showAlertWithMessage:@"No data received in GET API response"]; + } else { + NSDictionary* dict = [NSJSONSerialization JSONObjectWithData:data + options:0 + error:&error]; + NSLog(@"MSG-GET: %@", dict[@"msg"]); + [weakSelf showAlertWithMessage:@"Received response from GET API"]; + } }] resume]; } diff --git a/iOS/Sample/UserDefaultsViewController.m b/iOS/Sample/UserDefaultsViewController.m index 837452d5c..7b5b32aa1 100644 --- a/iOS/Sample/UserDefaultsViewController.m +++ b/iOS/Sample/UserDefaultsViewController.m @@ -23,8 +23,11 @@ } - (IBAction)tappedSave:(id)sender { - [self.userDefaults setObject:self.valueTextField.text - forKey:self.keyTextField.text]; + NSString* key = self.keyTextField.text; + NSString* value = self.valueTextField.text; + if (key != nil) { + [self.userDefaults setObject:value forKey:key]; + } } @end diff --git a/js/js-flipper/package.json b/js/js-flipper/package.json index 2d4954750..1c7dcf4b0 100644 --- a/js/js-flipper/package.json +++ b/js/js-flipper/package.json @@ -1,7 +1,7 @@ { "name": "js-flipper", "title": "JS Flipper Bindings for Web-Socket based clients", - "version": "0.227.0", + "version": "0.233.0", "main": "lib/index.js", "browser": { "os": false diff --git a/packer/Cargo.lock b/packer/Cargo.lock index 7cae92865..6749dd28a 100644 --- a/packer/Cargo.lock +++ b/packer/Cargo.lock @@ -40,6 +40,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" + [[package]] name = "block-buffer" version = "0.10.4" @@ -81,7 +87,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", - "bitflags", + "bitflags 1.3.2", "clap_derive", "clap_lex", "indexmap 1.9.3", @@ -233,6 +239,22 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +[[package]] +name = "errno" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "fastrand" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" + [[package]] name = "filetime" version = "0.2.22" @@ -261,7 +283,7 @@ dependencies = [ "sha2", "shellexpand", "tar", - "tempdir", + "tempfile", "xz2", ] @@ -271,12 +293,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - [[package]] name = "generic-array" version = "0.14.7" @@ -415,6 +431,12 @@ version = "0.2.147" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +[[package]] +name = "linux-raw-sys" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" + [[package]] name = "log" version = "0.4.20" @@ -525,34 +547,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi", -] - -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - [[package]] name = "rayon" version = "1.8.0" @@ -573,22 +567,13 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - [[package]] name = "redox_syscall" version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -597,7 +582,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -641,12 +626,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" [[package]] -name = "remove_dir_all" -version = "0.5.3" +name = "rustix" +version = "0.38.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662" dependencies = [ - "winapi", + "bitflags 2.4.1", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.48.0", ] [[package]] @@ -774,13 +763,16 @@ dependencies = [ ] [[package]] -name = "tempdir" -version = "0.3.7" +name = "tempfile" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ - "rand", - "remove_dir_all", + "cfg-if", + "fastrand", + "redox_syscall 0.3.5", + "rustix", + "windows-sys 0.48.0", ] [[package]] diff --git a/packer/Cargo.toml b/packer/Cargo.toml index 5798cdb9d..1d8495501 100644 --- a/packer/Cargo.toml +++ b/packer/Cargo.toml @@ -25,4 +25,4 @@ xz2 = "0.1.7" ignore = "0.4.20" [dev-dependencies] -tempdir = "0.3.7" +tempfile = "3.8.0" diff --git a/packer/src/main.rs b/packer/src/main.rs index 260874b91..cd57087c1 100644 --- a/packer/src/main.rs +++ b/packer/src/main.rs @@ -414,7 +414,7 @@ mod test { .join("src") .join("__fixtures__") .join("archive_a.tar"); - let tmp_dir = tempdir::TempDir::new("manifest_test")?; + let tmp_dir = tempfile::TempDir::with_prefix("manifest_test.")?; let archive_paths = &[(&PackType::new("core"), artifact_path)]; let path = manifest(archive_paths, &None, tmp_dir.path())?; diff --git a/packer/src/packlist.yaml b/packer/src/packlist.yaml index ff8f54e23..d929b16ea 100644 --- a/packer/src/packlist.yaml +++ b/packer/src/packlist.yaml @@ -60,7 +60,7 @@ server-linux: - '!*' - flipper-runtime core: - - '!flipper-runtime + - '!flipper-runtime' - '!static' static: - '!*' diff --git a/react-native/react-native-flipper/package.json b/react-native/react-native-flipper/package.json index e38fb5494..27428c3c0 100644 --- a/react-native/react-native-flipper/package.json +++ b/react-native/react-native-flipper/package.json @@ -1,7 +1,7 @@ { "name": "react-native-flipper", "title": "React Native Flipper Bindings", - "version": "0.227.0", + "version": "0.233.0", "description": "Flipper bindings for React Native", "main": "index.js", "types": "index.d.ts", diff --git a/website/package.json b/website/package.json index 6423501d0..0b524b4ac 100644 --- a/website/package.json +++ b/website/package.json @@ -23,7 +23,7 @@ "@types/fs-extra": "^11.0.2", "antd": "^4.23.4", "docusaurus-lunr-search": "^3.0.0", - "docusaurus-plugin-internaldocs-fb": "1.16.1", + "docusaurus-plugin-internaldocs-fb": "1.16.2", "file-cli": "^1.2.0", "flipper-plugin": "^0.183.0", "fs-extra": "^11.1.1", diff --git a/website/yarn.lock b/website/yarn.lock index 0c2c3b261..899c34040 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -6337,10 +6337,10 @@ docusaurus-lunr-search@^3.0.0: unified "^9.0.0" unist-util-is "^4.0.2" -docusaurus-plugin-internaldocs-fb@1.16.1: - version "1.16.1" - resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-1.16.1.tgz#ebee630f332843fb8010065129ed8c4239c9fdd7" - integrity sha512-dV5fopgoiV1sid9L4hTtM8ed2lnBKGUeZ0Hz0kptVOYj6TFmxJUzJBtOzJtPB2Fc7tvkNoWodUpVpb7wJLsL4w== +docusaurus-plugin-internaldocs-fb@1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-1.16.2.tgz#00f8d52f2b2447545409073955f37ed28e6c1083" + integrity sha512-DqEiMuTG2qq0XsbKu1Jlv0oEINDvsN6D514zmuuppUF5WM8KUlOJdComuS+8JRoAMZhqCBoa7Id+J0AlyRdnJw== dependencies: "@mdx-js/mdx" "^2.1.1" "@mdx-js/react" "^1.6.22" diff --git a/xplat/Flipper/FlipperConnectionEndpointVerifier.cpp b/xplat/Flipper/FlipperConnectionEndpointVerifier.cpp index 02211592a..fec09a065 100644 --- a/xplat/Flipper/FlipperConnectionEndpointVerifier.cpp +++ b/xplat/Flipper/FlipperConnectionEndpointVerifier.cpp @@ -6,16 +6,57 @@ */ #include "FlipperConnectionEndpointVerifier.h" -#include #include + +#ifdef _MSC_VER /* MSVC */ + +#include +#include +#define getsockopt(a, b, c, d, e) getsockopt(a, b, c, (char*)d, e) +typedef int socklen_t; + +#else /* !_WIN32 */ + +#include #include #include #include +using SOCKET = int; +#endif + #include namespace facebook { namespace flipper { +static bool setSocketNonBlocking(SOCKET socket) { +#ifndef _WIN32 + int flags = fcntl(socket, F_GETFL, 0); + if (flags < 0) { + return false; + } + return (fcntl(socket, F_SETFL, flags | O_NONBLOCK) == 0); +#else + // If nonBlocking = 0, blocking is enabled; + // If nonBlocking != 0, non-blocking mode is enabled. + u_long nonBlocking = 1; + int32_t nonBlockResult = ioctlsocket(socket, FIONBIO, &nonBlocking); + if (nonBlockResult != 0) { + return false; + } else { + return true; + } +#endif +} + +static void closeSocket(SOCKET socket) { +#ifndef _WIN32 + close(socket); +#else + closesocket(socket); +#endif +} + bool ConnectionEndpointVerifier::verify(const std::string& host, int port) { auto sport = std::to_string(port); @@ -31,7 +72,7 @@ bool ConnectionEndpointVerifier::verify(const std::string& host, int port) { int sfd = socket(address->ai_family, address->ai_socktype, address->ai_protocol); - fcntl(sfd, F_SETFL, O_NONBLOCK); + setSocketNonBlocking(sfd); connect(sfd, address->ai_addr, address->ai_addrlen); fd_set fdset; @@ -58,7 +99,7 @@ bool ConnectionEndpointVerifier::verify(const std::string& host, int port) { } freeaddrinfo(address); - close(sfd); + closeSocket(sfd); return listening; } diff --git a/xplat/Flipper/FlipperScheduler.h b/xplat/Flipper/FlipperScheduler.h index a8b2f545a..473ee9085 100644 --- a/xplat/Flipper/FlipperScheduler.h +++ b/xplat/Flipper/FlipperScheduler.h @@ -6,6 +6,8 @@ */ #pragma once +#ifndef _FLIPPERSCHEDULER_H_ +#define _FLIPPERSCHEDULER_H_ #include @@ -24,3 +26,4 @@ struct Scheduler { } // namespace flipper } // namespace facebook +#endif diff --git a/xplat/Flipper/FlipperSocketProvider.h b/xplat/Flipper/FlipperSocketProvider.h index 99c6e9bff..ba622e3c0 100644 --- a/xplat/Flipper/FlipperSocketProvider.h +++ b/xplat/Flipper/FlipperSocketProvider.h @@ -6,6 +6,8 @@ */ #pragma once +#ifndef _FLIPPERSOCKETPROVIDER_H_ +#define _FLIPPERSOCKETPROVIDER_H_ #include #include "FlipperScheduler.h" @@ -76,3 +78,4 @@ class FlipperSocketProvider { } // namespace flipper } // namespace facebook +#endif