IdeasOnCanvas / AppReceiptValidator

Parse and validate App Store receipt files
https://mindnode.com/opensource
Apache License 2.0
352 stars 41 forks source link

[Resolved] Xcode build error after upgrading to 1.1.0: Unexpected duplicate tasks #87

Open hannesoid opened 2 years ago

hannesoid commented 2 years ago

This issue is not an issue to be solved, but for documentation purposes to help users of the framework when upgrading

If you have previously used AppReceiptValidator in Xcode frameworks and App Targets, you may now experience a build error similar:

Unexpected duplicate tasks

This is due to: https://github.com/IdeasOnCanvas/AppReceiptValidator/pull/86 (release https://github.com/IdeasOnCanvas/AppReceiptValidator/releases/tag/1.1.0)

If you are expecting and embedding it as a dynamic framework,

lukaskubanek commented 2 years ago

Thanks for sharing this heads up on the issue with the recent change in handling the package type. I run into it after upgrading to version 1.1.0. Since I use the package from the main app as well as an internal framework, I wanted to keep using the dynamic target. For reference, these were the changes I had to make:

Now everything seems to be working just fine. Thanks for maintaining this library!

hannesoid commented 2 years ago

Thanks for the feedback, this aligns with how we handled it too.