Open zhaolibo1989 opened 4 weeks ago
The gomobile
framework directory's generation code has been modified, with the commit log available here. For the code diff, you can check it out here.
As a workaround, you can use an earlier version of gomobile
(v0.0.0-20240320162201-c76e57eead38
) by running the following commands:
go get golang.org/x/mobile@v0.0.0-20240320162201-c76e57eead38
go install golang.org/x/mobile/cmd/gomobile@v0.0.0-20240320162201-c76e57eead38
This version corresponds to a point in time before the aforementioned code changes were made.
@zhaolibo1989 Hi, the go version we currently package xcframework for is 1.22.7; the xcode version is Version 15.2.
What would you like to share?
Title: Issue with Output Directory Structure when Building iOS SDK using gomobile
Hello,
I'm experiencing an issue with the output directory structure when building our iOS SDK using
gomobile
. After upgrading our Go version, the directory structure generated for the iOS framework has changed, which is causing compatibility issues with our iOS app.Here are the details of my environment and the issue:
Previous Directory Structure:
Current Directory Structure:
gomobile Command Used:
The new directory structure is not compatible with our iOS app, and our developers are unable to use the SDK as expected. I've tried to troubleshoot by checking the
gomobile
version and ensuring that my environment is set up correctly, but the issue persists.I would appreciate any guidance on how to resolve this issue or if there's a way to configure
gomobile
to generate the previous directory structure.Thank you for your help!
Additional information
No response