{"id":15678004,"url":"https://github.com/jaywcjlove/react-native","last_synced_at":"2025-07-30T11:33:02.325Z","repository":{"id":42997767,"uuid":"226759727","full_name":"jaywcjlove/react-native","owner":"jaywcjlove","description":"一些 React Native 开发上遇到的问题简单记录。","archived":false,"fork":false,"pushed_at":"2025-06-24T18:27:42.000Z","size":2513,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-23T19:22:04.077Z","etag":null,"topics":["android","ios","react-native"],"latest_commit_sha":null,"homepage":"https://jaywcjlove.github.io/react-native","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/jaywcjlove.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"jaywcjlove","buy_me_a_coffee":"jaywcjlove","custom":["https://www.paypal.me/kennyiseeyou","https://jaywcjlove.github.io/#/sponsor"]}},"created_at":"2019-12-09T01:30:05.000Z","updated_at":"2025-06-24T18:27:45.000Z","dependencies_parsed_at":"2023-01-28T12:31:27.920Z","dependency_job_id":"d5053c0a-60bb-4de8-a84e-d8bc9ec6ef10","html_url":"https://github.com/jaywcjlove/react-native","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":0.07692307692307687,"last_synced_commit":"88ccb19f36ea898cadae06e7370d88cfecd61941"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jaywcjlove/react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Freact-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Freact-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Freact-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Freact-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywcjlove","download_url":"https://codeload.github.com/jaywcjlove/react-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Freact-native/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267471986,"owners_count":24092793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","ios","react-native"],"created_at":"2024-10-03T16:14:53.213Z","updated_at":"2025-07-30T11:33:02.309Z","avatar_url":"https://github.com/jaywcjlove.png","language":null,"funding_links":["https://ko-fi.com/jaywcjlove","https://buymeacoffee.com/jaywcjlove","https://www.paypal.me/kennyiseeyou","https://jaywcjlove.github.io/#/sponsor"],"categories":[],"sub_categories":[],"readme":"\u003c!--idoc:ignore:start--\u003e\nReact Native\n===\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n\n\u003c!--idoc:ignore:end--\u003e\n\n一些 React Native 开发上遇到的问题简单记录。\n\n\u003c!--idoc:ignore:start--\u003e\n\n✦ 欢迎下载我的 macOS 应用程序支持我，谢谢 ✦\n\n\u003cp style=\"display: inline-block\"\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/Vidwall/6747587746\" title=\"Vidwall for macOS\"\u003e\u003cimg align=\"center\" alt=\"Vidwall\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/7b5df70a-ed91-4d4b-85be-f00e60a09ce9\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://wangchujiang.com/mousio-hint/\" title=\"Mousio Hint for macOS\"\u003e\u003cimg align=\"center\" alt=\"Mousio Hint\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/3c0af128-0cef-44e5-a8db-4741dc5a6690\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6746747327\" title=\"Mousio for macOS\"\u003e\u003cimg align=\"center\" alt=\"Mousio\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/9edf61ff-5a6c-4676-9cc2-8fd3c1ad0dfb\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6745227444\" title=\"Musicer for macOS\"\u003e\u003cimg align=\"center\" alt=\"Musicer\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/b7abfba8-88ff-4c86-a125-43073d5aef22\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6743841447\" title=\"Audioer for macOS\"\u003e\u003cimg align=\"center\" alt=\"Audioer\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/7a836865-8c90-4119-87bc-19e06a76c957\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6744690194\" title=\"FileSentinel for macOS\"\u003e\u003cimg align=\"center\" alt=\"FileSentinel\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/28bce2cc-290e-45bf-9068-585ff6ecafe9\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6743495172\" title=\"FocusCursor for macOS\"\u003e\u003cimg align=\"center\" alt=\"FocusCursor\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/d543668a-737b-4853-a6bb-eaa269e69836\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6742680573\" title=\"Videoer for macOS\"\u003e\u003cimg align=\"center\" alt=\"Videoer\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/10ffb0f1-0625-40d6-93f1-2c2496592595\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6740425504\" title=\"KeyClicker for macOS\"\u003e\u003cimg align=\"center\" alt=\"KeyClicker\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/5a19fcb9-cb81-4855-b4ea-31c604d9612a\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6739052447\" title=\"DayBar for macOS\"\u003e\u003cimg align=\"center\" alt=\"DayBar\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/b67d4a2e-92e2-4d8c-8c6f-2a1eb3e2fa93\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6739444407\" title=\"Iconed for macOS\"\u003e\u003cimg align=\"center\" alt=\"Iconed\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/8a35dc7b-4faf-4e2a-9311-f66d6844a896\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6737160756\" title=\"RightMenu Master for macOS\"\u003e\u003cimg align=\"center\" alt=\"RightMenu Master\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/39a76541-71bf-4de7-a01c-c62f0557dff5\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6723903021\" title=\"Paste Quick for macOS\"\u003e\u003cimg align=\"center\" alt=\"Quick RSS\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/bdaad5b7-9810-44ce-8f17-8410864465d2\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6670696072\" title=\"Quick RSS for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"Quick RSS\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/374106b5-a448-4d1d-9ccb-b04b6bc681ed\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6670167443\" title=\"Web Serve for macOS\"\u003e\u003cimg align=\"center\" alt=\"Web Serve\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/e1d9f76f-0f3d-4ba5-8a15-253ee173bb1c\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6503953628\" title=\"Copybook Generator for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"Copybook Generator\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/b90e42ff-158b-4534-82ca-5898fd0e8d73\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6471227008\" title=\"DevTutor for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"DevTutor for SwiftUI\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/f15c154d-0192-48eb-8e0e-9e245ffd974a\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6479819388\" title=\"RegexMate for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"RegexMate\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/aabe5aa9-9a96-4390-8bed-c3e4023d0dea\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6479194014\" title=\"Time Passage for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"Time Passage\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/time-passage/assets/1680273/6f30e429-e6f3-4dbe-9921-a5effe2a05e9\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6478772538\" title=\"IconizeFolder for macOS\"\u003e\u003cimg align=\"center\" alt=\"Iconize Folder\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/fa9d8b9c-1e51-4ded-877c-fa5b21c47220\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6478511402\" title=\"Textsound Saver for macOS/iOS\"\u003e\u003cimg align=\"center\" alt=\"Textsound Saver\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/0595e842-980b-4574-8891-a8ba853a08be\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6476924627\" title=\"Create Custom Symbols for macOS\"\u003e\u003cimg align=\"center\" alt=\"Create Custom Symbols\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/8cd022ce-a3f1-4e89-b7c6-6fbd0d4db77c\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6476452351\" title=\"DevHub for macOS\"\u003e\u003cimg align=\"center\" alt=\"DevHub\" height=\"52\" width=\"52\" src=\"https://github.com/user-attachments/assets/4a44a4fd-67ce-430b-af0a-72f18feaa47d\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6476400184\" title=\"Resume Revise for macOS\"\u003e\u003cimg align=\"center\" alt=\"Resume Revise\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/c9954a20-1905-48de-bdf8-d71837974aa2\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6472593276\" title=\"Palette Genius for macOS\"\u003e\u003cimg align=\"center\" alt=\"Palette Genius\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/27340413-d355-45b2-8f6f-6ac37682d957\"\u003e\u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://apps.apple.com/app/6470879005\" title=\"Symbol Scribe for macOS\"\u003e\u003cimg align=\"center\" alt=\"Symbol Scribe\" height=\"52\" width=\"52\" src=\"https://github.com/jaywcjlove/jaywcjlove/assets/1680273/c7249f05-fa70-4def-a1e9-571d5f171fc9\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 目录\n\n- [修改 App 在手机上展示的名称](#修改-app-在手机上展示的名称)\n- [修改 App 在手机上展示的图标](#修改-app-在手机上展示的图标)\n- [判断 Release/Debug 用于调试](#判断-releasedebug-用于调试)\n- [开发模式弹出开发者菜单刷新应用](#开发模式弹出开发者菜单刷新应用)\n- [设置允许 HTTP 请求访问](#设置允许-http-请求访问)\n- [真机配置 IP 调试](#真机配置-ip-调试)\n- [Xcode 不用数据线真机调试](#xcode-不用数据线真机调试)\n- [打包修改 APP 版本号](#打包修改-app-版本号)\n- [常见错误](#常见错误)\n  - [应用反应缓慢出现卡顿问题](#应用反应缓慢出现卡顿问题)\n  - [Android: Gradle project sync failed](#android-gradle-project-sync-failed)\n  - [Android: The device needs more free storage to install the application](#android-the-device-needs-more-free-storage-to-install-the-application)\n  - [Android: Cannot convert string value 'UNIFIED_TEST_PLATFORM'](#android-cannot-convert-string-value-unified_test_platform)\n  - [iOS: library not found for -lDoubleConversion](#ios-library-not-found-for--ldoubleconversion)\n  - [iOS: symbol(s) not found for architecture i386](#ios-symbols-not-found-for-architecture-i386)\n  - [iOS: Command PhaseScriptExecution failed with a nonzero exit code](#ios-command-phasescriptexecution-failed-with-a-nonzero-exit-code)\n\n\u003c!--idoc:ignore:end--\u003e\n\n## 修改 App 在手机上展示的名称\n\n#### Android\n\n修改 `android/app/src/main/res/values/strings.xml` 配置\n\n```xml\n\u003cresources\u003e\n  \u003cstring name=\"app_name\"\u003e这里填写名称\u003c/string\u003e\n\u003c/resources\u003e\n```\n\n#### iOS\n\n修改 `ios/\u003c应用名称\u003e/Info.plist` 配置\n\n```xml\n\u003ckey\u003eCFBundleDisplayName\u003c/key\u003e\n\u003cstring\u003e这里填写名称\u003c/string\u003e\n```\n\n## 修改 App 在手机上展示的图标\n\n#### Android\n\n修改替换 `android/app/src/main/res/mipmap-(*)` 下面的图标\n\n图标分为 方形图标(`ic_launcher.png`) 和 圆形图标(`ic_launcher_round.png`)\n\n#### iOS\n\n修改 `ios/\u003c应用名称\u003e/Images.xcassets/AppIcon.appiconset/Contents.json` 配置，及修改配置目录 `ios/\u003c应用名称\u003e/Images.xcassets/AppIcon.appiconset` 下的图标文件。\n\n通过 xcode 下图拖拽更换图标更方便。\n\n\u003cimg src=\"img/img01.png\" width=\"600\" /\u003e\n\n## 判断 Release/Debug 用于调试\n\n#### Android\n\n修改 `android/app/src/main/res/values/strings.xml` 配置\n\n```java\n// 在Android Studio项目中\nif(BuildConfig.DEBUG){\n  // debug模式\n}else{\n  // release模式\n}\n```\n\n#### iOS\n\n```objective-c\n#ifdef DEBUG\n   // debug模式\n#else\n    //release 模式\n#endif\n```\n\n#### React Native\n\n```js\nif (__DEV__) {\n  // debug 模式\n} else {\n  // release 模式\n}\n```\n\n## 开发模式弹出开发者菜单刷新应用\n\n命令行支持*打开开发者菜单*，和其它的一些操作\n\n- r - 重新加载应用\n- d - 打开开发者菜单\n- i - 在 iOS 上运行\n- a - 在 Android 上运行\n\n\n#### Android\n\n按两次 \u003ckbd\u003eR\u003c/kbd\u003e 键或从开发者菜单(\u003ckbd\u003e⌘\u003c/kbd\u003e\u003ckbd\u003eM\u003c/kbd\u003e)中选择重新加载(Reload)以预览您的更改。\n\n\u003e 如果没有起作用可以在命令行使用 `adb shell input keyevent 82` 命令唤起**开发者菜单**\n\n#### iOS\n\n使用 \u003ckbd\u003e⌘\u003c/kbd\u003e\u003ckbd\u003eR\u003c/kbd\u003e 让您的 IOS 模拟器重新加载本地项目，使用 \u003ckbd\u003e⌘\u003c/kbd\u003e\u003ckbd\u003eT\u003c/kbd\u003e 弹出开发者菜单。\n\n## 设置允许 HTTP 请求访问\n\n#### Android\n\n创建配置文件 `android/app/src/main/res/xml/network_security_config.xml` 内容如下：\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cnetwork-security-config\u003e\n    \u003cbase-config cleartextTrafficPermitted=\"true\" /\u003e\n\u003c/network-security-config\u003e\n```\n\n修改配置 `android/app/src/main/AndroidManifest.xml`\n\n```diff\n\u003capplication\n  android:name=\".MainApplication\"\n  android:label=\"@string/app_name\"\n  android:icon=\"@mipmap/ic_launcher\"\n  android:roundIcon=\"@mipmap/ic_launcher_round\"\n  android:allowBackup=\"false\"\n+  android:networkSecurityConfig=\"@xml/network_security_config\"\n  android:theme=\"@style/AppTheme\"\u003e\n\u003c/application\u003e\n```\n\n#### iOS\n\n修改 `ios/\u003c应用名称\u003e/Info.plist` 配置\n\n```xml\n\u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\n\u003cdict\u003e\n  \u003ckey\u003eNSAllowsArbitraryLoads\u003c/key\u003e\n  \u003ctrue/\u003e\n\u003c/dict\u003e\n```\n\n## 真机配置 IP 调试\n\n#### 配置说明\n\n1. ⚠️ 首先保证真机和 pc 在同一个局域网络下。\n2. 摇晃你的实体真机，调出配置弹窗。\n3. 团队开发可以不安装开发环境。\n\n**`摇晃手机`** =\u003e `Configure Bundler` =\u003e 设置 `ip:端口`\n\n默认端口：`8081` 可以通过参数更改默认端口 `react-native start --port 9999`\n\n#### Android 设置\n\n\n#### iOS 设置\n\n设置 `Build Configuration` 为 `Debug` 模式连接真机打包 APP。  \n\n\u003e `Xcode` =\u003e `Product` =\u003e `Scheme` =\u003e `Edit Scheme...` =\u003e `Run` =\u003e `Info` =\u003e `Build Configuration` =\u003e `Debug`\n\n## Xcode 不用数据线真机调试\n\n通过菜单 `Xcode` =\u003e `Product` =\u003e `Destination` =\u003e `Add Additional Simulators...` 打开设置界面，勾选 `Connect via network`。\n\n\u003cimg src=\"img/devices.png\" width=\"600\" /\u003e\n\n如果是第一次操作， 可能会需要先进行配对操作；\n\n1. 可在以上面弹出的界面中，点击左侧的设备，然后右健选`unpair device`。\n2. 然后再去勾选 `connect via network`；\n3. 这时手机上会提示信任界面，点击确认即可。\n\n## 打包修改 APP 版本号\n\n#### Android\n\n修改 `android/app/build.gradle` 配置\n\n```java\nandroid {\n  .....\n  defaultConfig {\n    ....\n    versionName \"2.1.1\"\n  }\n}\n```\n\n#### iOS\n\n修改 `ios/\u003c应用名称\u003e/Info.plist` 配置\n\n```xml\n\u003ckey\u003eCFBundleShortVersionString\u003c/key\u003e\n\u003cstring\u003e1.2.0\u003c/string\u003e\n```\n\n## 常见错误\n\n### 应用反应缓慢，出现卡顿问题\n\n#### 可能存在的问题\n\n- 查看是否 console 日志打印过度造成。\n- React Native Debugger 页面放到最前面，浏览器窗口不要放到选项卡里面。\n\n### Android: Gradle project sync failed.\n\n#### 问题解决方法\n\n在 Android Gradle 同步失败，导致项目无法启动，只需重新同步 Gradle 即可(可能需要翻墙)，方法如下图。\n\n\u003cimg src=\"img/img02.png\" width=\"600\" /\u003e\n\n### Android: The device needs more free storage to install the application\n\n#### 问题解决方法\n\n\u003cimg src=\"img/img04.png\" width=\"600\" /\u003e\n\n### Android: Cannot convert string value 'UNIFIED_TEST_PLATFORM'\n\n```bash\nconvert string value 'UNIFIED_TEST_PLATFORM' to an enum value of type 'com.android.builder.model.AndroidGradlePluginProjectFlags$BooleanFlag' (valid case insensitive values: APPLICATION_R_CLASS_CONSTANT_IDS, TEST_R_CLASS_CONSTANT_IDS, TRANSITIVE_R_CLASS, JETPACK_COMPOSE, ML_MODEL_BINDING)\n```\n\n#### 问题解决方法\n\n你需要下载最新版 [`android-studio-2021.2.1.16-mac_arm.dmg`](https://developer.android.google.cn/studio/archive) 。\n\n### iOS: library not found for -lDoubleConversion.\n\n#### 问题解决方法\n\nXcode 打开工程文件错误，使用 `*.xcodeproj` 打开工程会报这个错误。\n\n\u003e 请打开 `*.xcworkspace` 的工程文件，错误将得到解决。\n\n### iOS: symbol(s) not found for architecture i386.\n\n#### 问题解决方法\n\n可能使用的某个包，不支持 i386 模拟器，使用 x86 模拟器或真机。\n\n\u003e 设置 `Build Configuration` 为 `Debug` 模式下可能会解决问题。  \n\u003e `Xcode` =\u003e `Product` =\u003e `Scheme` =\u003e `Edit Scheme...` =\u003e `Run` =\u003e `Info` =\u003e `Build Configuration`  \n\n\u003cimg src=\"img/img03.png\" width=\"600\" /\u003e\n\n### iOS: Command PhaseScriptExecution failed with a nonzero exit code\n\n\u003e React-Core-AccessibilityResources Command CodeSign failed with a nonzero exit code\n\n#### 问题解决方法\n\n打开 `Kaychain Access(钥匙串访问)` 应用删除 `Apple Worldwide Developer Relations Certification Authority` 证书\n\n\u003cimg src=\"img/img05.png\" width=\"600\" /\u003e\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\u003ca href=\"https://github.com/jaywcjlove/react-native/graphs/contributors\"\u003e\n  \u003cimg src=\"https://jaywcjlove.github.io/react-native/CONTRIBUTORS.svg\" /\u003e\n\u003c/a\u003e\n\nMade with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Freact-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywcjlove%2Freact-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Freact-native/lists"}