I've been trying to add OneSignal to my proyect, the error appears on my other pods that I'm working with when I add target 'OneSignalNotificationServiceExtension' do
pod 'OneSignal', '>= 2.6.2', '< 3.0'
end to my Podfile.
I've also tried to change the Require Only App-Extension-Safe API values and still no success
Does anyone had the same problem and solved it?
Related
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.
I am currently unable to compile my podfile in Xcode10, and there doesn't seem to be much information online regarding how to fix this issue...
The current message I am getting is:
Showing All Messages
:-1: missing input '(File location)...Podfile.o' and no rule to build it
And this is my podfile:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'App' do
project '/Users/Oskilla/Desktop/Swift/App/App.xcodeproj'
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'Google-Maps-iOS-Utils'
pod 'INSPhotoGallery'
end
Does anyone have any ideas on how to fix this issue?
Thanks a lot
You don't compile a Podfile. You use the CocoaPods gem to install and setup a CocoaPods integrated workspace:
Getting Started with CocoaPods
open terminal, cd /toPodFileDir/, then pod install
then open the xcworkspace file in your project folder and try to compile.
If you get errors after trying the above, let me know and I can edit.
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.
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
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!)