Skip to content

Read Podfile.properties.json from CocoaPods installation_root - #453

Open
theluckystrike wants to merge 1 commit into
rive-app:mainfrom
theluckystrike:fix-podspec-podfile-properties-path
Open

theluckystrike wants to merge 1 commit into
rive-app:mainfrom
theluckystrike:fix-podspec-podfile-properties-path

Conversation

@theluckystrike

Copy link
Copy Markdown

Fixes #450

rive-react-native.podspec previously resolved Podfile.properties.json via File.join(__dir__, "ios", "Podfile.properties.json"), which points inside node_modules/rive-react-native/ios/ instead of the host app's ios/ directory.

This change resolves Podfile.properties.json from Pod::Config.instance.installation_root (with a fallback to __dir__ outside a CocoaPods install) so RiveRuntimeIOSVersion overrides in the app's ios/Podfile.properties.json are respected.

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.

iOS: RiveRuntimeIOSVersion in ios/Podfile.properties.json is ignored (podspec reads it from node_modules)

1 participant