diff --git a/iOS/Podfile b/iOS/Podfile index 056604147..07c87f716 100644 --- a/iOS/Podfile +++ b/iOS/Podfile @@ -10,7 +10,9 @@ target 'SonarKit' do # Pods for SonarKit # Third party deps podspec link - pod 'EasyWSClient', :podspec => 'third-party-podspecs/EasyWSClient.podspec' + #pod 'EasyWSClient', :podspec => 'third-party-podspecs/EasyWSClient.podspec' + pod 'RSocket', :podspec => 'third-party-podspecs/RSocket.podspec' + pod 'LibEvent', :podspec => 'third-party-podspecs/LibEvent.podspec' pod 'DoubleConversion', :podspec => 'third-party-podspecs/DoubleConversion.podspec' pod 'glog', :podspec => 'third-party-podspecs/glog.podspec' pod 'Folly', :podspec => 'third-party-podspecs/Folly.podspec' diff --git a/iOS/Sample/Podfile b/iOS/Sample/Podfile index 70f73b4a3..f4e5846aa 100644 --- a/iOS/Sample/Podfile +++ b/iOS/Sample/Podfile @@ -6,6 +6,7 @@ swift_version = "4.1" target 'Sample' do + pod 'RSocket', :podspec => '../third-party-podspecs/RSocket.podspec' pod 'EasyWSClient', :podspec => '../third-party-podspecs/EasyWSClient.podspec' pod 'DoubleConversion', :podspec => '../third-party-podspecs/DoubleConversion.podspec' pod 'glog', :podspec => '../third-party-podspecs/glog.podspec' @@ -17,7 +18,8 @@ target 'Sample' do pod 'SonarKit', :podspec => '../SonarKit.podspec' pod 'SonarKit/SonarKitLayoutComponentKitSupport', :podspec => '../SonarKit.podspec' pod 'SonarKit/SKIOSNetworkPlugin', :podspec => '../SonarKit.podspec' - + pod 'OpenSSL-Universal', '~> 1.0' + pod 'CocoaLibEvent', '~> 1.0' post_install do |installer| installer.pods_project.targets.each do |target| if ['YogaKit'].include? target.name diff --git a/iOS/Sample/Podfile.lock b/iOS/Sample/Podfile.lock index 399025b3e..39f99c6ed 100644 --- a/iOS/Sample/Podfile.lock +++ b/iOS/Sample/Podfile.lock @@ -1,22 +1,27 @@ PODS: - boost-for-react-native (1.63.0) - CocoaAsyncSocket (7.6.3) + - CocoaLibEvent (1.0.0) - ComponentKit (0.21): - Yoga - DoubleConversion (3.0.0) - EasyWSClient (1.0.0) - - Folly (2018.05.07.00): + - Folly (2018.05.28.00): - boost-for-react-native - DoubleConversion - glog - glog (0.3.5) + - OpenSSL-Universal (1.0.2.13) - PeerTalk (0.0.2) - - Sonar (1.0.0): - - EasyWSClient + - RSocket (0.10.0): - Folly + - Sonar (1.0.0): + - Folly + - RSocket - SonarKit (1.0.0): - CocoaAsyncSocket (~> 7.6) - Folly + - OpenSSL-Universal (~> 1.0) - PeerTalk - Sonar - SonarKit/SKIOSNetworkPlugin (= 1.0.0) @@ -27,6 +32,7 @@ PODS: - SonarKit/SKIOSNetworkPlugin (1.0.0): - CocoaAsyncSocket (~> 7.6) - Folly + - OpenSSL-Universal (~> 1.0) - PeerTalk - Sonar - SonarKit/SonarKitNetworkPlugin @@ -34,6 +40,7 @@ PODS: - CocoaAsyncSocket (~> 7.6) - ComponentKit - Folly + - OpenSSL-Universal (~> 1.0) - PeerTalk - Sonar - SonarKit/SonarKitLayoutPlugin @@ -41,6 +48,7 @@ PODS: - SonarKit/SonarKitLayoutPlugin (1.0.0): - CocoaAsyncSocket (~> 7.6) - Folly + - OpenSSL-Universal (~> 1.0) - PeerTalk - Sonar - Yoga (= 1.8.1) @@ -48,6 +56,7 @@ PODS: - SonarKit/SonarKitNetworkPlugin (1.0.0): - CocoaAsyncSocket (~> 7.6) - Folly + - OpenSSL-Universal (~> 1.0) - PeerTalk - Sonar - Yoga (1.8.1) @@ -55,12 +64,15 @@ PODS: - Yoga (~> 1.8.1) DEPENDENCIES: + - CocoaLibEvent (~> 1.0) - ComponentKit (from `../third-party-podspecs/ComponentKit.podspec`) - DoubleConversion (from `../third-party-podspecs/DoubleConversion.podspec`) - EasyWSClient (from `../third-party-podspecs/EasyWSClient.podspec`) - Folly (from `../third-party-podspecs/Folly.podspec`) - glog (from `../third-party-podspecs/glog.podspec`) + - OpenSSL-Universal (~> 1.0) - PeerTalk (from `https://github.com/rsms/peertalk`) + - RSocket (from `../third-party-podspecs/RSocket.podspec`) - Sonar (from `../../xplat/Sonar/SonarKitCPP.podspec`) - SonarKit (from `../SonarKit.podspec`) - SonarKit/SKIOSNetworkPlugin (from `../SonarKit.podspec`) @@ -71,6 +83,8 @@ SPEC REPOS: https://github.com/cocoapods/specs.git: - boost-for-react-native - CocoaAsyncSocket + - CocoaLibEvent + - OpenSSL-Universal - Yoga - YogaKit @@ -87,6 +101,8 @@ EXTERNAL SOURCES: :podspec: "../third-party-podspecs/glog.podspec" PeerTalk: :git: https://github.com/rsms/peertalk + RSocket: + :podspec: "../third-party-podspecs/RSocket.podspec" Sonar: :podspec: "../../xplat/Sonar/SonarKitCPP.podspec" SonarKit: @@ -94,7 +110,7 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: ComponentKit: - :commit: f801317e71f88fbb5a398cd726fc0375255f43ba + :commit: 663f97614c4b398b029bbc0f6b31330e426c6aa7 :git: https://github.com/facebook/ComponentKit.git EasyWSClient: :commit: 9b87dc488048900a8cd684f51ddc98143682dbc3 @@ -102,27 +118,33 @@ CHECKOUT OPTIONS: PeerTalk: :commit: 588303b43efa5082d654b6f75d1b84a6ba4b5b9e :git: https://github.com/rsms/peertalk + RSocket: + :commit: 804eabc02afdec8756a16517e4513ec9301a3315 + :git: https://github.com/rsocket/rsocket-cpp.git Sonar: - :commit: 26c298ad3401157ac2b7336218c1dde63260dc0c + :commit: 9a6f612923b435846c62a96b9ef33f9128b7e9ae :git: https://github.com/facebook/Sonar.git SonarKit: - :commit: 26c298ad3401157ac2b7336218c1dde63260dc0c + :commit: 9a6f612923b435846c62a96b9ef33f9128b7e9ae :git: https://github.com/facebook/Sonar.git SPEC CHECKSUMS: boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c CocoaAsyncSocket: eafaa68a7e0ec99ead0a7b35015e0bf25d2c8987 + CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f ComponentKit: 7bd0ad508946aeb68dd52ed8739ced9846ff3671 DoubleConversion: 310ccd7cdf00175c32883664f84fe026025604df EasyWSClient: 7ec8effe7d86f6061a47d19a55355769c9edfd2f - Folly: 2d29ed217455246ae583ff1980f9ce882af31e80 + Folly: 6a1cc25ddcc61d794309b9eb69e1e7c5343f4a98 glog: f175af2df1f453be65bd355b287a07c842927a99 + OpenSSL-Universal: 401888162f11c33ebbd46f782d9229da35c61327 PeerTalk: f5389c286e4d477e59b73dfbf25c5c70a2464761 - Sonar: 815b6c6357c78564d9132f6389605b285a06f052 - SonarKit: 29b45073b54d7f5db13e53b7afe6fb6f36c6bea7 + RSocket: 0b49004a22945bbf00a5760d9fd9e7e57be5478d + Sonar: 059d1cf14e9cfa67a7103c666f875e62e8c285d7 + SonarKit: eb72de3f8ec9fa7a2610b6ef1f6a480b99317fdc Yoga: e6f1fed82138c17da5332e15e5770abf0e9cc386 YogaKit: bb90d11e297e06abef7e0cfb20e035a6bd00cdc4 -PODFILE CHECKSUM: cab936292346d86ef8900c8f67d3c707dc421709 +PODFILE CHECKSUM: 1904a24f0191377e3743dc726e5d7e52455b7ff4 -COCOAPODS: 1.5.2 \ No newline at end of file +COCOAPODS: 1.5.2 diff --git a/iOS/Sample/Sample.xcodeproj/project.pbxproj b/iOS/Sample/Sample.xcodeproj/project.pbxproj index bbe9e8cf1..20abb82a8 100644 --- a/iOS/Sample/Sample.xcodeproj/project.pbxproj +++ b/iOS/Sample/Sample.xcodeproj/project.pbxproj @@ -342,6 +342,7 @@ "\"${PODS_ROOT}/Headers/Public/boost-for-react-native\"", "\"${PODS_ROOT}/Headers/Public/glog\"/**", "\"${PODS_ROOT}/SonarKit\"/**", + "/usr/local/include\\ /usr/local/Cellar/openssl/1.0.2o_1/include", ); INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -409,6 +410,7 @@ "\"${PODS_ROOT}/Headers/Public/boost-for-react-native\"", "\"${PODS_ROOT}/Headers/Public/glog\"/**", "\"${PODS_ROOT}/SonarKit\"/**", + "/usr/local/include\\ /usr/local/Cellar/openssl/1.0.2o_1/include", ); INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 11.3; diff --git a/iOS/SonarKit.podspec b/iOS/SonarKit.podspec index 80136339f..929797e5e 100644 --- a/iOS/SonarKit.podspec +++ b/iOS/SonarKit.podspec @@ -11,14 +11,16 @@ Pod::Spec.new do |spec| spec.authors = 'Facebook' # spec.prepare_command = 'mv src double-conversion' spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :branch=> "master" } + :branch=> "iOS-RSocket" } spec.module_name = 'SonarKit' spec.dependency 'Folly' spec.dependency 'Sonar' spec.dependency 'CocoaAsyncSocket', '~> 7.6' spec.dependency 'PeerTalk' - spec.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}' + spec.dependency 'OpenSSL-Universal', '~> 1.0' + spec.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h, mm}', spec.public_header_files = 'iOS/SonarKit/CppBridge/*.{h}', + 'iOS/SonarKit/FBCxxUtils/*.{h}', 'iOS/SonarKit/SonarClient.h', 'iOS/SonarKit/SonarDeviceData.h', 'iOS/SonarKit/SonarPlugin.h', @@ -30,7 +32,7 @@ Pod::Spec.new do |spec| 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' 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)/DoubleConversion\" \"$(PODS_ROOT)/ComponentKit\"/**" } + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"/usr/local/include\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/ComponentKit\"/**" } spec.platforms = { :ios => "8.0", :tvos => "9.2" } spec.subspec "SonarKitLayoutPlugin" do |ss| diff --git a/iOS/SonarKit.xcodeproj/project.pbxproj b/iOS/SonarKit.xcodeproj/project.pbxproj index bbcb046f2..dfc559de8 100644 --- a/iOS/SonarKit.xcodeproj/project.pbxproj +++ b/iOS/SonarKit.xcodeproj/project.pbxproj @@ -1,668 +1,563 @@ - - - - - archiveVersion - 1 - classes - - - objectVersion - 46 - objects - - 1DD70E29AEDF69A200000000 - - isa - PBXFileReference - name - SonarKit-Debug.xcconfig - path - ../../buck-out/gen/Libraries/SonarKit/SonarKit-Debug.xcconfig - sourceTree - SOURCE_ROOT - explicitFileType - text.xcconfig - - 1DD70E2959CE208C00000000 - - isa - PBXFileReference - name - SonarKit-Profile.xcconfig - path - ../../buck-out/gen/Libraries/SonarKit/SonarKit-Profile.xcconfig - sourceTree - SOURCE_ROOT - explicitFileType - text.xcconfig - - 1DD70E29CD64CBEE00000000 - - isa - PBXFileReference - name - SonarKit-Release.xcconfig - path - ../../buck-out/gen/Libraries/SonarKit/SonarKit-Release.xcconfig - sourceTree - SOURCE_ROOT - explicitFileType - text.xcconfig - - B401C9792F7F325000000000 - - isa - PBXGroup - name - Buck (Do Not Modify) - sourceTree - ]]> - children - - 1DD70E29AEDF69A200000000 - 1DD70E2959CE208C00000000 - 1DD70E29CD64CBEE00000000 - - - B401C979B781F65D00000000 - - isa - PBXGroup - name - Configurations - sourceTree - ]]> - children - - B401C9792F7F325000000000 - - - 1DD70E291F97291900000000 - - isa - PBXFileReference - name - libSonarKit--916269148.a - path - libSonarKit--916269148.a - sourceTree - BUILT_PRODUCTS_DIR - explicitFileType - archive.ar - - B401C979C806358400000000 - - isa - PBXGroup - name - Products - sourceTree - ]]> - children - - 1DD70E291F97291900000000 - - - 1DD70E29001F47FB00000000 - - isa - PBXFileReference - name - BUCK - path - BUCK - sourceTree - SOURCE_ROOT - explicitFileType - text.script.python - - 1DD70E295D9C4C1E00000000 - - isa - PBXFileReference - name - SonarCppBridgingConnection.h - path - SonarKit/CppBridge/SonarCppBridgingConnection.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E2955ED38AA00000000 - - isa - PBXFileReference - name - SonarCppBridgingConnection.mm - path - SonarKit/CppBridge/SonarCppBridgingConnection.mm - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.cpp.objcpp - - 1DD70E29B6F151F600000000 - - isa - PBXFileReference - name - SonarCppBridgingResponder.h - path - SonarKit/CppBridge/SonarCppBridgingResponder.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E292738EDD200000000 - - isa - PBXFileReference - name - SonarCppBridgingResponder.mm - path - SonarKit/CppBridge/SonarCppBridgingResponder.mm - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.cpp.objcpp - - 1DD70E298E830C8000000000 - - isa - PBXFileReference - name - SonarCppWrapperPlugin.h - path - SonarKit/CppBridge/SonarCppWrapperPlugin.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - B401C979DC3E2AEC00000000 - - isa - PBXGroup - name - CppBridge - path - SonarKit/CppBridge - sourceTree - SOURCE_ROOT - children - - 1DD70E295D9C4C1E00000000 - 1DD70E2955ED38AA00000000 - 1DD70E29B6F151F600000000 - 1DD70E292738EDD200000000 - 1DD70E298E830C8000000000 - - - 1DD70E29978C461B00000000 - - isa - PBXFileReference - name - SKPortForwardingCommon.h - path - SonarKit/Utilities/PortForwarding/SKPortForwardingCommon.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E290DA3557300000000 - - isa - PBXFileReference - name - SKPortForwardingServer.h - path - SonarKit/Utilities/PortForwarding/SKPortForwardingServer.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E290DA3557800000000 - - isa - PBXFileReference - name - SKPortForwardingServer.m - path - SonarKit/Utilities/PortForwarding/SKPortForwardingServer.m - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.objc - - B401C9797FE3A67E00000000 - - isa - PBXGroup - name - PortForwarding - path - SonarKit/Utilities/PortForwarding - sourceTree - SOURCE_ROOT - children - - 1DD70E29978C461B00000000 - 1DD70E290DA3557300000000 - 1DD70E290DA3557800000000 - - - B401C979BD78D6EA00000000 - - isa - PBXGroup - name - Utilities - path - SonarKit/Utilities - sourceTree - SOURCE_ROOT - children - - B401C9797FE3A67E00000000 - - - 1DD70E299D3D8CD900000000 - - isa - PBXFileReference - name - SKMacros.h - path - SonarKit/SKMacros.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E29DD8668F300000000 - - isa - PBXFileReference - name - SKUtils.h - path - SonarKit/SKUtils.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E29D346B67500000000 - - isa - PBXFileReference - name - SKUtils.mm - path - SonarKit/SKUtils.mm - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.cpp.objcpp - - 1DD70E297513814800000000 - - isa - PBXFileReference - name - SonarClient.h - path - SonarKit/SonarClient.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E292D5CA8C000000000 - - isa - PBXFileReference - name - SonarClient.mm - path - SonarKit/SonarClient.mm - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.cpp.objcpp - - 1DD70E29D967BA1B00000000 - - isa - PBXFileReference - name - SonarConnection.h - path - SonarKit/SonarConnection.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E29D016C2B000000000 - - isa - PBXFileReference - name - SonarPlugin.h - path - SonarKit/SonarPlugin.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E29C331B05900000000 - - isa - PBXFileReference - name - SonarResponder.h - path - SonarKit/SonarResponder.h - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.h - - 1DD70E2969DE008400000000 - - isa - PBXFileReference - name - SonarUtil.m - path - SonarKit/SonarUtil.m - sourceTree - SOURCE_ROOT - lastKnownFileType - sourcecode.c.objc - - B401C979EAB5339800000000 - - isa - PBXGroup - name - Sources - sourceTree - ]]> - children - - B401C979DC3E2AEC00000000 - B401C979BD78D6EA00000000 - 1DD70E299D3D8CD900000000 - 1DD70E29DD8668F300000000 - 1DD70E29D346B67500000000 - 1DD70E297513814800000000 - 1DD70E292D5CA8C000000000 - 1DD70E29D967BA1B00000000 - 1DD70E29D016C2B000000000 - 1DD70E29C331B05900000000 - 1DD70E2969DE008400000000 - - - B401C9795F1632B300000000 - - isa - PBXGroup - name - SonarKit - sourceTree - ]]> - children - - 1DD70E29001F47FB00000000 - B401C979EAB5339800000000 - - - B401C979EFB6AC4600000000 - - isa - PBXGroup - name - mainGroup - sourceTree - ]]> - children - - B401C979B781F65D00000000 - B401C979C806358400000000 - B401C9795F1632B300000000 - - - E7A30F0455ED38AA00000000 - - isa - PBXBuildFile - fileRef - 1DD70E2955ED38AA00000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - E7A30F042738EDD200000000 - - isa - PBXBuildFile - fileRef - 1DD70E292738EDD200000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - E7A30F040DA3557800000000 - - isa - PBXBuildFile - fileRef - 1DD70E290DA3557800000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - E7A30F04D346B67500000000 - - isa - PBXBuildFile - fileRef - 1DD70E29D346B67500000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - E7A30F042D5CA8C000000000 - - isa - PBXBuildFile - fileRef - 1DD70E292D5CA8C000000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - E7A30F0469DE008400000000 - - isa - PBXBuildFile - fileRef - 1DD70E2969DE008400000000 - settings - - COMPILER_FLAGS - -stdlib=libc++ -D_LIBCPP_HAS_NO_STRONG_ENUMS=1 - - - 1870857F0000000000000000 - - isa - PBXSourcesBuildPhase - files - - E7A30F0455ED38AA00000000 - E7A30F042738EDD200000000 - E7A30F040DA3557800000000 - E7A30F04D346B67500000000 - E7A30F042D5CA8C000000000 - E7A30F0469DE008400000000 - - - 4952437303EDA63300000000 - - isa - XCBuildConfiguration - name - Debug - buildSettings - - - baseConfigurationReference - 1DD70E29AEDF69A200000000 - - 4952437350C7218900000000 - - isa - XCBuildConfiguration - name - Profile - buildSettings - - - baseConfigurationReference - 1DD70E2959CE208C00000000 - - 49524373A439BFE700000000 - - isa - XCBuildConfiguration - name - Release - buildSettings - - - baseConfigurationReference - 1DD70E29CD64CBEE00000000 - - 218C37090000000000000000 - - isa - XCConfigurationList - buildConfigurations - - 4952437303EDA63300000000 - 4952437350C7218900000000 - 49524373A439BFE700000000 - - defaultConfigurationIsVisible - - - E66DC04E5F1632B300000000 - - isa - PBXNativeTarget - name - SonarKit - productName - SonarKit--916269148 - productReference - 1DD70E291F97291900000000 - productType - com.apple.product-type.library.static - dependencies - - - buildPhases - - 1870857F0000000000000000 - - buildConfigurationList - 218C37090000000000000000 - - 4952437303EDA63300000001 - - isa - XCBuildConfiguration - name - Debug - buildSettings - - - - 4952437350C7218900000001 - - isa - XCBuildConfiguration - name - Profile - buildSettings - - - - 49524373A439BFE700000001 - - isa - XCBuildConfiguration - name - Release - buildSettings - - - - 218C37090000000000000001 - - isa - XCConfigurationList - buildConfigurations - - 4952437303EDA63300000001 - 4952437350C7218900000001 - 49524373A439BFE700000001 - - defaultConfigurationIsVisible - - - 96C847935F1632B300000000 - - isa - PBXProject - mainGroup - B401C979EFB6AC4600000000 - targets - - E66DC04E5F1632B300000000 - - buildConfigurationList - 218C37090000000000000001 - compatibilityVersion - Xcode 3.2 - attributes - - LastUpgradeCheck - 9999 - - - - rootObject - 96C847935F1632B300000000 - - \ No newline at end of file +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 53D19A2620A4BABA00A371E3 /* SonarClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53D19A1220A4BAB900A371E3 /* SonarClient.mm */; }; + 53D19A2820A4BABA00A371E3 /* SonarUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 53D19A1420A4BAB900A371E3 /* SonarUtil.m */; }; + 53D19A2F20A4BABA00A371E3 /* SKPortForwardingServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 53D19A1D20A4BABA00A371E3 /* SKPortForwardingServer.m */; }; + 53D19A3020A4BABA00A371E3 /* SonarCppBridgingConnection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53D19A1F20A4BABA00A371E3 /* SonarCppBridgingConnection.mm */; }; + 53D19A3320A4BABA00A371E3 /* SonarCppBridgingResponder.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53D19A2220A4BABA00A371E3 /* SonarCppBridgingResponder.mm */; }; + 53D4C4FC20A5B20000613A96 /* SKUtils.mm in Sources */ = {isa = PBXBuildFile; fileRef = 53D4C4FA20A5B20000613A96 /* SKUtils.mm */; }; + 53D4C50620A5B72800613A96 /* SonarCppWrapperPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A2020A4BABA00A371E3 /* SonarCppWrapperPlugin.h */; }; + 53D4C50720A5B72800613A96 /* SonarCppBridgingConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A2120A4BABA00A371E3 /* SonarCppBridgingConnection.h */; }; + 53D4C50820A5B72800613A96 /* SonarCppBridgingResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A2320A4BABA00A371E3 /* SonarCppBridgingResponder.h */; }; + 53D4C50920A5B72800613A96 /* SKMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1020A4BAB900A371E3 /* SKMacros.h */; }; + 53D4C50A20A5B72800613A96 /* SonarClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1120A4BAB900A371E3 /* SonarClient.h */; }; + 53D4C50B20A5B72800613A96 /* SonarConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1820A4BAB900A371E3 /* SonarConnection.h */; }; + 53D4C50C20A5B72800613A96 /* SonarPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1620A4BAB900A371E3 /* SonarPlugin.h */; }; + 53D4C50D20A5B72800613A96 /* SonarResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1320A4BAB900A371E3 /* SonarResponder.h */; }; + 53D4C50E20A5B72800613A96 /* SKUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D4C4F920A5B20000613A96 /* SKUtils.h */; }; + 53D4C50F20A5B72800613A96 /* SKPortForwardingServer.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1B20A4BABA00A371E3 /* SKPortForwardingServer.h */; }; + 53D4C51020A5B72800613A96 /* SKPortForwardingCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 53D19A1C20A4BABA00A371E3 /* SKPortForwardingCommon.h */; }; + 53D4C51220A5B89900613A96 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53D4C51120A5B89900613A96 /* Foundation.framework */; }; + 6AE55F0A77A5644AADF2CEA6 /* libPods-SonarKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 104CB87D17FDFDC934630C14 /* libPods-SonarKit.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 104CB87D17FDFDC934630C14 /* libPods-SonarKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SonarKit.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 53D19A0520A4BA3600A371E3 /* SonarKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SonarKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 53D19A0920A4BA3600A371E3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 53D19A1020A4BAB900A371E3 /* SKMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SKMacros.h; sourceTree = ""; }; + 53D19A1120A4BAB900A371E3 /* SonarClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarClient.h; sourceTree = ""; }; + 53D19A1220A4BAB900A371E3 /* SonarClient.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SonarClient.mm; sourceTree = ""; }; + 53D19A1320A4BAB900A371E3 /* SonarResponder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarResponder.h; sourceTree = ""; }; + 53D19A1420A4BAB900A371E3 /* SonarUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SonarUtil.m; sourceTree = ""; }; + 53D19A1620A4BAB900A371E3 /* SonarPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarPlugin.h; sourceTree = ""; }; + 53D19A1820A4BAB900A371E3 /* SonarConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarConnection.h; sourceTree = ""; }; + 53D19A1B20A4BABA00A371E3 /* SKPortForwardingServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SKPortForwardingServer.h; sourceTree = ""; }; + 53D19A1C20A4BABA00A371E3 /* SKPortForwardingCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SKPortForwardingCommon.h; sourceTree = ""; }; + 53D19A1D20A4BABA00A371E3 /* SKPortForwardingServer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SKPortForwardingServer.m; sourceTree = ""; }; + 53D19A1F20A4BABA00A371E3 /* SonarCppBridgingConnection.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SonarCppBridgingConnection.mm; sourceTree = ""; }; + 53D19A2020A4BABA00A371E3 /* SonarCppWrapperPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarCppWrapperPlugin.h; sourceTree = ""; }; + 53D19A2120A4BABA00A371E3 /* SonarCppBridgingConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarCppBridgingConnection.h; sourceTree = ""; }; + 53D19A2220A4BABA00A371E3 /* SonarCppBridgingResponder.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SonarCppBridgingResponder.mm; sourceTree = ""; }; + 53D19A2320A4BABA00A371E3 /* SonarCppBridgingResponder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SonarCppBridgingResponder.h; sourceTree = ""; }; + 53D4C4F920A5B20000613A96 /* SKUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SKUtils.h; path = SonarKit/SKUtils.h; sourceTree = SOURCE_ROOT; }; + 53D4C4FA20A5B20000613A96 /* SKUtils.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = SKUtils.mm; path = SonarKit/SKUtils.mm; sourceTree = SOURCE_ROOT; }; + 53D4C51120A5B89900613A96 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 5B3C0104984F1A2F624E5394 /* Pods-SonarKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SonarKit.release.xcconfig"; path = "Pods/Target Support Files/Pods-SonarKit/Pods-SonarKit.release.xcconfig"; sourceTree = ""; }; + C6253FA5661121EDD200B8A9 /* Pods-SonarKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SonarKit.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SonarKit/Pods-SonarKit.debug.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 53D19A0120A4BA3600A371E3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 53D4C51220A5B89900613A96 /* Foundation.framework in Frameworks */, + 6AE55F0A77A5644AADF2CEA6 /* libPods-SonarKit.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 256B672257477FB71D3FAD20 /* Pods */ = { + isa = PBXGroup; + children = ( + C6253FA5661121EDD200B8A9 /* Pods-SonarKit.debug.xcconfig */, + 5B3C0104984F1A2F624E5394 /* Pods-SonarKit.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 53D199FB20A4BA3600A371E3 = { + isa = PBXGroup; + children = ( + 53D19A0720A4BA3600A371E3 /* SonarKit */, + 53D19A0620A4BA3600A371E3 /* Products */, + 256B672257477FB71D3FAD20 /* Pods */, + 716CE00064F59AEDC5DB6AA8 /* Frameworks */, + ); + sourceTree = ""; + }; + 53D19A0620A4BA3600A371E3 /* Products */ = { + isa = PBXGroup; + children = ( + 53D19A0520A4BA3600A371E3 /* SonarKit.framework */, + ); + name = Products; + sourceTree = ""; + }; + 53D19A0720A4BA3600A371E3 /* SonarKit */ = { + isa = PBXGroup; + children = ( + 53D19A1E20A4BABA00A371E3 /* CppBridge */, + 53D19A1020A4BAB900A371E3 /* SKMacros.h */, + 53D19A1120A4BAB900A371E3 /* SonarClient.h */, + 53D19A1220A4BAB900A371E3 /* SonarClient.mm */, + 53D19A1820A4BAB900A371E3 /* SonarConnection.h */, + 53D19A1620A4BAB900A371E3 /* SonarPlugin.h */, + 53D19A1320A4BAB900A371E3 /* SonarResponder.h */, + 53D19A1420A4BAB900A371E3 /* SonarUtil.m */, + 53D4C4F920A5B20000613A96 /* SKUtils.h */, + 53D4C4FA20A5B20000613A96 /* SKUtils.mm */, + 53D19A1920A4BABA00A371E3 /* Utilities */, + 53D19A0920A4BA3600A371E3 /* Info.plist */, + ); + path = SonarKit; + sourceTree = ""; + }; + 53D19A1920A4BABA00A371E3 /* Utilities */ = { + isa = PBXGroup; + children = ( + 53D19A1A20A4BABA00A371E3 /* PortForwarding */, + ); + path = Utilities; + sourceTree = ""; + }; + 53D19A1A20A4BABA00A371E3 /* PortForwarding */ = { + isa = PBXGroup; + children = ( + 53D19A1B20A4BABA00A371E3 /* SKPortForwardingServer.h */, + 53D19A1C20A4BABA00A371E3 /* SKPortForwardingCommon.h */, + 53D19A1D20A4BABA00A371E3 /* SKPortForwardingServer.m */, + ); + path = PortForwarding; + sourceTree = ""; + }; + 53D19A1E20A4BABA00A371E3 /* CppBridge */ = { + isa = PBXGroup; + children = ( + 53D19A1F20A4BABA00A371E3 /* SonarCppBridgingConnection.mm */, + 53D19A2020A4BABA00A371E3 /* SonarCppWrapperPlugin.h */, + 53D19A2120A4BABA00A371E3 /* SonarCppBridgingConnection.h */, + 53D19A2220A4BABA00A371E3 /* SonarCppBridgingResponder.mm */, + 53D19A2320A4BABA00A371E3 /* SonarCppBridgingResponder.h */, + ); + path = CppBridge; + sourceTree = ""; + }; + 716CE00064F59AEDC5DB6AA8 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 53D4C51120A5B89900613A96 /* Foundation.framework */, + 104CB87D17FDFDC934630C14 /* libPods-SonarKit.a */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 53D19A0220A4BA3600A371E3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 53D4C50B20A5B72800613A96 /* SonarConnection.h in Headers */, + 53D4C50D20A5B72800613A96 /* SonarResponder.h in Headers */, + 53D4C50620A5B72800613A96 /* SonarCppWrapperPlugin.h in Headers */, + 53D4C50720A5B72800613A96 /* SonarCppBridgingConnection.h in Headers */, + 53D4C50820A5B72800613A96 /* SonarCppBridgingResponder.h in Headers */, + 53D4C50920A5B72800613A96 /* SKMacros.h in Headers */, + 53D4C50A20A5B72800613A96 /* SonarClient.h in Headers */, + 53D4C50C20A5B72800613A96 /* SonarPlugin.h in Headers */, + 53D4C50E20A5B72800613A96 /* SKUtils.h in Headers */, + 53D4C50F20A5B72800613A96 /* SKPortForwardingServer.h in Headers */, + 53D4C51020A5B72800613A96 /* SKPortForwardingCommon.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 53D19A0420A4BA3600A371E3 /* SonarKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = 53D19A0D20A4BA3600A371E3 /* Build configuration list for PBXNativeTarget "SonarKit" */; + buildPhases = ( + CC935574E023944658E3DB85 /* [CP] Check Pods Manifest.lock */, + 53D19A0020A4BA3600A371E3 /* Sources */, + 53D19A0120A4BA3600A371E3 /* Frameworks */, + 53D19A0220A4BA3600A371E3 /* Headers */, + 53D19A0320A4BA3600A371E3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SonarKit; + productName = SonarKit; + productReference = 53D19A0520A4BA3600A371E3 /* SonarKit.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 53D199FC20A4BA3600A371E3 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0940; + ORGANIZATIONNAME = Facebook; + TargetAttributes = { + 53D19A0420A4BA3600A371E3 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 53D199FF20A4BA3600A371E3 /* Build configuration list for PBXProject "SonarKit" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 53D199FB20A4BA3600A371E3; + productRefGroup = 53D19A0620A4BA3600A371E3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 53D19A0420A4BA3600A371E3 /* SonarKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 53D19A0320A4BA3600A371E3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + CC935574E023944658E3DB85 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-SonarKit-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 53D19A0020A4BA3600A371E3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 53D19A3320A4BABA00A371E3 /* SonarCppBridgingResponder.mm in Sources */, + 53D4C4FC20A5B20000613A96 /* SKUtils.mm in Sources */, + 53D19A2F20A4BABA00A371E3 /* SKPortForwardingServer.m in Sources */, + 53D19A3020A4BABA00A371E3 /* SonarCppBridgingConnection.mm in Sources */, + 53D19A2620A4BABA00A371E3 /* SonarClient.mm in Sources */, + 53D19A2820A4BABA00A371E3 /* SonarUtil.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 53D19A0B20A4BA3600A371E3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_CXX0X_EXTENSIONS = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 53D19A0C20A4BA3600A371E3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_CXX0X_EXTENSIONS = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 53D19A0E20A4BA3600A371E3 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C6253FA5661121EDD200B8A9 /* Pods-SonarKit.debug.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "COCOAPODS=1", + ); + GCC_USE_STANDARD_INCLUDE_SEARCHING = YES; + HEADER_SEARCH_PATHS = ( + "${SRCROOT}/SonarKit/**", + "${SRCROOT}/../xplat/**", + "$(inherited)", + "${PODS_ROOT}/Headers/Public/DoubleConversion/**", + "${PODS_ROOT}/boost-for-react-native", + "${PODS_ROOT}/Headers/Public/Folly", + "${PODS_ROOT}/DoubleConversion", + "${PODS_ROOT}/Headers/Public/glog", + "${PODS_ROOT}/Headers/Public/CocoaAsyncSocket", + /usr/local/Cellar/openssl/1.0.2o_1/include, + ); + INFOPLIST_FILE = SonarKit/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_MOBILE=1", + "-DFOLLY_HAVE_LIBGFLAGS=0", + "-DFOLLY_FORCE_EXCEPTION_COUNT_USE_STD=1", + "-DFOLLY_USE_SYMBOLIZER=0", + "-DFOLLY_HAVE_TFO=0", + "-DFOLLY_HAVE_PWRITEV=0", + "-DFOLLY_HAVE_PREADV=0", + "-DFOLLY_HAVE_LIBJEMALLOC=0", + ); + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-l\"DoubleConversion\"", + "-l\"Folly\"", + "-l\"glog\"", + "-l\"stdc++\"", + "-DFOLLY_NO_CONFIG=1", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_HAVE_LIBGFLAGS=0", + "-DFOLLY_HAVE_LIBJEMALLOC=0", + "-DFOLLY_HAVE_PREADV=0", + "-DFOLLY_HAVE_TFO=0", + "-DFOLLY_FORCE_EXCEPTION_COUNT_USE_STD=1", + "-DFOLLY_USE_SYMBOLIZER=0", + "-DFOLLY_HAVE_PWRITEV=0", + ); + OTHER_LIBTOOLFLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = FB.SonarKit; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + "USER_HEADER_SEARCH_PATHS[arch=*]" = "${SRCROOT}/SonarKit/** ${SRCROOT}/../xplat/**"; + USE_HEADERMAP = YES; + }; + name = Debug; + }; + 53D19A0F20A4BA3600A371E3 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5B3C0104984F1A2F624E5394 /* Pods-SonarKit.release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_USE_STANDARD_INCLUDE_SEARCHING = YES; + HEADER_SEARCH_PATHS = ( + "${SRCROOT}/SonarKit/**", + "${SRCROOT}/../xplat/**", + "$(inherited)", + "${PODS_ROOT}/Headers/Public/DoubleConversion/**", + "${PODS_ROOT}/boost-for-react-native", + "${PODS_ROOT}/Headers/Public/Folly", + "${PODS_ROOT}/DoubleConversion", + "${PODS_ROOT}/Headers/Public/glog", + "${PODS_ROOT}/Headers/Public/CocoaAsyncSocket", + /usr/local/Cellar/openssl/1.0.2o_1/include, + ); + INFOPLIST_FILE = SonarKit/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_MOBILE=1", + "-DFOLLY_HAVE_LIBGFLAGS=0", + "-DFOLLY_FORCE_EXCEPTION_COUNT_USE_STD=1", + "-DFOLLY_USE_SYMBOLIZER=0", + "-DFOLLY_HAVE_TFO=0", + "-DFOLLY_HAVE_PWRITEV=0", + "-DFOLLY_HAVE_PREADV=0", + "-DFOLLY_HAVE_LIBJEMALLOC=0", + ); + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-l\"DoubleConversion\"", + "-l\"Folly\"", + "-l\"glog\"", + "-l\"stdc++\"", + "-DFOLLY_NO_CONFIG=1", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_HAVE_LIBGFLAGS=0", + "-DFOLLY_HAVE_LIBJEMALLOC=0", + "-DFOLLY_HAVE_PREADV=0", + "-DFOLLY_HAVE_TFO=0", + "-DFOLLY_FORCE_EXCEPTION_COUNT_USE_STD=1", + "-DFOLLY_USE_SYMBOLIZER=0", + "-DFOLLY_HAVE_PWRITEV=0", + ); + OTHER_LIBTOOLFLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = FB.SonarKit; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + USE_HEADERMAP = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 53D199FF20A4BA3600A371E3 /* Build configuration list for PBXProject "SonarKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 53D19A0B20A4BA3600A371E3 /* Debug */, + 53D19A0C20A4BA3600A371E3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 53D19A0D20A4BA3600A371E3 /* Build configuration list for PBXNativeTarget "SonarKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 53D19A0E20A4BA3600A371E3 /* Debug */, + 53D19A0F20A4BA3600A371E3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 53D199FC20A4BA3600A371E3 /* Project object */; +} diff --git a/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.h b/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.h new file mode 100644 index 000000000..dd83b9df3 --- /dev/null +++ b/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.h @@ -0,0 +1,14 @@ +// Copyright 2004-present Facebook. All Rights Reserved. +#pragma once + +#import + +#include + +namespace facebook { +namespace cxxutils { + +folly::dynamic convertIdToFollyDynamic(id json); +id convertFollyDynamicToId(const folly::dynamic &dyn); + +} } diff --git a/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.mm b/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.mm new file mode 100644 index 000000000..b19405511 --- /dev/null +++ b/iOS/SonarKit/FBCxxUtils/FBCxxFollyDynamicConvert.mm @@ -0,0 +1,110 @@ +// Copyright 2004-present Facebook. All Rights Reserved. + +#import "FBCxxFollyDynamicConvert.h" + +#import + +namespace facebook { +namespace cxxutils { + +/* + * The implementation is taken from RCTFollyConvert(https://fburl.com/vzw8ql2q) + */ + +id convertFollyDynamicToId(const folly::dynamic &dyn) { + // I could imagine an implementation which avoids copies by wrapping the + // dynamic in a derived class of NSDictionary. We can do that if profiling + // implies it will help. + + switch (dyn.type()) { + case folly::dynamic::NULLT: + return (id)kCFNull; + case folly::dynamic::BOOL: + return dyn.getBool() ? @YES : @NO; + case folly::dynamic::INT64: + return @(dyn.getInt()); + case folly::dynamic::DOUBLE: + return @(dyn.getDouble()); + case folly::dynamic::STRING: + return [[NSString alloc] initWithBytes:dyn.c_str() length:dyn.size() + encoding:NSUTF8StringEncoding]; + case folly::dynamic::ARRAY: { + NSMutableArray *array = [[NSMutableArray alloc] initWithCapacity:dyn.size()]; + for (auto &elem : dyn) { + [array addObject:convertFollyDynamicToId(elem)]; + } + return array; + } + case folly::dynamic::OBJECT: { + NSMutableDictionary *dict = [[NSMutableDictionary alloc] initWithCapacity:dyn.size()]; + for (auto &elem : dyn.items()) { + dict[convertFollyDynamicToId(elem.first)] = convertFollyDynamicToId(elem.second); + } + return dict; + } + } +} + +folly::dynamic convertIdToFollyDynamic(id json) +{ + if (json == nil || json == (id)kCFNull) { + return nullptr; + } else if ([json isKindOfClass:[NSNumber class]]) { + const char *objCType = [json objCType]; + switch (objCType[0]) { + // This is a c++ bool or C99 _Bool. On some platforms, BOOL is a bool. + case _C_BOOL: + return (bool) [json boolValue]; + case _C_CHR: + // On some platforms, objc BOOL is a signed char, but it + // might also be a small number. Use the same hack JSC uses + // to distinguish them: + // https://phabricator.intern.facebook.com/diffusion/FBS/browse/master/fbobjc/xplat/third-party/jsc/safari-600-1-4-17/JavaScriptCore/API/JSValue.mm;b8ee03916489f8b12143cd5c0bca546da5014fc9$901 + if ([json isKindOfClass:[@YES class]]) { + return (bool) [json boolValue]; + } else { + return [json longLongValue]; + } + case _C_UCHR: + case _C_SHT: + case _C_USHT: + case _C_INT: + case _C_UINT: + case _C_LNG: + case _C_ULNG: + case _C_LNG_LNG: + case _C_ULNG_LNG: + return [json longLongValue]; + + case _C_FLT: + case _C_DBL: + return [json doubleValue]; + + // default: + // fall through + } + } else if ([json isKindOfClass:[NSString class]]) { + NSData *data = [json dataUsingEncoding:NSUTF8StringEncoding]; + return std::string(reinterpret_cast(data.bytes), + data.length); + } else if ([json isKindOfClass:[NSArray class]]) { + folly::dynamic array = folly::dynamic::array; + for (id element in json) { + array.push_back(convertIdToFollyDynamic(element)); + } + return array; + } else if ([json isKindOfClass:[NSDictionary class]]) { + __block folly::dynamic object = folly::dynamic::object(); + + [json enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSString *value, __unused BOOL *stop) { + object.insert(convertIdToFollyDynamic(key), + convertIdToFollyDynamic(value)); + }]; + + return object; + } + + return nil; +} + +} } diff --git a/iOS/SonarKit/Info.plist b/iOS/SonarKit/Info.plist new file mode 100644 index 000000000..1007fd9dd --- /dev/null +++ b/iOS/SonarKit/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/iOS/third-party-podspecs/Folly.podspec b/iOS/third-party-podspecs/Folly.podspec index 4732038d7..af8bc68b1 100755 --- a/iOS/third-party-podspecs/Folly.podspec +++ b/iOS/third-party-podspecs/Folly.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Folly' - spec.version = '2018.05.07.00' + spec.version = '2018.05.28.00' spec.license = { :type => 'Apache License, Version 2.0' } spec.homepage = 'https://github.com/facebook/folly' spec.summary = 'An open-source C++ library developed and used at Facebook.' @@ -11,7 +11,7 @@ Pod::Spec.new do |spec| spec.dependency 'boost-for-react-native' spec.dependency 'DoubleConversion' spec.dependency 'glog' - 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 + spec.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 -fexceptions -std=c++14 -Wno-error @@ -25,10 +25,27 @@ Pod::Spec.new do |spec| '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/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/system/*.cpp' # workaround for https://github.com/facebook/react-native/issues/14326 spec.preserve_paths = 'folly/*.h', @@ -38,16 +55,16 @@ Pod::Spec.new do |spec| 'folly/detail/*.h', 'folly/hash/*.h', 'folly/memory/*.h', - 'folly/**/*.h' + 'folly/**/*.h', + 'folly/futures/detail/*.h', + 'folly/futures/*.h' spec.header_mappings_dir = 'folly' spec.header_dir = 'folly' spec.libraries = "stdc++" spec.private_header_files = 'folly/portability/Stdlib.h', - 'folly/portability/Malloc.h', - 'folly/portability/Stdlib.h', - 'folly/portability/Stdio.h', - 'folly/portability/PThread.h' + 'folly/portability/Stdio.h' + spec.public_header_files = 'folly/portability/Config.h', 'folly/Executor.h', 'folly/Function.h', @@ -81,14 +98,18 @@ Pod::Spec.new do |spec| '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/*.h', + 'folly/portability/PThread.h', + 'folly/futures/*.h', + 'folly/futures/detail/*.h' spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", "CLANG_CXX_LANGUAGE_STANDARD" => "c++11", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" } + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"/usr/local/include\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" } # Pinning to the same version as React.podspec. spec.platforms = { :ios => "8.0", :tvos => "10.0" } diff --git a/iOS/third-party-podspecs/LibEvent.podspec b/iOS/third-party-podspecs/LibEvent.podspec new file mode 100644 index 000000000..3dc29d42b --- /dev/null +++ b/iOS/third-party-podspecs/LibEvent.podspec @@ -0,0 +1,29 @@ +Pod::Spec.new do |s| + + s.name = "libevent" + s.version = "1.0" + s.summary = "Unofficial libevent mirror for Cocoapods" + + s.description = <<-DESC + This is a binary distribution of the libevent library built for iOS. + The library uses configure which makes it a bit tricky to cross compile. + DESC + + s.homepage = "http://libevent.org/" + s.license = "BSD" + s.authors = { "liguangming" => "cute@liguangming.com" } + s.social_media_url = "http://twitter.com/liguangming" + s.ios.deployment_target = "6.0" + s.source = { :git => "https://github.com/cute/libevent.git", :tag => "1.0" } + s.header_dir = "event2" + s.source_files = "include/**/*.h" + s.ios.library = "event" + s.preserve_paths = "include", "lib" + s.requires_arc = false + s.xcconfig = { + "HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include", + "HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include/event2", + "LIBRARY_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/lib", + } + +end diff --git a/iOS/third-party-podspecs/RSocket.podspec b/iOS/third-party-podspecs/RSocket.podspec new file mode 100644 index 000000000..84a44e585 --- /dev/null +++ b/iOS/third-party-podspecs/RSocket.podspec @@ -0,0 +1,53 @@ +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.source_files = 'rsocket/benchmarks/*', + 'rsocket/framing/*', + 'rsocket/internal/*', + 'rsocket/statemachine/*', + 'rsocket/transports/*', + 'rsocket/transports/**/*', + 'yarpl/observable/*', + 'yarpl/flowable/*', + 'rsocket/*' + + 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 = './*' + spec.header_dir = './*' + spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", + "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"/usr/local/include\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/DoubleConversion\"/**" } + spec.platforms = { :ios => "8.0", :tvos => "9.2" } + +end diff --git a/xplat/Sonar/SonarKitCPP.podspec b/xplat/Sonar/SonarKitCPP.podspec index 3fe3e83bf..50338a96b 100644 --- a/xplat/Sonar/SonarKitCPP.podspec +++ b/xplat/Sonar/SonarKitCPP.podspec @@ -7,27 +7,18 @@ Pod::Spec.new do |spec| spec.authors = 'Facebook' # spec.prepare_command = 'mv src double-conversion' spec.source = { :git => 'https://github.com/facebook/Sonar.git', - :branch => 'master' } + :branch => 'iOS-RSocket' } 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' - spec.dependency 'EasyWSClient' - # spec.dependency 'boost-for-react-native' - # - # spec.dependency 'DoubleConversion' - # spec.dependency 'Folly' - # spec.dependency 'glog' + 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.header_mappings_dir = 'folly' - # spec.header_dir = 'folly' - # spec.preserve_paths = 'xplat/**/*' - # Pinning to the same version as React.podspec. spec.platforms = { :ios => "8.0", :tvos => "9.2" } 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)/EasyWSClient\" \"$(PODS_ROOT)/DoubleConversion\"" } + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"/usr/local/include\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" } end