Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Error when installing Xamarin.Facebook.GamingServicesKit.iOS 12.2.0.1 #250

Open
ediwnroy opened this issue Feb 18, 2023 · 2 comments
Open

Comments

@ediwnroy
Copy link

I am encountering an error while trying to install Xamarin.Facebook.GamingServicesKit.iOS version 12.2.0.1 in my Xamarin.iOS project. The error message says: "Could not find a part of the path 'D:\N\xamarin.facebook.gamingserviceskit.ios\12.2.0.1\lib\net6.0-ios15.4\Xamarin.Facebook.GamingServicesKit.resources\FBSDKGamingServicesKit.xcframework\ios-arm64_armv7\FBSDKGamingServicesKit.framework\Modules\FBSDKGamingServicesKit.swiftmodule\armv7-apple-ios.swiftdoc'".

  • Steps to Reproduce:
    Create a new Xamarin.iOS project.
    Add Xamarin.Facebook.GamingServicesKit.iOS 12.2.0.1 NuGet package to the project.
    Build the project.
    Expected Result: The project builds successfully.

  • Actual Result: The build fails with the error message mentioned above.

I have tried cleaning and rebuilding the project, uninstalling and reinstalling the NuGet package, and manually deleting the bin and obj folders in the project, but the error persists.

  • Environment:
    Visual Studio version: Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.4.5
    Xamarin.iOS version: 16.2.0.2 (956a059ba)

Any help would be greatly appreciated. Thank you.

@MateuszLas421
Copy link

MateuszLas421 commented Mar 1, 2023

try adding via console
dotnet add package Xamarin.Facebook.GamingServicesKit.iOS --version 12.2.0.1

@ediwnroy
Copy link
Author

ediwnroy commented Mar 1, 2023

I also had the same problem doing it via console. However, after several attempts, I managed to install it but in the wrong project (not the .iOS), and it caught my attention that the package was installed correctly. So I proceeded to install it in the .iOS project, and to my surprise, it was installed correctly.

However, I am now facing the following error:
/usr/bin/ditto F:/Nuget/xamarin.facebook.corekit.ios/12.2.0.1/buildTransitive/../lib/xamarinios10/Facebook.CoreKit.resources/FBSDKCoreKit.xcframework/ios-arm64_armv7/FBSDKCoreKit.framework/../dSYMs/FBSDKCoreKit.framework.dSYM/ bin/iPhone/Debug/device-builds/iphone10.5-15.5/MyProject.iOS.app/../FBSDKCoreKit.framework.dSYM
ditto: Cannot get the real path for source 'F:/Nuget/xamarin.facebook.corekit.ios/12.2.0.1/buildTransitive/../lib/xamarinios10/Facebook.CoreKit.resources/FBSDKCoreKit.xcframework/ios-arm64_armv7/FBSDKCoreKit.framework/../dSYMs/FBSDKCoreKit.framework.dSYM/'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(2050,3): error MSB6006: "ditto" exited with code 1.
Ditto: 2023-03-01T10:50:50.6223108-06:00 - Finished
Done executing task "Ditto" -- FAILED.
Done building target "_CopyUserFrameworkDebugSymbols" in project "MyProject.iOS.csproj" -- FAILED.

Build FAILED.   

I have tried:
* Clear the solution
* Delete the bin and obj folders
* Restart Visual Studio

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants