Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/react-native/scripts/cocoapods/autolinking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ def list_native_modules!(config_command)

name = package["name"]
podspec_path = package_config["podspecPath"]
script_phases = package_config["scriptPhases"]
script_phases = package_config["scriptPhases"].map do |script_phase|
script_phase.merge({
"path" => File.join(File.dirname(podspec_path), script_phase["path"]),
})
end
configurations = package_config["configurations"]

# Add a warning to the queue and continue to the next dependency if the podspec_path is nil/empty
Expand Down