ArtSabintsev / Siren

Notify users when a new version of your app is available and prompt them to upgrade.
http://sabintsev.com/
MIT License
4.24k stars 407 forks source link

Siren_Siren.bundle: No such file or directory #388

Closed yusuftor closed 2 years ago

yusuftor commented 2 years ago

Whenever I try to archive my app I get the error:

error: /Users/Me/Library/Developer/Xcode/DerivedData/MyApp-drtjyfprawspkugsppqwsoychoqp/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release (Production)-iphoneos/Siren_Siren.bundle: No such file or directory (in target 'MyApp' from project 'MyApp')

I'm adding Siren via SwiftPM. How can I fix this?

ArtSabintsev commented 2 years ago

Please provide me with a sample app with your integration using SwiftPM

yusuftor commented 2 years ago

@ArtSabintsev Thanks for the quick reply! In the process of creating a sample app for you I've fixed it. It was due to having two environments - staging and production. It was accidentally archiving as a staging app, rather than production. After changing that, it worked.

As a side note, keep up the great work with this framework. It's super useful :)

ArtSabintsev commented 2 years ago

Thanks!