-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Your Socket Mobile Developer ID
79A57E81-F63B-460D-960A-EEEEB744B801
Environment
Visual Studio Professional 2022, using a Maui Application project targetting Android and iOS.
SocketMobile.Capture nuget version 2.0.19.509
Device is iPhone 16 Pro connected to a Mac (the Mac is paired to the Visual Studio machine)
Description
When compiling with the iphone connected to the Mac (which is paired to the visual studio laptop), i get a compilation error with this message:
File 'obj/Debug/net9.0-ios/ios-arm64/linker-cache/CaptureSDK.framework/CaptureSDK' is not a valid framework: Unable to read beyond the end of the stream.
Steps to Reproduce
- add nuget to project
- connect iphone to mac
- rebuild using visual studio
- error shows ate the end of compilation
Expected Behavior
When compiling with an android tablet, the compilation works and the app runs in android and i can scan without issues.
Compiling for a connected iphone should just work like android.
Actual Behavior
compilation error:
File 'obj/Debug/net9.0-ios/ios-arm64/linker-cache/CaptureSDK.framework/CaptureSDK' is not a valid framework: Unable to read beyond the end of the stream.
Additional Context
I followed some suggestions from ChatGpt, Copilot and Gemini. No luck.
Deleted project temporary folders in visual studio (obj and bin); deleted temporary folders in the mac; disconnected, forgot, and paired with mac again; removed linking from the compilation process (just in case).
Nothing worked.
Every single time i compile and get the error i can see the folder "../obj/Debug/net9.0-ios/ios-arm64/linker-cache/CaptureSDK.framework/" with all files showing 0 kb size, which is obviously wrong.