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

Which build for Carthage? #407

Closed inPhilly closed 6 years ago

inPhilly commented 7 years ago

I see these instructions:

Version without Feedback carthage build --platform iOS --configuration ReleaseDefault HockeySDK-iOS Crash-only Version carthage build --platform iOS --configuration ReleaseCrashOnly HockeySDK-iOS Crash-only extension carthage build --platform iOS --configuration ReleaseCrashOnlyExtension HockeySDK-iOS

and it seems that I can only build for one version for the whole project, including app and extensions. But I want my app to use the ReleaseDefault and my extensions to use the ReleaseCrashOnlyExtension. Can you tell me more specifically how this can be done? Your instructions may be clear to seasoned users of Carthage (or they may not), but I am a relatively new user and it seems like I have to pick only one build and use it for everything. I hope that this is not the case. Thanks!

ElektrojungeAtWork commented 7 years ago

Hi @mommyme, Thx for getting in touch.

For your use case, I would recommend to use Cocoapods or our binary integration and then use the appropriate variant of the SDK for each target. With carthage, you/we cannot customize the output folder and it's not possible to customize name of dependency to checkout two versions, so there is no way I know of that solves your case.

Best, Benny

inPhilly commented 7 years ago

So basically anyone that has extensions can't use Carthage, right?

MatkovIvan commented 7 years ago

Hi @inPhilly!

The Carthage way is one framework per repository. You cannot get several frameworks configurations from one repository via Carthage because one will be replaced by another. I guess binary distribution is better choice for your case.

ElektrojungeAtWork commented 6 years ago

Hey,

I'm closing this issue as it's been around for several months. Please open it again if you still run into this.

Thx! Benjamin