Skip to content

Instantly share code, notes, and snippets.

@fxcosta
Last active February 28, 2020 16:03
Show Gist options
  • Select an option

  • Save fxcosta/7c89fb8699b2f2d1ff35e3eb71669124 to your computer and use it in GitHub Desktop.

Select an option

Save fxcosta/7c89fb8699b2f2d1ff35e3eb71669124 to your computer and use it in GitHub Desktop.
Ld /Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/RNFBApp/RNFBApp.framework/RNFBApp normal x86_64 (in target 'RNFBApp' from project 'Pods')
cd /Users/sotero/Documents/soterotech/esl-app/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk -L/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/RNFBApp -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/RNFBApp -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/DoubleConversion -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/FirebaseInstanceID -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/Folly -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/GoogleDataTransportCCTSupport -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/React -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/glog -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/nanopb -F/Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/yoga -F/Users/sotero/Documents/soterotech/esl-app/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/sotero/Documents/soterotech/esl-app/ios/Pods/GoogleAppMeasurement/Frameworks -filelist /Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNFBApp.build/Objects-normal/x86_64/RNFBApp.LinkFileList -install_name @rpath/RNFBApp.framework/RNFBApp -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNFBApp.build/Objects-normal/x86_64/RNFBApp_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework StoreKit -framework Foundation -framework React -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNFBApp.build/Objects-normal/x86_64/RNFBApp_dependency_info.dat -o /Users/sotero/Library/Developer/Xcode/DerivedData/esl-egsmqvltvmiyfocsavspcrbvxrht/Build/Products/Debug-iphonesimulator/RNFBApp/RNFBApp.framework/RNFBApp
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FIROptions", referenced from:
objc-class-ref in RCTConvert+FIROptions.o
"_OBJC_CLASS_$_FIRApp", referenced from:
objc-class-ref in RCTConvert+FIRApp.o
objc-class-ref in RNFBAppModule.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'ESL' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for ESL
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge',
'DevSupport',
'RCTActionSheet',
'RCTAnimation',
'RCTBlob',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket'
]
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
# first way
# pod 'Firebase/Core', '~> 6.13.0'
# pod 'Firebase/Analytics', '~> 6.13.0'
# second way
# pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios/RNFirebase.podspec'
# pod 'RNFBApp', path: '../node_modules/@react-native-firebase/app/RNFBApp.podspec'
# pod 'RNFBAnalytics', path: '../node_modules/@react-native-firebase/analytics/RNFBAnalytics.podspec'
# dependency for analytics from ios
# pod 'GoogleIDFASupport', '~> 3.14.0'
# Pods for Example
pod 'RNScreens', :path => '../node_modules/react-native-screens'
end
post_install do |installer|
# installer.pods_project.targets.each do |target|
# if target.name == "React"
# target.remove_from_project
# end
# The following is needed to ensure the "archive" step works in XCode.
# It removes React & Yoga from the Pods project, as it is already included in the main project.
# Without this, you'd see errors when you archive like:
# "Multiple commands produce ... libReact.a"
# "Multiple commands produce ... libyoga.a"
# FIXME real fix is like so: https://stackoverflow.com/a/55328241/9910298 (remove duplicate refs)
# targets_to_ignore = %w(React yoga)
# if targets_to_ignore.include? target.name
# target.remove_from_project
# end
# end
# This fixes the problems with headers not found
system("mkdir -p Pods/Headers/Public/FirebaseCore && cp Pods/FirebaseCore/Firebase/Core/Public/* Pods/Headers/Public/FirebaseCore/")
end
# pre_install do |installer|
# # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
# Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment