Sergio Casero
05/02/2020, 3:22 PMFirebaseAuth
, but I have some problems with the iOS part, this is how my cocoapods plugin looks:
cocoapods {
summary = "Common library for using firebase auth"
homepage = "TODO"
isStatic = false
pod("FirebaseAuth", "6.5.2")
}
The thing is that the code is well recognized by the IDE and I can develop it without any problems, but when I try to compile the app with xcode, I get:
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FIRAuth", referenced from:
objc-class-ref in result.o
ld: symbol(s) not found for architecture x86_64
If I change to a real device, I get similar output but with arm
values
Any idea?kpgalligan
05/02/2020, 3:28 PMSergio Casero
05/02/2020, 3:33 PM# Uncomment the next line to define a global platform for your project
use_frameworks!
use_modular_headers!
platform :ios, '12.0'
target 'sample_ios' do
pod 'FirebaseAnalytics'
pod 'common', :path => '../common/'
end
${inherit} and -ObjC
kpgalligan
05/02/2020, 3:36 PMcommon.podspec
look like?Sergio Casero
05/02/2020, 3:40 PMkpgalligan
05/02/2020, 3:40 PMSergio Casero
05/02/2020, 3:41 PMkpgalligan
05/02/2020, 3:49 PMSergio Casero
05/02/2020, 3:51 PMkpgalligan
05/02/2020, 3:51 PMSergio Casero
05/02/2020, 3:51 PMkpgalligan
05/02/2020, 3:51 PMSergio Casero
05/02/2020, 3:52 PMkpgalligan
05/02/2020, 3:53 PMSergio Casero
05/02/2020, 3:57 PM