How to properly uninstall AdMob from iOS app - swift

I have uninstalled the AdMob SDK by commenting out the lines in the Podfile. Then I run pod update. The AdMob SDK and the utilities are removed. However, I get framework not found FBLPromises error.
I have use_frameworks! uncommitted in the Podfile.
Even if I comment out use_frameworks! And run pod update I still get the error.
Here's my Podfile.
# Uncomment the next line to define a global platform for your project
platform :ios, '15.0'
target 'My Collection' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Auburn Collection
pod 'Gemini', '~> 1.4'
# pod 'Google-Mobile-Ads-SDK', '~> 8.9'
# pod 'GoogleUtilities', '~> 7.5'
pod 'TTSegmentedControl', '~> 0.4.9'
end
Two questions:
Do I need to use frameworks for the two remaining pods?
What am I doing wrong and what can I do to fix the error?
Thanks for the help in advance.

I did a search in my app for FBLPromises. It was still in Build Settings > Linking > Other Linked Flags. I had to manually delete it along with other AdMob frameworks. This solved the problem.
It also appears that Gemini uses frameworks so I do need them.

Related

No such module 'XLPagerTabStrip'

i use tutorial https://medium.com/michaeladeyeri/how-to-implement-android-like-tab-layouts-in-ios-using-swift-3-578516c3aa9 and get error No such module 'XLPagerTabStrip'
My Podfile
`# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'NewsTabs' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'XLPagerTabStrip', '~> 8.0'
end
`
I had the same issue when I set my App's Deployment Target set 10.0.
I have fixed this issue by updating Pods.
Step 1: Navigate to your project.
cd /Users/Prakasha/Desktop/Workspace/Projects/YourApp
Step 2: pod update.
this will update your system's all pod files.
thats it once updating completes, quit Xcode and reopened, bugs go away.

Linker Issue Xcode Cocoapods

Installed three pods but for some reason can't get it to work
I tried reinstalling, updating, deintegrating but nothing does it.
I get the following errors. Tried creating the folders manually but the Linker Error remains always
Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Clima' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Clima
pod 'SwiftyJSON'
pod 'Alamofire'
pod 'SVProgressHUD'
end
The frameworks aren't being built. Just open {Yourproject}.xcworkspace generated after adding cocoapods instead of {Yourproject}.xcodeproj - that should help.

CocoaPods Error When Adding New Libraries

I am making a chat application and before I started, I installed the google Firebase frameworks through cocoapods. I now realise that I would like to use another framework to handle image caching.
However, when I add the new line to the podfile and run pod install, I get an error.
Here is my podfile
And here is the error:
I think your add incomplete name of pod, Please correct it like this.
pod 'Kingfisher', '~> 3.0'
And then install pod againg
pod install
You are just missing an ' at the end of 3.0
Change the line to:
pod 'Kingfisher', '~> 3.0'
Then, try again and you should be good to go.

Firebase won't work

i don't know if someone have the same problem at the moment, but i'm trying to import Firebase in my app but it only shows "No such module for Firebase". Could anyone please help me?
This is the error i get every time.
EDIT: (Sorry for the noobie errors), this is the code in the Podfile:
target 'CosplaCentral' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for CosplaCentral
target 'CosplaCentralTests' do
inherit! :search_paths
# Pods for testing
end
target 'CosplaCentralUITests' do
inherit! :search_paths
# Pods for testing
pod 'Firebase'
end
end
Update your pod file with the code below, then in Terminal direct to your project file and do pod install (make sure Xcode is closed when doing so) and then load up your project again then retype import Firebase
platform :ios, '8.0'
target 'CosplaCentral' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for LT Sounds
pod 'Firebase'
pod 'Firebase/Auth'
end

Cocoapods pod file install not working "Unable to find a specification for `RealmSwift (~> 0.97)`" swift

I'm attempting to install Realm for swift, expect terminal keeps giving me this error: Unable to find a specification for RealmSwift (~> 0.97). My pod file has been laid out exactly as they recommend. This is my pod file:
target 'AppName' do
use_frameworks!
pod 'RealmSwift', '~> 0.97'
end
target 'AppName Tests' do
use_frameworks!
pod 'RealmSwift', '~> 0.97'
end
target 'AppName UITests' do
end
target 'AppName Keyboatd' do
end
target 'AppName Keyboard' do
end
I just tried it with Realm Objective-C and it worked fine for me. That's strange.
It's possible that since the version is actually called '0.97.0', maybe it's necessary to include that extra '.0'.
Alternatively, is it completely necessary to include the version specifier in there? You can just leave it off, and you'll still get the latest version of Realm (0.97.1 was released a few days ago!)