Skip to content

Commit

Permalink
Small changes for compatibility with Xcode 5 Preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Doernenburg authored and Erik Doernenburg committed Jun 19, 2013
1 parent d7c45c4 commit e8a9cc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OCMock.xcodeproj/project.pbxproj
Expand Up @@ -654,7 +654,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Unpack frameworks required for this target\npushd \"${TARGET_BUILD_DIR}\"\nif [ ! -d Frameworks ]; then\nmkdir Frameworks\nfi\ncd Frameworks\nif [ ! -d OCHamcrest.framework ]; then\ngnutar xjf \"${PROJECT_DIR}/Frameworks/OCHamcrest.tar.bz2\"\nfi\npopd\n";
shellScript = "# Unpack frameworks required for this target\npushd \"${TARGET_BUILD_DIR}\"\nif [ ! -d Frameworks ]; then\nmkdir Frameworks\nfi\ncd Frameworks\nif [ ! -d OCHamcrest.framework ]; then\ntar xjf \"${PROJECT_DIR}/Frameworks/OCHamcrest.tar.bz2\"\nfi\npopd\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down
4 changes: 4 additions & 0 deletions Source/OCMock/OCMConstraint.m
Expand Up @@ -18,6 +18,10 @@ - (BOOL)evaluate:(id)value
return NO;
}

- (id)copyWithZone:(struct _NSZone *)zone
{
return [self retain];
}

+ (id)constraintWithSelector:(SEL)aSelector onObject:(id)anObject
{
Expand Down

0 comments on commit e8a9cc9

Please sign in to comment.