{"id":18868427,"url":"https://github.com/best-flutter/flutter_issue","last_synced_at":"2026-02-28T10:02:26.686Z","repository":{"id":128667276,"uuid":"146284656","full_name":"best-flutter/flutter_issue","owner":"best-flutter","description":"flutter的问题、坑汇总，总结便于大家查找","archived":false,"fork":false,"pushed_at":"2018-09-12T05:12:44.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T23:30:04.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/best-flutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-08-27T10:50:47.000Z","updated_at":"2019-07-01T06:56:34.000Z","dependencies_parsed_at":"2023-04-13T12:04:38.838Z","dependency_job_id":null,"html_url":"https://github.com/best-flutter/flutter_issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/best-flutter/flutter_issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-flutter%2Fflutter_issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-flutter%2Fflutter_issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-flutter%2Fflutter_issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-flutter%2Fflutter_issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/best-flutter","download_url":"https://codeload.github.com/best-flutter/flutter_issue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-flutter%2Fflutter_issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29929588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"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":"2024-11-08T05:13:36.600Z","updated_at":"2026-02-28T10:02:26.618Z","avatar_url":"https://github.com/best-flutter.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\nflutter问题汇总，便于大家查找\n\n# 环境安装\n\n\n# 开发\n\n## 技巧类\n\n### InkWell怎么不拦截指定的事件\n\n\n## 编译类\n\n### 已有的项目增加flutter\nhttps://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps\n\n### 为什么插上苹果真机却没办法识别\n确保在mac下工作。\n\n\n## The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.\n\n\n如果是静态库，那么这里可以解决\nhttps://blog.csdn.net/nathan1987_/article/details/79757368\n\n如果是pod，那么参考这里:\nhttps://github.com/CocoaPods/CocoaPods/issues/7098\n\n```\nAnything works for me :(\n\nInstalling pre-release version\nUninstalling cocoapods and installing it again\ns.pod_target_xcconfig = { \"SWIFT_VERSION\" =\u003e \"4.0\" }\necho \"4.0\" \u003e .swift-version\nI do pod spec lint --verbose --no-clean and I get Pods workspace available at ... for inspection.. When I am opening the project it says that:\n\nThis workspace has projects that contain source code developed with Swift 2.x. Xcode 9 does not support building or migrating Swift 2.x targets.\nUse Xcode 8.x to migrate the code to Swift 3.\n\n\n```\n\n\n## ios -Swift.h not found\n\nhttps://stackoverflow.com/questions/26328034/importing-project-swift-h-into-a-objective-c-class-file-not-found\n\n基本上是路径不对,试下导入的\u003c\u003e改成\"\",或者去掉前面的包名，如\"AAA/BBB-Swift.h\" 改成 \"BBB-Swift.h\"\n\n## ios Auto-Linking library not found for -libswiftFoundation\nhttps://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project\n\n在项目中新建一个空白Swift文件，项目会自动创建桥接\n\n## The 'Pods-Runner' target has transitive dependencies\nswift项目可能会出现这个问题，解决方案：\nhttps://github.com/flutter/flutter/issues/14161\n\nPodfile去掉use_framework!\n\n\n# 编译release版本\n\n## 怎样在release模式下运行\nhttps://github.com/flutter/flutter/wiki/Flutter's-modes\nhttps://dartcode.org/docs/running-flutter-apps-in-profile-or-release-modes/\n\n\n```\nflutter run --release\n```\n或者\n在项目下床架配置文件:launch.json,dart必须v2.12以上\n```\n\"configurations\": [\n\t{\n\t\t\"name\": \"Flutter\",\n\t\t\"request\": \"launch\",\n\t\t\"type\": \"dart\",\n\t\t\"flutterMode\": \"profile\"\n\t}\n]\n```\n\n## 真机运行报错couldn't find \"libflutter.so\"\n\nhttps://github.com/flutter/flutter/issues/18939\n\n\n## Android Studio升级至3.1出现AAPT2 error\n\nhttps://www.jianshu.com/p/2a63c5710ee9\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-flutter%2Fflutter_issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbest-flutter%2Fflutter_issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-flutter%2Fflutter_issue/lists"}