bitstadium / HockeySDK-iOS

HockeyApp was retired and the SDKs are deprecated. Please use App Center instead.
https://github.com/microsoft/appcenter-sdk-apple
Other
597 stars 268 forks source link

Release/4.1.2 #353

Closed ElektrojungeAtWork closed 8 years ago

ElektrojungeAtWork commented 8 years ago

Carthage automatically picks the "Release" configuration for an SDK release but still copies all headers into the framework. This results in a binary that doesn't contain the Feedback-Feature but with all Feedback-Headers being present. So it's possible to integrate it in code but the app will crash at runtime when the dev tries to call, e.g. BITHockeyManager.shared().feedbackManager.showFeedbackListView().

I tried various approaches to solve this and came up with the following: the 'Release'-configuration will now build the full-featured SDK, while the 'ReleaseDefault' will build the default configuration. To the sdk users, this change is transparent.