Skip to content

Conversation

@gaurish
Copy link

@gaurish gaurish commented Jan 24, 2026

Problem

dependency.platforms.ios.project is not valid in React Native CLI, causing this warning:

warn Package react-native-sqlite-storage contains invalid configuration: 
"dependency.platforms.ios.project" is not allowed.

Fix

Remove the ios config. The existing podspec handles iOS auto-linking correctly.

The `dependency.platforms.ios.project` field is not a valid configuration
option in the React Native CLI schema. This causes a warning during
`yarn install` or any React Native config operation:

  "Package react-native-sqlite-storage contains invalid configuration:
   dependency.platforms.ios.project is not allowed"

Since the package has a podspec file at the root level, iOS auto-linking
works correctly without any explicit iOS configuration. Removing this
field eliminates the warning while maintaining full iOS compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant