Skip to content

Conversation

@grvillic
Copy link
Collaborator

Problem

Pod detection is throwing the following exception when a podspec is missing, even though we were able to capture the entire snapshot of dependencies.

LogFailedReadingFile logged KeyNotFoundException: The given key 'X' was not present in the dictionary.

Solution

Log a warning and proceed capturing components.

@grvillic grvillic requested a review from a team as a code owner January 26, 2022 03:07
@grvillic grvillic requested a review from chsalgado January 26, 2022 03:07
@github-actions
Copy link

👋 Hi! It looks like you modified some files in the Detectors folder.
You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

@grvillic grvillic enabled auto-merge (squash) January 26, 2022 03:08
@grvillic grvillic merged commit 6176381 into main Jan 26, 2022
@grvillic grvillic deleted the grvillic/FixPodDetection branch January 26, 2022 14:46
@grvillic grvillic added the type:bug Bug fix of existing functionality label Jan 26, 2022
@JamieMagee JamieMagee added the detector:cocoapods The CocoaPods detector label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

detector:cocoapods The CocoaPods detector type:bug Bug fix of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants