I’ve just integrated the Sentry framework into my iOS application, and it seems to work fine. We do not use Carthage or Cocopods, so I added the framework directly into my project (which I have done before with other libraries).
As I said, it runs fine - on both device and simulator. However after I Archive and then try to upload a build to the App Store for distribution, I get an error that it could not code-sign the Sentry framework:
If I click on the logs and look through them a bit, I cannot find an error related to Sentry and code signing. From researching the error it seems like this can be caused by having the library linked twice, but I do not think that is the case (the other framework my app includes, Nami, has been in my app for a while now in the same way without issue and also been distributed to the App Store successfully).
Does anyone have any ideas what could cause this? As I said, I drug the Sentry framework into my Xcode project, and made sure it’s embedding the framework and linking the libraries properly. From the General project tab I can also see it is embedding and linking the framework (would post screen shots but new users can only post one image).
Thanks for any help!