Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error MSB3030: Could not copy the file "........\arm64-apple-ios-simulator.private.swiftinterface" because it was not found. #4

Closed
Kebechet opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working external-bug Bugs we can't control/fix

Comments

@Kebechet
Copy link
Owner

Many times when i want to build a package the build fails with error:
error MSB3030: Could not copy the file "C:\Users\samos\.nuget\packages\kebechet.maui.microsoftclarity.ios\2.0.0\lib\net8.0-ios17.2\Maui.MicrosoftClarity.iOS.resources\Clarity.xcframework\ios-arm64_x86_64-simulator\Clarity.framework\Modules\Clarity.swiftmodule\arm64-apple-ios-simulator.private.swiftinterface" because it was not found.

Issue created: xamarin/xamarin-macios#21111

Probably it is caused by MAX_PATH limit:
dotnet/maui#17828
https://developercommunity.visualstudio.com/t/Allow-building-running-and-debugging-a/351628

@Kebechet Kebechet added bug Something isn't working external-bug Bugs we can't control/fix labels Aug 26, 2024
@Kebechet
Copy link
Owner Author

Workaround:
Remove from your local nuget storage all files in folder: kebechet.maui.microsoftclarity.ios\2.0.0\lib\net8.0-ios17.2\Maui.MicrosoftClarity.iOS.resources\Clarity.xcframework\ios-arm64_x86_64-simulator\Clarity.framework\Modules\Clarity.swiftmodule\arm64-apple-ios-simulator.private.swiftinterface

@Kebechet
Copy link
Owner Author

Kebechet commented Sep 6, 2024

Should be fixed by:
7a10873

@Kebechet Kebechet closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external-bug Bugs we can't control/fix
Projects
None yet
Development

No branches or pull requests

1 participant