Closed joshuatbrown closed 3 years ago
@KingOfBrian I think I made all the changes you requested. I also updated the RZBluetoothExample app to use the RZBluetoothTest podspec. Can you re-review?
This looks good — would love to get this merged.
Does RZBluetoothMock need similar treatment to be broken out into its own podspec?
This fixes #41. However, due to the way we fixed it, the Tests target in RZBluetooth no longer compiles. We've tried various ways to fix the problem but haven't found a solution yet. I'm hoping that by opening this PR, we'll get some help with the Tests target.
Here's what we did:
RZBluetooth/Test
subspecRZBSimulatedTestCase
since they now depend on the mainRZBluetooth/Mock
spec (and therefore need to be imported withRZBluetooth/...
)The second bullet is where the problem lies. By importing with
RZBluetooth/...
, we've broken the test target which does not have those files in a separate framework. But importing this way is required so that the newRZBluetoothTest
podspec builds in CocoaPods.