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'
Related
i am relatively new in ios, especially cocoa pods. i ran into a problem,somehow the IgListKit dependency is un-importable, I already clean build, build 1st then add the import, even deleting the xcworkplace and adding a new one by doing pod install
How do I fix it? is it an issue within the Pod? should I file an error? Thank you
How I add the dependencies :
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
target 'LearnViper' do
pod 'Alamofire', '~> 5.4'
pod 'RxSwift', '6.2.0'
pod 'RxCocoa', '6.2.0'
pod 'Kingfisher', '~> 7.0'
pod 'SkeletonView'
pod 'IGListKit', '~> 4.0.0'
end
platform :ios, '12.0'
target 'LearnViper' do
use_frameworks!
pod 'Alamofire', '~> 5.4'
pod 'RxSwift', '6.2.0'
pod 'RxCocoa', '6.2.0'
pod 'Kingfisher', '~> 7.0'
pod 'SkeletonView'
pod 'IGListKit', '~> 4.0.0'
end
you have to update your gem file with command first
sudo gem install -n /usr/local/bin cocoapods
then after that open podfile add pods and install
Looks like all you have to do is add
use_frameworks! in your pod file
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:
I am facing an issue wherein I needed to use FirebaseRemoteConfig for my iOS app. I included the following pod:
pod 'Firebase/RemoteConfig'
Now when I am running the command on terminal:
pod install
It shows me the error:
Framework not found 'Protobuf'
Its really frustrating as the project was running fine before this. I have tried some suggestions from stack overflow but could not resolve the issue.
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
# ignore all warnings from all pods
inhibit_all_warnings!
use_frameworks!
target 'S****k' do
pod 'AFNetworking', '~> 2.6'
pod 'TPKeyboardAvoiding', '~> 1.2'
pod 'SVProgressHUD', '~> 1.1'
pod 'Google/SignIn'
pod 'Mantle', '~> 2.0'
pod 'FBSDKCoreKit'#, '~> 4.8'
pod 'FBSDKLoginKit'#, '~> 4.8'
pod 'GooglePlaces', '~> 3.0.0'
#pod 'Firebase/Core'
pod 'GoogleTagManager'
pod 'GoogleIDFASupport'
pod 'Fabric'
pod 'Crashlytics'
pod 'AppsFlyerFramework'
pod 'KissXML'
pod 'GoogleMaps', '~> 3.0.0'
pod 'AutoScrollLabel'
pod "CleverTap-iOS-SDK"
pod 'IQKeyboardManager'
pod 'TrueSDK'
pod 'HyperSDK', '0.2.90'
pod 'ExpressCheckout'
#pod "AlignedCollectionViewFlowLayout"
pod 'UICollectionViewLeftAlignedLayout'
#pod 'TGLParallaxCarousel'
pod "JuspaySafeBrowser"
pod 'Firebase/RemoteConfig'
PLEASE BACKUP YOUR PROJECT
Let's go to "Your Project" -> Build Settings
find here Find here "Other Linker Flags" and open it
delete (click on "-" sign) string "Protobuf" and string "framework" above "Protobuf"
clean build Folder (Command + SHIFT + K) and rebuild
that's all
Select Project target
Go to build phases
Search Protobuf
delete Protobuf framework
Clean build folder and then build
It is worked for me
Worked for me
delete pods
delete .symlinks
flutter clean
flutter run
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
I get the following warnings when I install quick and nimble in xcode 7
Directory not found for option
'-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
Directory not found for option
'-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
There was an issue open on this, but it seems like it was resolved, so I am guessing I am doing something else wrong.
There is also this SO question but the answers there suggest removing the framework search path, which I have something for google maps added to that and I get other errors when I delete that entry.
Any other ideas?
Here is my podfile:
platform :ios , '8.0'
use_frameworks!
target 'OurLatitude' do
pod 'AlamofireObjectMapper', '~> 0.9'
pod 'DateTools'
pod 'GoogleMaps'
pod 'Google/CloudMessaging'
pod 'SDWebImage', '~>3.7'
pod 'SDWebImage/MapKit', '~>3.7'
end
target 'OurLatitudeTests' do
pod 'Quick', '~> 0.6.0'
pod 'Nimble', '2.0.0-rc.3'
pod 'AlamofireObjectMapper', '~> 0.9'
pod 'DateTools'
pod 'GoogleMaps'
pod 'Google/CloudMessaging'
pod 'SDWebImage', '~>3.7'
pod 'SDWebImage/MapKit', '~>3.7'
end
It seems that the issue has been resolved only very recently and hasn't made it into a release yet. I guess we'll just have to patient :)