8000 Add SecCopyErrorMessageString for iOS and update README for iOS by Kyle-Ye · Pull Request #6862 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

Add SecCopyErrorMessageString for iOS and update README for iOS #6862

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

Merged
merged 13 commits into from
Sep 26, 2024

Conversation

Kyle-Ye
Copy link
Contributor
@Kyle-Ye Kyle-Ye commented Aug 17, 2024
  • Add iOS build instruction in README
  • Fix iOS build issue
  • Add SecCopyErrorMessageString API when building for iOS

Close #6861

@Kyle-Ye
Copy link
Contributor Author
Kyle-Ye commented Aug 18, 2024

Some notes for the reviewer:

  1. Do we want to add iOS CI check here?
  2. There is a flaky Windows test case failing. Maybe a rerun will temporary pass it.
    Experimental Features / Build: Windows (SHA256, amd64, Visual Studio) (pull_request)
  3. The iOS CI is failing due to a permission issue
ln: /usr/local/lib: Permission denied

I'll align the host os to macos-12 as the same version of the existing macOS CI to try to fix it.

  1. Is it OK have a dependency on master branch of eetal/ios-cmake for the iOS CI?

@Kyle-Ye Kyle-Ye force-pushed the optimize/ios branch 2 times, most recently from 3a8ba3c to d7dc82f Compare August 24, 2024 06:25
@Uncommon
Copy link
Contributor
Uncommon commented Sep 5, 2024

Are these changes actually specific to iOS, or do they apply to macOS as well?

@Kyle-Ye
Copy link
Contributor Author
Kyle-Ye commented Sep 5, 2024

Are these changes actually specific to iOS, or do they apply to macOS as well?

specific to iOS

@Kyle-Ye Kyle-Ye marked this pull request as ready for review September 5, 2024 16:29
@Kyle-Ye
Copy link
Contributor Author
Kyle-Ye commented Sep 5, 2024

The CI is failing due to libgit2_tests issue.

It will be build/libgit2_tests.app/libgit2_tests instead of build/libgit2_tests for iOS.

And we can fix it by modifying tests/libgit2/CMakeLists.txt. But it will then be killed since it is an iOS app and we are running it directly on macOS.

1 - offline (Subprocess killed)

I suggest for now we just skip the tests on iOS and add them back later.

@ethomson
Copy link
Member
ethomson commented Sep 6, 2024

I suggest for now we just skip the tests on iOS and add them back later.

👍

Thanks; I want to figure out how this integrates with #6848 since they're touching roughly the same bits of code. Will get these both merged this weekend. Thanks for this effort!

Some minor refactoring for iOS:

- Roll back clar changes; these should be a bit more measured, and occur
  in clar upstream.
- Move iOS to nightly builds
@ethomson
Copy link
Member

Thanks! I moved the iOS build into the nightlies, and I reverted the clar changes so that we could think a bit more how (or if) we would address iOS on clar.

@ethomson ethomson merged commit d19558a into libgit2:main Sep 26, 2024
49 of 52 checks passed
@Kyle-Ye Kyle-Ye deleted the optimize/ios branch September 27, 2024 03:19
@ethomson ethomson added cleanup and removed feature labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SecCopyErrorMessageString for iOS
3 participants
0