Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move NUIPSenTestKitAssertions to NUIParseTests #2

Merged

Conversation

timbodeit
Copy link
Collaborator

The fact that this header relies on the SenTesingKit framwork, leads me to the
conclusion, that it is not meant to be used anywhere else than in unit testing
targets.
It defines UnitTest assertions, that to my knowledge are only used in
NUIPSTAssertionsTests.m

Because this file was caught by the source_files pattern of the podspec file,
it is included in the umbrella headers generated by cocoapods when applying the
new use_framworks! option.

This leads to an error, because you normally wouldn't link the framework itself
against the SenTesingKit framework, but it is automatically imported.

I thus moved it to the unit test target folder, where IMHO it belongs anyways.

The fact that this header relies on the SenTesingKit framwork, leads me to the
conclusion, that it is not meant to be used anywhere else than in unit testing
targets.
It defines UnitTest assertions, that to my knowledge are only used in
NUIPSTAssertionsTests.m

Because this file was caught by the source_files pattern of the podspec file,
it is included in the umbrella headers generated by cocoapods when applying the
new 'use_framworks!' option.

This leads to an error, because you normally wouldn't link the framework itself
against the SenTesingKit framework, but it is automatically imported.

I thus moved it to the unit test target folder, where IMHO it belongs anyways.
@tombenner
Copy link
Owner

👍

timbodeit added a commit that referenced this pull request Nov 6, 2015
Move NUIPSenTestKitAssertions to NUIParseTests
@timbodeit timbodeit merged commit 47d8e8f into tombenner:master Nov 6, 2015
@timbodeit timbodeit deleted the improve_cocoapods_framework_support branch November 6, 2015 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants