vtourraine / AcknowList

Acknowledgements screen displaying a list of licenses, for example from CocoaPods and Swift Package Manager dependencies.
MIT License
784 stars 59 forks source link

No licences #45

Closed PiotrStepien closed 5 years ago

PiotrStepien commented 5 years ago

I installed AcknowList from pods using pod 'AcknowList' and I created a reference between Pods-bundle name-acknowledgements.plist and my main target.

In Pods/TargetSupportFiles/Pods/Pods-bundle name-acknowledgements.plist I can see, there is no data (empty file), but in Pods-Itaka-acknowledgements.markdown I can see all licences which I need. How can I fix it?

It is the way, how I create ViewController

let path = Bundle.main.path(forResource: "Pods-bundle name-acknowledgements", ofType: "plist") let licenceVC = AcknowListViewController(acknowledgementsPlistPath: path)

vtourraine commented 5 years ago

Hello Piotr, and thanks for reaching out.

I’m not sure I completely understand the problem, but I can tell you that:

let viewController = AcknowListViewController(fileNamed: "Pods-AcknowExample-acknowledgements")

I hope that helps. Please let me know if you need further assistance.

ApolloZhu commented 5 years ago

This has happened to me. Deleting the Pods folder and rerun pod install solved the problem.

PiotrStepien commented 5 years ago

I had to make pod install two times and then it works 👍

vtourraine commented 5 years ago

Well, this is not ideal, but I’m glad to hear that you’ve managed to fix the situation. 🎉

I’ll investigate that further if more people report the same issue.

brainfuel commented 2 years ago

Same issue