mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 560 forks source link

Conflict with Nozbe / WatermelonDB #454

Open lander854 opened 4 years ago

lander854 commented 4 years ago

ERROR LOG

ld: warning: directory not found for option '-L/Users/aislanlander/projetos/nectar-fields-sales/ios/Nectar Field Sales' duplicate symbol 'OBJC_IVAR$_FMResultSet._query' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_IVAR$_FMResultSet._statement' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_CLASS$_FMResultSet' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_METACLASS$_FMResultSet' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_IVAR$_FMResultSet._columnNameToIndexMap' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_IVAR$_FMResultSet._parentDB' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMResultSet.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._openFlags' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._databaseOutPool' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._databaseInPool' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_CLASS$_FMDatabasePool' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_METACLASS$_FMDatabasePool' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._path' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._lockQueue' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._delegate' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._maximumNumberOfDatabasesToCreate' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabasePool._vfsName' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabasePool.o) duplicate symbol 'OBJC_IVAR$_FMDatabaseQueue._openFlags' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_IVAR$_FMDatabaseQueue._path' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_IVAR$_FMDatabaseQueue._queue' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_CLASS$_FMDatabaseQueue' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_METACLASS$_FMDatabaseQueue' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_IVAR$_FMDatabaseQueue._vfsName' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_IVAR$_FMDatabaseQueue._db' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabaseQueue.o) duplicate symbol 'OBJC_IVAR$_FMStatement._query' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._checkedOut' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMStatement._useCount' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMStatement._statement' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._isExecutingStatement' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_CLASS$_FMStatement' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_METACLASS$_FMStatement' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._dateFormat' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._shouldCacheStatements' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._cachedStatements' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._openResultSets' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._logsErrors' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._crashOnErrors' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._openFunctions' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._traceExecution' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol '_FMDBBlockSQLiteCallBackFunction' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._maxBusyRetryTimeInterval' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol '_FMDBExecuteBulkSQLCallback' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._databasePath' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_CLASS$_FMDatabase' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_METACLASS$_FMDatabase' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMStatement._inUse' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._startBusyRetryTime' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) duplicate symbol 'OBJC_IVAR$_FMDatabase._db' in: /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/@mauron85_react-native-background-geolocation/lib@mauron85_react-native-background-geolocation.a(FMDB.o) /Users/aislanlander/Library/Developer/Xcode/DerivedData/nectarApp2-hacinsxfzidyctcyojunblerlvav/Build/Products/Debug-iphonesimulator/libWatermelonDB.a(FMDatabase.o) ld: 47 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

lander854 commented 4 years ago

Seems that the two packages use some functions in common, making ios build process fail

Skullcan commented 4 years ago

Have you solved this? Facing the same issue atm.

Skullcan commented 3 years ago

Found a temporary fix for this.

Just remove the reference for the conflicting symbols in xcode project. In my case was FM.DB and FM.H located at: Pods/Development Pods/@mauron85_react-native-background-geolocation/common/BackgroundGeoLocation.

After removing the reference, the build is successful. But it will fail again if you install/update your Pods.

I don't know if this is the best approach but it's working so far.

Any thoughts on this @mauron85? Anyway, thanks for the awesome work.