kiwi-bdd / Kiwi

Simple BDD for iOS
BSD 3-Clause "New" or "Revised" License
4.14k stars 512 forks source link

Test building Kiwi via Carthage on CI #680

Closed sharplet closed 7 years ago

sharplet commented 8 years ago

Fixes #631.

sharplet commented 8 years ago

So unfortunately CI is currently never getting to the step I added because of the regression described in #652 (the first test run doesn't pass and so no other tests run).

When running this locally on my machine, I discovered another issue: the podspec appears to no longer lint correctly under 1.0:

% pod lib lint

 -> Kiwi (2.4.0)
    - ERROR | xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  $HOME/Library/Developer/Xcode/DerivedData/App-fedcijoiwrqxyugjwefskiujgwum/Build/Products/Release-iphonesimulator/Kiwi/Kiwi.framework/Headers/Kiwi.h:8:9: fatal error: 'XCTest/XCTest.h' file not found
    - NOTE  | xcodebuild:  /var/folders/nl/09nb5jwj5934y_z1cl7wbxg00000gn/T/CocoaPods/Lint/App/main.m:3:9: fatal error: could not build module 'Kiwi'
    - NOTE  | [OSX] xcodebuild:  $HOME/Library/Developer/Xcode/DerivedData/App-fedcijoiwrqxyugjwefskiujgwum/Build/Products/Release/Kiwi/Kiwi.framework/Headers/Kiwi.h:8:9: fatal error: 'XCTest/XCTest.h' file not found

@orta any ideas?

orta commented 8 years ago

Offhand, I don't, but I expect Specta may have the same problem as the Podspecs look the same

orta commented 8 years ago

Rough gist is here: https://github.com/Quick/Quick/pull/530#issuecomment-219294935 - fix is this: https://github.com/specta/specta/commit/f69bdfa4591cb59f612e1dc3f9a318df5ba83451

sharplet commented 7 years ago

Closing this as it's stale.