Open sarmadsamiullah opened 4 years ago
Me too. Any update on this? Please share your findings. Thanks
Having the same problem. I upgraded to 2.0.0 and the RCTFBSDKShareApi.m
seems that is not included inside of the react-native-fbsdk
project at:
react-native-fbsdk/ios/share/RCTFBSDKShareApi.m
Seems that this file was intentionally deleted at: https://github.com/facebook/react-native-fbsdk/commit/0a684bea321912ee1313caaa6c4b6d90941971ce
But somehow is still being required by the RCTFBSDK
target cc @janicduplessis
That's why the build is failing 🤔
Here are the references to this removed file:
Any update on this ?
Error
🐛 Bug Report
CompileC /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/Objects-normal/x86_64/RCTFBSDKShareAPI.o /Users/apple/Desktop/React_Native_Projects/Barber/node_modules/react-native-fbsdk/ios/RCTFBSDK/share/RCTFBSDKShareAPI.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCTFBSDK' from project 'RCTFBSDK') cd /Users/apple/Desktop/React_Native_Projects/Barber/node_modules/react-native-fbsdk/ios export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Index/DataStore -iquote /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/RCTFBSDK-generated-files.hmap -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/RCTFBSDK-own-target-headers.hmap -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/RCTFBSDK-all-target-headers.hmap -iquote /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/RCTFBSDK-project-headers.hmap -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/apple/Desktop/React_Native_Projects/Barber/ios/Pods/FBSDKCoreKit/FBSDKCoreKit -I/Users/apple/Desktop/React_Native_Projects/Barber/ios/Pods/FBSDKLoginKit/FBSDKLoginKit -I/Users/apple/Desktop/React_Native_Projects/Barber/ios/Pods/FBSDKShareKit/FBSDKShareKit -I/Users/apple/Desktop/React_Native_Projects/Barber/ios/Pods/Headers/Public -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/DerivedSources-normal/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/DerivedSources/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/DerivedSources -F/Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Products/Debug-iphonesimulator -F/Users/apple/Documents/FacebookSDK -F/Users/apple/Desktop/React_Native_Projects/Barber/ios -F/Users/apple/Desktop/React_Native_Projects/Barber/ios/Frameworks -F/Users/apple/Desktop/React_Native_Projects/Barber/ios/Pods -MMD -MT dependencies -MF /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/Objects-normal/x86_64/RCTFBSDKShareAPI.d --serialize-diagnostics /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/Objects-normal/x86_64/RCTFBSDKShareAPI.dia -c /Users/apple/Desktop/React_Native_Projects/Barber/node_modules/react-native-fbsdk/ios/RCTFBSDK/share/RCTFBSDKShareAPI.m -o /Users/apple/Library/Developer/Xcode/DerivedData/Barber-bbupqtobmauzffcvardotinoiebh/Build/Intermediates.noindex/RCTFBSDK.build/Debug-iphonesimulator/RCTFBSDK.build/Objects-normal/x86_64/RCTFBSDKShareAPI.o
Environment
React Native Environment Info: System: OS: macOS 10.15.1 CPU: (4) x64 Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz Memory: 40.26 MB / 4.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.10.0 - /usr/local/bin/node Yarn: 1.17.3 - /usr/local/bin/yarn npm: 6.11.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 IDEs: Android Studio: 3.5 AI-191.8026.42.35.5977832 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: react: 16.6.3 => 16.6.3 react-native: 0.58.6 => 0.58.6 npmGlobalPackages: react-native-cli: 2.0.1