{"id":28136767,"url":"https://github.com/codeacmen/libffi-ios-latest","last_synced_at":"2026-02-26T19:34:24.601Z","repository":{"id":284682002,"uuid":"955720261","full_name":"CodeAcmen/libffi-ios-latest","owner":"CodeAcmen","description":"最新的 iOS libffi 库，与官方版本同步更新。The latest iOS libffi library, synced with official releases.","archived":false,"fork":false,"pushed_at":"2025-03-28T06:46:58.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-29T10:38:26.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeAcmen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-27T04:56:09.000Z","updated_at":"2025-03-28T06:44:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"409bafd6-d8e8-4e21-bb85-893f75d0ca77","html_url":"https://github.com/CodeAcmen/libffi-ios-latest","commit_stats":null,"previous_names":["codeacmen/libffi-ios-latest"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CodeAcmen/libffi-ios-latest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAcmen%2Flibffi-ios-latest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAcmen%2Flibffi-ios-latest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAcmen%2Flibffi-ios-latest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAcmen%2Flibffi-ios-latest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeAcmen","download_url":"https://codeload.github.com/CodeAcmen/libffi-ios-latest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeAcmen%2Flibffi-ios-latest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29868590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T18:42:30.764Z","status":"ssl_error","status_checked_at":"2026-02-26T18:41:47.936Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-14T16:20:05.225Z","updated_at":"2026-02-26T19:34:24.593Z","avatar_url":"https://github.com/CodeAcmen.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libffi-ios-latest\n最新的 iOS libffi 库，与官方正式版本同步更新。The latest iOS libffi library, synced with official releases.\n\n## 快速使用\n\n使用 CocoaPods 安装 `libffi-ios-latest`：\n\n在你的 `Podfile` 中添加以下内容：\n\n```ruby\npod 'libffi-ios-latest'\n```\n然后，运行以下命令安装依赖：\n```bash\npod install\n```\n## 导入库\n在你的 **Objective-C** 项目中，使用以下方式导入：\n```objc\n#import \u003clibffi-ios-latest/ffi.h\u003e\n```\n在你的 **Swift** 项目中，使用以下方式导入：\n```swift\nimport libffi_ios_latest\n```\n\n## 中文描述\n\n本仓库提供了最新版本的 `libffi` iOS 版本，并与官方版本保持同步更新。该库包含支持 **x86_64** 和 **arm64** 架构的 **iOS 模拟器**，以及 **iOS 设备** 的 **arm64** 架构。\n\n- **模拟器**：支持 **x86_64**（Intel Mac）和 **arm64**（Apple Silicon）架构。\n- **设备**：支持 **arm64** 架构的 iOS 设备。\n- **兼容性**：兼容 iOS 9.0 及以上版本。\n\n该库会定期更新，以确保与官方 `libffi` 最新版本保持同步，方便开发者使用最新版本进行 iOS 开发。\n\n## 已知问题与版本说明\n\n- **本仓库V3.4.0版本-3.4.0-patch2** 版本存在问题。使用这些版本时，可能会遇到一些已知的构建问题和头文件未正确链接的问题。\n- 如果使用**v3.4.0版本，请使用 `3.4.0-fix` 版本**。此版本已修复了 `patch1` 和 `patch2` 中的问题，确保正确集成 `libffi` 到 iOS 项目中。\n- 如果你正在使用较旧版本（例如 `3.4.0-patch1` 或 `3.4.0-patch2`），强烈建议升级到 `3.4.0-fix` 或更高版本。\n- 后续版本号将与官方正式版同步，修复bug版本将不带\"v\"，具体请留意说明\n\n### 关于未来开发的建议\n\n尽管 **libffi-iOS** 支持 **x86_64** 和 **arm64** 模拟器，但强烈建议未来的开发，尤其是针对 **iOS 12 及以上版本**，优先使用 **arm64 模拟器**，特别是对于使用 **Apple Silicon**（如 M1、M2）设备的开发者。自 **iOS 12** 版本以来，Apple 已将模拟器默认架构转向 **arm64**，因此为了兼容性和性能，建议开发者优先针对 **arm64 模拟器** 进行开发。\n\n\n\n### English Description\n\nThis repository provides the latest version of the `libffi` iOS library, synchronized with the official releases. The library includes support for **x86_64** and **arm64** architectures for **iOS Simulators**, as well as **arm64** architecture for **iOS devices**.\n\n- **Simulators**: Supports **x86_64** (Intel Macs) and **arm64** (Apple Silicon) architectures.\n- **Devices**: Supports **arm64** architecture for iOS devices.\n- **Compatibility**: Compatible with iOS 9.0 and later.\n\nThis library will be updated regularly to ensure it stays in sync with the official `libffi` releases, making it easy for developers to use the latest version in iOS development.\n\n## Known Issues and Version Notes\n\n- The **v3.4.0 version - 3.4.0-patch2** has issues. Using these versions may lead to known build problems and incorrect header linking.\n- If you are using **v3.4.0**, please use the `3.4.0-fix` version. This version fixes the issues in `patch1` and `patch2`, ensuring proper integration of `libffi` into iOS projects.\n- If you are using older versions (such as `3.4.0-patch1` or `3.4.0-patch2`), it is strongly recommended to upgrade to `3.4.0-fix` or higher.\n- Future versions will align with the official release version, and bug-fix versions will not have the \"v\" prefix. Please pay attention to release notes for further details.\n\n### Future Development Recommendations\n\nAlthough **libffi-iOS** supports **x86_64** and **arm64** simulators, it is strongly recommended to prioritize **arm64 simulators** for future development, especially for **iOS 12 and later versions**, particularly for developers using **Apple Silicon** devices (such as M1 or M2). Since **iOS 12**, Apple has shifted the default architecture for simulators to **arm64**, so for better compatibility and performance, developers should prioritize **arm64 simulators** for development.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeacmen%2Flibffi-ios-latest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeacmen%2Flibffi-ios-latest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeacmen%2Flibffi-ios-latest/lists"}