ios project shows errors after installing SkeletonView package - ios

As soon as I add SkeletonView package with package Manager, xcode started showing these crazy errors. I installed 1.9.0 version of SkeletonView (selected exact version on package manager)
what should I do now?

Related

32Feet.net Compatibility with Xamarin Android Watch

When I install 32feet to Xamarian for Android, the follow errors occur:
Error NU1202 Package 32feet.NET 3.5.0 is not compatible with monoandroid12.0 (MonoAndroid,Version=v12.0). Package 32feet.NET 3.5.0 supports:
net (.NETFramework,Version=v0.0)
net-cf (.NETFramework,Version=v0.0,Profile=CompactFramework)
How should I resolve this?
The package InTheHand.Net.Bluetooth is the current version and supports Android. So don't use 32Feet.net package anymore. Use package InTheHand.Net.Bluetooth instead.

How to override version of pod dependency in flutter ios project

I am using flutter_facebook_auth and facebook_app_events plugins.
One requires FBSDKCoreKit with version 13.0.0 and the other one with 13.1.0.
When I want to run my app it fails because of this version conflict.
Is there a way to override the version all packages use in my project or do I have to update the version in the dependencies themselfes?

Swift Package Manager could not be resolved all libraries, project

This error always happens whenever I add a new Package via Swift Package Manager in Xcode:
Cannot fetch library
I've already configured my GitHub Auth Token setting in Xcode and registered my GitHub account.
My macOS version is Monterey 12.1, my Xcode version is 13.1, my command-line tools are 13.1, and I'm using an M1 chipset Mac.
Configure Dependency Rule 📏
tl;dr
I encountered this issue today and managed to resolve the Package by changing the Dependency Rule from Branch -> master to Up to Next Major Version and checking their latest Release versions from GitHub.
Other Dependency Rules
We can also try changing from Branch to other rules depending on our application:
Up to Next Major Version: Useful for getting the latest major stable release.
Up to Next Minor Version: Useful for getting the very latest releases.
Range of Versions: Useful for resolving dependencies specific to a particular dependency chain (careful configuration).
Exact Version: Useful for pinning a version to a particular working release, or fork.
Commit: Useful for pinning a Package to a commit rather than a release version.
Xcode SPM "Add Package" prompt
I tried to simulate your problem, Xcode and command-line version are the same. I was able to add SnapKit into my project without problems. Try this workaround:
Project -> Package Dependencies -> + -> paste the link: https://github.com/SnapKit/SnapKit -> Dependency rule set to Up To Next Major -> Add Package.
It should add a new package. Currently in version 5.0.1 If you have still a problem, just click Add Anyway, build the project and send a screenshot of the error.

Xamarin Android - Build failed after migration to AndroidX

I'm facing a build issue after migration to AndroidX. I encountered following error when build android project:
Error NU1107 Version conflict detected for Xamarin.Android.Support.Compat. Install/reference Xamarin.Android.Support.Compat 28.0.0.1 directly to project WhiteLabel.Mobile.App.Android to resolve this issue.
Project.Mobile.App.Android -> Xamarin.Essentials 1.2.0 -> Xamarin.Android.Support.Compat (>= 28.0.0.1)
Project.Mobile.App.Android -> CarouselView.FormsPlugin 5.2.0 -> Xamarin.Android.Support.v4 25.4.0.2 -> Xamarin.Android.Support.Compat (= 25.4.0.2). Project.Mobile.App.Android C:\mprojects\mproject-xamarin\Project.Mobile.App\Project.Mobile.App.Android\Project.Mobile.App.Android.csproj
I tried to resolve this with installing latest stable version of Xamarin.Android.Support.Compat package with version 28.0.0.3. However, install failed with rolling back package changes in xamarin android project. As of now, I still have no clues on how to fix this, does anyone has any ideas?
Microsoft Visual Studio Enterprise 2019 version 16.6.2
Compile using Android version (Target Framework): Android 10.0(Q)
Minimum Android version: Android 7 (API level 24 - Nougat)
Target Android version: Android 10.0 (API Level 29 - Q)
Xamarin.Forms: 4.6.0.800
Xamarin.Android Sdk: 10.3.1.4
Xamarin.iOS: 13.18.2.1
You could search the Xamarin.Android.Support.Compat nuget,then could see its Dependencies.You could try to install the dependencies it needs according different mono android versions first,then install the Xamarin.Android.Support.Compat nuget.

Using VSCode and Paket to add file to `.fsproj`

I'm using VSCode and Paket to add libraries from Nuget to an F# project/.fsproj file.
From VSCode, I use ctrl+shift+p and use the command Paket: Add Nuget Package (to current project) and enter
FsVerbalExpressions version 0.4.0
Unfortunately, Paket fails with the following error:
Paket version 3.23.2.0
Adding FsVerbaExpressions 0.4.0 to
c:...\paket.dependencies into group Main
Resolving packages for group Main:
- FsVerbaExpressions is pinned to 0.4.0
Package not available.
Message: Couldn't get package details for package FsVerbaExpressions 0.4.0 on https://www.nuget.org/api/v2.
Paket failed with:
Could not find versions for package FsVerbaExpressions on https://www.nuget.org/api/v2.
I know that FsVerbalExpressions is available on Nuget. I need the older version because the project I'm working on is targeted at .NET 4.5 and the newer version of FsVerbalExpressions will only work with .NET 4.6.1.
Typos happen. Make sure you proofread your error messages before looking for answers that are already in front of you.

Resources