Closed erichoracek closed 9 years ago
looks like Tests/Support/objc-build-scripts/cibuild
needs to be updated too 👍
@orta doesn't look like that file needed to be modified, but we did need to add the framework to the test target's runpath search paths and copy it in. Should be good now though!
Looks good to me, to @orta too?
Yep
When you attempt to build the Expecta-iOS framework scheme via the following command with the iOS 7.1 Simulator installed:
You'll receive the following error:
This is due to the fact that the
Expecta-iOS
framework scheme is currently configured to run tests using theExpecta-iOSTests
target. However, this is an incorrect configuration, as theExpecta-iOSTests
target does not actually depend on the framework target, but rather depends on the static library target. As such, running the Expecta-iOSTests target will not actually test the framework target. To fix this, I've:libExpectaTests
andlibExpectaTests-iOS
ExpectaTests
andExpectaTests-iOS
for the framework targets, to ensure that both integration options (framework or static library) can be properly tested