deep-linking
Deep links, universal links and app links in React Native. Use when links do not open the app, for apple-app-site-association or assetlinks.json, lost…
Diagnosing failed iOS and Android builds. Use for pod install, Gradle, Xcode or linker errors, pasted native build output, CocoaPods, Kotlin, JDK, codegen and cache problems.
$ npx -y skills add AnilBurcu/claude-code-react-native --skill native-build-errors --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/native-build-errorsContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnosing failed iOS and Android builds. Use for pod install, Gradle, Xcode or linker errors, pasted native build output, CocoaPods, Kotlin, JDK, codegen and cache problems.
name: native-build-errors description: Diagnosing failed iOS and Android builds. Use for pod install, Gradle, Xcode or linker errors, pasted native build output, CocoaPods, Kotlin, JDK, codegen and cache problems. user-invocable: false
Native build logs bury the real error under hundreds of lines of noise. Always find the FIRST real error, not the last line. The last line is usually a generic "build failed" wrapper around the actual cause.
Never start by nuking caches. Read the error first. Cache-nuking is step 8, not step 1.
**pod install fails**
**Xcode build fails after pods succeeded**
**Clean order for iOS, least to most destructive** 1. Rebuild once (transient failures are real) 2. `rm -rf ios/build` 3. `rm -rf ~/Library/Developer/Xcode/DerivedData` 4. `cd ios && rm -rf Pods Podfile.lock && pod install` 5. In Expo CNG projects: `npx expo prebuild --clean -p ios` (this regenerates the whole ios folder, so any manual edits there will be lost; that is the point)
**Toolchain mismatches, the top cause**
**Dependency and merge failures**
**Build environment**
**Clean order for Android** 1. Rebuild once 2. `cd android && ./gradlew --stop && ./gradlew clean` 3. `rm -rf android/app/.cxx android/.gradle` 4. Expo CNG: `npx expo prebuild --clean -p android`
watchman watch-del-all rm -rf node_modules npm install # or yarn/pnpm, keep the project's lockfile npx expo prebuild --clean # CNG projects only
Deleting the lockfile is not part of this list. That changes dependency resolution across the whole tree and belongs to a deliberate upgrade, not to build debugging.
Search the library's GitHub issues with the exact error string plus your React Native version before writing any patch. More often than not there is an open issue with either a released fix (upgrade) or a known patch (use patch-package and leave a comment linking the issue so the patch can be deleted later).
Claude knows React. It doesn't know why your pod install just failed. A Claude Code plugin that adds the React Native knowledge you only get from shipping apps: build failure triage, SDK upgrades that don't eat a weekend, Hermes crash decoding, push
Repo: AnilBurcu/claude-code-react-native
Deep links, universal links and app links in React Native. Use when links do not open the app, for apple-app-site-association or assetlinks.json, lost…
EAS builds, OTA updates and store submission. Use for eas.json profiles, safe OTA publishing, App Store or Play Store submission, store rejections, versioning…
Upgrading Expo SDK and React Native safely. Use when bumping the SDK or react-native, or when the app broke after an upgrade: upgrade order, expo install…
Diagnose and fix a failing iOS or Android build. Use when the build is broken, pod install or Gradle fails, or the user asks to fix a native build error.
Decoding Hermes crashes and minified production stack traces. Use for "address at index.android.bundle" frames, unsymbolicated or badly grouped Sentry events,…
In-app purchases and subscriptions with RevenueCat. Use for paywalls, odd sandbox behavior, premium not arriving after purchase, webhook verification, restore…