2

Trying to get started with EarlGrey , i followed the steps to manually add EarlGrey to the project . But every time i try to build the test target it tends to fail with this error

/EarlGrey-1.0.0/EarlGrey.pch:27:4: "This project requires NS_BLOCK_ASSERTIONS to be undefined."

Anyone else ran into this problem and have suggestions ?

2 Answers2

0

You can enable this in Xcode for the version of your app that you plan to test using EarlGrey, see this for how you can do it: https://stackoverflow.com/a/20378159/5971511

Community
  • 1
  • 1
Gautam
  • 286
  • 1
  • 3
  • Thanks for this tip too . I did try this but didnt help for some reason on Xcode 8.0 . Moving to the recent release did help – user1473575 Oct 26 '16 at 00:26
0

This has been fixed in the recent versions of EarlGrey. Consider updating to the most recent 1.4.0 release

khandpur
  • 705
  • 3
  • 12