Error in Cocoa pod file 'XLPagerTabStrip' in Xcode 10 - ios

My Xcode version is 10.0 and Swift 4.2.
When I update my pod file, I am seeing the error as shown in the screenshot.
I think 'XLPagerTabStrip' pod file is not getting updated to latest release. To verify this, I created a sample project and installed 'XLPagerTabStrip' pod file only. There also I can see the same error.

try following pod command ==>
pod deintegrate
and after this try following command ==>
pod install
it will take a while but definitely solve the problem.

Related

Pod Install remove/delete some unrelated object/property

I'd like to remove a Pod called EvernoteSDK from my project.
I remove the pod by execute these steps:
Remove 'EvernoteSDK' from Podfile
Run pod install
Result:
The EvernoteSDK has been removed. But when I check the diff, It deletes some object/property in some xcconfig file that I think it should be not related to the removed Pod. And this change is occurred in all installed Pod of my project. The diff result is shown in the image below:
Issue Image
My environment:
xCode 12
I tried it by using Cocoapods 1.9.3
Why is it happened? And how to remove a pod without affect other Pod file?
Because this is my first time to face this issue when removing a Pod.
Thank you.
It's up to version of Cocoapods. That difference is probably some new config from Cocoapods, so everything should be alright.

No such module 'Firebase' error in Xcode 11.0 beta 5

I have been looking up on every website that had a similar/identical to this specific issue for Xcode of earlier version errors and I have tried everything and nothing has worked. I have cleaned and then tried to build the project but that hasn't worked.
The terminal shows that the firebase pod has been successfully installed but when try to import firebase the xcode says there is no such module Firebase
Then I tried to use adding the framework manually but when I try to build then Xcode says framework not found firebasecore .
I am stuck there ..what can I do next?
Comment all pods in pod file, then install only
pod 'Firebase/Analytics'
pod 'Firebase/Messaging'
For firebase notifications, because some time xcode do not install frameworks of pod files.
Open your pod file from project directory and add this
pod 'Firebase/Core'
then go to terminal and install pod again
pod install
after that make sure you build your project (⌘+B) before use.
Make sure you are opening .xcworkspace file from project directory.

I have deleted a Pod from Pods Library but still it's showing this error and not running

I have deleted RoundCornerProgress Pods from Pods library in Xcode but after that when I run the project it shows this error. How can I resolve this problem?
Try using pod install --no-repo-update command.
Remove the pod that you don't need from your pod file and then run this command.
This command will essentially remove the unwanted libraries without affecting other dependencies. Clean and build your project after doing this and it should work fine.
Use pod deintegrate to remove all traces of CocoaPods from the Xcode project.

FBSDK swift 3 with 53 errors

I'm trying to download Facebook's sdk on Cocoapods following the instructions in the README
https://github.com/facebook/facebook-sdk-swift
I downloaded Cocoapods, inserted
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'FacebookShare'
into my Podfile, executed pod install and opened my xcworkspace. But when I run my app I get 53 error messages like
"Function types cannot have argument label 'bytesSent'; use'_' instead"
I could try manually fixing these errors but is this supposed to happen?
I'm using Swift 3
Try clean and re-build the project or refactor it to the newest Swift syntax again. This seems to be a bug in the newest Xcode release (I exprerienced it in the previous version though).

After Crittercism update to 5.6.2, compiler error "Could not build module 'Crittercism'" appeared

I have performed pod update for Crittercism to latest version 5.6.2 and my project has compiler error shown in screen-shot.
FYI : I am checking my project in Xcode 8.
Try to wrap your Pod files with appropriate targets.
target “TARGET_NAME” do
pod 'XYZ', '~> 1.'
end
Follow this steps:
Remove pod
Clean Derived data.
Re-install pod again.
This should clear the error, since declaration is correct.
UPDATE: Try adding New line to CrittercismSDK/CrittercismVersion.h
#define CRITTERCISM_VERSION #"5.6.2"[Hit enter here. Unlock and save the file.]

Resources