Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Expecta uses NS_DESIGNATED_INITIALIZER which is undefined for SDKs before OSX10.10 #160

Closed
jimix opened this issue Jun 2, 2015 · 2 comments

Comments

@jimix
Copy link
Contributor

jimix commented Jun 2, 2015

Using xctool, which just wraps for xcodebuild
When building for OSX10.9:

$ (cd Tests; pod install)
$ xctool -workspace CDTDatastore.xcworkspace -scheme "Tests OSX" -sdk macosx10.9 test
...
In file included from /Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.m:1:
In file included from /Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h:1:
In file included from /Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Expecta/Expecta/Expecta.h:10:
In file included from /Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Headers/Private/Expecta/ExpectaSupport.h:1:
/Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Headers/Private/Expecta/EXPExpect.h:31:159: error: expected ':'
- (instancetype)initWithActualBlock:(id)actualBlock testCase:(id)testCase lineNumber:(int)lineNumber fileName:(const char *)fileName NS_DESIGNATED_INITIALIZER;
                                                                                                                                                              ^
                                                                                                                                                              :
/Users/jimix/work/iOS/CoreData/CDTDatastore/Tests/Pods/Headers/Private/Expecta/EXPExpect.h:43:110: error: expected ':'
- (instancetype)initWithExpectation:(EXPExpect *)expectation selector:(SEL)selector NS_DESIGNATED_INITIALIZER;

I'll follow up on any issues with pre iOS8.

@indisoluble
Copy link
Contributor

Fixed in PR #144 (commit 0bbbdb7)

@rhyshort
Copy link
Member

We now only support building on Xcode 6.4, which only runs on Yoesmite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants