x/mobile: os.Executable() panic on Xcode16 #72966
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.
OS-iOS
GOOS=ios
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Go version
go1.24.1 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Use "gomobile bind -target=ios" to build a xcframework library, used in Flutter iOS app.
What did you see happen?
When using Xcode 15.0(15A240d), os.Executable() returns “/var/containers/Bundle/Application/E80602C7-EFFB-4F1B-9FF8-FBA0E7E3DA76/Runner.app/Runner” as normal. All goes fine.
But with Xcode 16.2(16C5032a), os.Executable() panic with err “cannot find executable path”.
What did you expect to see?
os.Executable() should return executable path as before on Xcode 16.
The text was updated successfully, but these errors were encountered: