x/mobile: load of a Go static library in iOS project result in swift api behavior change #64029
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was add capacitor support to my mobile SDK, while testing on iOS the application stop working, searching around bring me to this issue where they even create a complete example. In the end the analysis result in this comment where they report that loading a static GO library will result in standard swift behavior change:
without the GO dependencies this will print the path as reported by Apple documentation
If a go library is loaded this snippet will print:
fileUrl:'file:///private/var/containers/Bundle/Application/[guid value]/testApp.app/'
Note capacitor is not needed for this behavior change, I've tested with a native swift app and I was able to reproduce the same behavior
What did you expect to see?
The print should always be the same
What did you see instead?
The print change
The text was updated successfully, but these errors were encountered: