Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Carthage compatibility #47

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dodikk
Copy link

@dodikk dodikk commented Feb 20, 2015

Added a static library and iOS8 framework targets.
The library is now compatible with Carthage package manager.

Note : you should to make a fork so that carthage versioning would recognise these changes

@timorzadir
Copy link
Contributor

The first commit of this PR seems to be covered by #44, which is merged now. Can you merge with master to update this PR so it can be merged without conflicts?

Thanks for the PR by the way :)

@dodikk
Copy link
Author

dodikk commented Feb 25, 2015

Can you merge with master to update this PR so it can be merged without conflicts?

I'll do it. Probably over the week end.

@dodikk
Copy link
Author

dodikk commented Mar 14, 2015

Merge done.

@dodikk
Copy link
Author

dodikk commented Mar 14, 2015

I think, dropping a static library target for a framework is too radical.
Dynamic linking has some drawbacks on iOS. Carthage/Carthage#188
Moreover, some of us have to support iOS 7 in legacy projects (dynamic frameworks cannot be used in those).

So, I have preserved a static library target during the merge. Also, I've added a static framework target.
I guess, many developers would like to keep linking sentry client statically.

@timorzadir
Copy link
Contributor

Great. There is one issue though. After switching to XCTest the test suite will no longer run.

@dodikk
Copy link
Author

dodikk commented Mar 16, 2015

After switching to XCTest the test suite will no longer run.

Not sure what you mean. I have tested XCTest targets and they worked. What else do you want me to fix? Are there any scripts I've missed?

@timorzadir
Copy link
Contributor

In your PR it has been added a new Raven group, a content-less RavenClientTests group, a RavenTests group with an empty test, and an extra test bundle in the test navigator.
One of the test bundles will not run, but the other one seems to run ok.

It would be awesome if you could clean away the unused groups and the extra test-bundle in the test navigator.

@dodikk
Copy link
Author

dodikk commented Mar 20, 2015

@timorzadir could you please post some screenshots to avoid the misunderstanding again?

@dodikk
Copy link
Author

dodikk commented Mar 20, 2015

One of the test bundles will not run, but the other one seems to run ok.

Cold you provide more detailed steps to reproduce? Before submitting this patch I have tested both the static lib based tests and the framework based tests. Both of them worked for me. So, I cannot reproduce the issue.

Note : two test bundles cannot be executed within the same scheme due to a bug of Xcode. Isn't it a reason why you can run only one bundle?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants