Closed PiotrStepien closed 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:
plist
file generated by CocoaPods, not the markdown
.plist
file (just make sure that the file is included in the target).let viewController = AcknowListViewController(fileNamed: "Pods-AcknowExample-acknowledgements")
I hope that helps. Please let me know if you need further assistance.
This has happened to me. Deleting the Pods folder and rerun pod install solved the problem.
I had to make pod install
two times and then it works 👍
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.
Same issue
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)