'db/version_edit.h' file not found because of Firebase - ios

I'm getting the following error when trying to archive my IOS code
#include "db/version_edit.h"
'db/version_edit.h' file not found
I have the following in my Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '11.2'
target 'test' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Minuteapp
pod 'FBSDKLoginKit'
pod 'Firebase/Database'
pod 'Firebase/Core'
pod 'Firebase'
pod 'AppAuth','~> 1.2.0'
pod 'SwiftMessages' , '7.0.0'
pod 'GoogleSignIn'
pod 'Promises'
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Flurry-iOS-SDK/FlurryAds' #Advertising Pod (requires Analytics)
pod 'Flurry-iOS-SDK/FlurryMessaging'
pod ‘Flurry-iOS-SDK/FlurrySDK’
pod 'ApphudSDK'
pod 'FittedSheets', '2.1.1'
pod 'SideMenu'
pod 'ColorThiefSwift', '>= 0.4.1'
pod "SwiftChart"
pod 'SDWebImage', '~> 5.0'
pod 'AQPlayer'
pod 'DeviceKit'
pod "SwiftRater"
# pod 'SwiftyStoreKit'
pod "STPopup"
pod 'Firebase/Analytics'
pod 'OptimizelySwiftSDK', '~> 3.3.2'
pod 'Firebase/DynamicLinks'
end

Here's how the leveldb headers get found in my version of the FirebaseDatabase quickstart:

Related

RxMoya downgrade Alamofire to 4.9.1, but i need to use Alamofire 5+

The main problem is am using currently Moya on my app, but I want to use some functions from "Moya/RxSwift" pod, the problem I am having is when i change the pod the Alamofire downgrades to 4.9.1 and produce a lot of error in the code, there is a way to edit the pod file to keep using Alamofire 5?
My PODS in the podfile:
# Uncomment this line to define a global platform for your project
# platform :ios, ’10.0’
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
def core_pods
#core
pod 'ZXingObjC'
pod 'Moya/RxSwift'
pod 'RxSwift'
pod 'RxCocoa'
pod 'RxViewModel'
pod 'XCGLogger', '~> 6.1.0'
pod 'SwiftyJSON'
pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift", :branch => "master"
pod 'AFDateHelper'
#pod 'Fabric'
#pod 'Crashlytics'
end
def ui_pods
pod 'SVProgressHUD'
pod 'CropViewController'
pod 'lottie-ios'
end
examples of some errors i got on the code because of the downgrade:

Multiple commands produce error GTMSession

I would like to archive my project so I can upload it to Apple-Connect but I am facing this issue:
I also get this these messages:
I googled it and I found that this is quite a common issue, which you can usually resolve by deleting a info.plist file from Build Phase.
However there is no such a file in the regarding Build Phases.
These are my pods for GTM:
Build Phase for GTMSessionFetcher-Core:
Build Phase for GTMSessionFetcher.default-Core:
My podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'Wishlists' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Wishlists
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
#pod 'TextFieldEffects'
pod 'Hero'
pod 'RevealingSplashView'
pod 'LBTAComponents'
pod 'lottie-ios'
pod 'SwiftEntryKit', '1.2.3'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'GoogleSignIn'
pod 'SkeletonView'
pod 'SwiftSoup'
pod 'Firebase/Storage'
pod 'Kingfisher', '~> 5.0'
pod 'KeychainAccess'
end
target 'ShareExtension' do
use_frameworks!
pod 'SwiftSoup'
pod 'URLEmbeddedView'
pod 'lottie-ios'
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'Kingfisher', '~> 5.0'
end
I really don't know much about this stuff so I don't want to delete anything by accident. Does anyone know what to do here?

AWSMobileHubHelper sign-in with Facebook and Google can not build var cocoa pods

I have an iOS app install aws sdk , Facebook Login Kit and google login via cocoa pods. But when I build the app , xCode shows following error:
Show Image
I don't known what's wrong, I've follow mobile hub setup steps.
I've add
"-force_load $(SRCROOT)/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn"
"-force_load $(SRCROOT)/Pods/GoogleUtilities/Frameworks/GoogleUtilities.framework/GoogleUtilities"
to Other Linker Flags,
Here shows the pod file:
platform :ios, '9.0'
target 'AWSLogin' do
use_frameworks!
pod 'AWSS3'
pod 'AWSCognito'
pod 'AWSCognitoIdentityProvider'
pod 'AWSDynamoDB'
pod 'FBSDKCoreKit', '~> 4.9'
pod 'FBSDKLoginKit', '~> 4.9'
pod 'FBSDKShareKit', '~> 4.9'
pod 'GoogleSignIn'
end
And I've add Add the frameworks AddressBook.framework, SafariServices.framework, and SystemConfiguration.framework as dependency.
Dose any body known why it can't build.
I posted the code here.
I fixed this by adding two missing pods to the Podfile:
platform :ios, '9.0'
target 'AWSLogin' do
use_frameworks!
pod 'AWSS3'
pod 'AWSiOSSDKv2'
pod 'AWSCognito'
pod 'AWSCognitoIdentityProvider'
pod 'AWSDynamoDB'
pod 'AWSLambda'
pod 'FBSDKCoreKit', '~> 4.9'
pod 'FBSDKLoginKit', '~> 4.9'
pod 'FBSDKShareKit', '~> 4.9'
pod 'GoogleSignIn'
end

