fix: remove invalid iOS 'project' config field#592
Open
gaurish wants to merge 1 commit intoandpor:masterfrom
Open
fix: remove invalid iOS 'project' config field#592gaurish wants to merge 1 commit intoandpor:masterfrom
gaurish wants to merge 1 commit intoandpor:masterfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
dependency.platforms.ios.projectis not valid in React Native CLI, causing this warning:Fix
Remove the
iosconfig. The existing podspec handles iOS auto-linking correctly.