xUnique
xUnique copied to clipboard
KeyError: 'productName'
Uniquify and Sort done
Uniquify and Sort
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/xunique", line 8, in
it seems your project has no productName
?
The PBXAggregateTarget
section appears to contain objects with a name
and optionally a productName
. If a PBXAggregateTarget
object omits the productName
key the error occurs, I found an example in the SwiftCoroutines project.
this issue has already been mentioned in PR #49 , but this change would break the project file. Using the SwiftCoroutines project mentioned above, xunique it with the PR twice, the project file breaks. Commands below:
xunique -v SwiftCoroutines/ios/Pods/Pods.xcodeproj