CocoaPods use_frameworks HCSStarRatingView

I have been using pods not problem in my project. I recently added a pod to my podfile "HCSStarRatingView" which in the README says I need to add use_frameworks! at the top.
I did that and ran pod update. I am no longer able to #import <>, #import "" or #import any of my pods. Parse, MBProgressHUD, etc. None are found with any of those import statements. Also, HCSStarRatingView is not found with any combination of import statement either.
I have deleted my pods directory and ran pod install again, which did not fix the issue. My project does not have any Swift. I removed use_frameworks! (old pods work) but then I am still unable to import HCSStarRatingView. There are no issues for this on GitHub and I have not found any questions that help with my issue.
I have also cleaned my project as well as the build folder.
Very simple pod file:
use_frameworks!
pod 'MBProgressHUD'
pod 'Parse'
pod 'ParseFacebookUtilsV4'
pod 'ParseUI'
pod 'ParseCrashReporting'
pod 'RSKImageCropper'
pod 'CRToast'
pod 'JSQMessagesViewController'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'HockeySDK', '~> 3.8'
pod 'SDWebImage', '~> 3.7'
pod 'UIActivityIndicator-for-SDWebImage', '~> 1.2'
pod 'MHVideoPhotoGallery', '~> 1.6'
pod 'TDOAuth', '~> 1.1'
pod 'HCSStarRatingView', '~> 1.4.3'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'

Cocoapods library not found for apple watch extensions

Here is my PodFiles, as apple watch extension only need part of the library in the main app.
# Uncomment this line to define a global platform for your project
platform :ios, '7.0'
######################
source 'https://github.com/CocoaPods/Specs.git'
#source 'https://github.com/albertodebortoli/ADBCocoaPodsRepository.git'
target 'MyAppDev WatchKit Extension', :exclusive => true do
pod 'MagicalRecord/Core+Logging', :git => 'https://github.com/magicalpanda/MagicalRecord.git'
pod 'BlocksKit'
pod 'EncryptedCoreData'
end
# Logging
pod 'CocoaLumberjack' #2.0.0-beta4 at the moment
# Networking
pod 'AFNetworking', '~> 2.0'
#pod 'IADownloadManager'
#pod 'TCBlobDownload'
#pod 'ObjectiveCDM', '~> 1.0.5'
#pod 'librabbitmq-objc'
# Database
pod 'MagicalRecord/Core+Logging', :git => 'https://github.com/magicalpanda/MagicalRecord.git'
#pod 'couchbase-lite-ios'
######################
pod 'StompKit'
######################
#pod 'MQTTKit', :git => 'https://github.com/iosphere/MQTTKit'
# Utilities
pod 'XMLDictionary'
pod 'THObserversAndBinders'
pod 'CocoaSecurity'
pod 'KVOController'
pod 'INTULocationManager'
pod 'zipzap'
pod 'libextobjc'
pod 'ReactiveCocoa'
pod 'EncryptedCoreData'
pod 'LPGoogleFunctions'
# UI
pod 'BFPaperButton', '~> 1.5.7'
pod 'SWTableViewCell', '~> 0.3.6'
pod 'FXImageView', '~> 1.3.5'
pod 'MZFormSheetController' , '~> 2.4.1'
pod 'SVProgressHUD'
#pod 'UITableView-AnimationControl'
#pod 'SlackTextViewController'
pod 'QBImagePickerController'
pod 'MWPhotoBrowser'
pod 'SDWebImage', '~>3.6'
pod 'BlocksKit'
pod 'SIAlertView'
pod 'SZTextView'
pod 'ACEDrawingView'
pod 'PEPhotoCropEditor'
pod 'RBStoryboardLink'
pod 'AMPPreviewController'
when I build the target, I got the following error
library not found for -lPods-EncryptedCoreData
but I did include EncryptedCoreData Library in both targets.
any idea?

Resources