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

I want to support iOS 12, which version of SDK should I choose? #526

Open
AnnaSearl opened this issue Mar 5, 2024 · 5 comments
Open

I want to support iOS 12, which version of SDK should I choose? #526

AnnaSearl opened this issue Mar 5, 2024 · 5 comments
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@AnnaSearl
Copy link

What would you like to share?

I want to support iOS 12, but the latest version only supports iOS 13. Which version of SDK should I choose?

Additional information

No response

@AnnaSearl AnnaSearl added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Mar 5, 2024
@FGadvancer
Copy link
Member

iOS SDK version supports 11+; import the latest version of the iOS SDK.

@AnnaSearl
Copy link
Author

AnnaSearl commented Mar 8, 2024

iOS SDK version supports 11+; import the latest version of the iOS SDK.

I have imported the latest version of the iOS SDK, but still get this warning:
image

@printlin
Copy link

Hello, I also found that the SDK does not support iOS 12 system, causing the app to crash every time it is opened. I noticed in the gomobile documentation that there is mention of the -iosversion option, which defaults to 13.0. After modifying it to 12.0 and recompiling, the app can run normally. Please note that this method is for reference only, and thorough testing is recommended. You can find information about gomobile at: https://pkg.go.dev/golang.org/x/[email protected]/cmd/gomobile. You need to modify the compilation instructions for iOS in the openim-sdk-core/Makefile at line 221, adding -iosversion 12.0. After modification, it should look like this: GOARCH=arm64 gomobile bind -v -trimpath -iosversion 12.0 -ldflags "-s -w" -o build/OpenIMCore.xcframework -target=ios ./open_im_sdk/ ./open_im_sdk_callback/.

@kubbot
Copy link
Contributor

kubbot commented May 24, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@kubbot kubbot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 24, 2024
@kubbot
Copy link
Contributor

kubbot commented May 31, 2024

This issue was closed because it has been stalled for 7 days with no activity.

@kubbot kubbot closed this as completed May 31, 2024
@github-actions github-actions bot reopened this Aug 8, 2024
@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

4 participants