diff --git a/Examples/MacExample-Framework/README.md b/Examples/MacExample-Framework/README.md index 71cca7b1..755ca2d6 100644 --- a/Examples/MacExample-Framework/README.md +++ b/Examples/MacExample-Framework/README.md @@ -3,8 +3,12 @@ To set up this example, open Example.xcodeproj: 1. Drag OCMockito.framework and OCHamcrest.framework into the project, specifying: * "Copy items into destination group's folder" * Add to targets: ExampleTests - -2. Open the Build Phases for the ExampleTests target: + +2. In Build Settings, add -ObjC to "Other Linker Flags". Whether you do this at + the target level or project level doesn't matter, as long as the change is + applied to the ExampleTests target. + +3. Open the Build Phases for the ExampleTests target: * Drag OCHamcrest.framework and OCMockito.framework into the Copy Files phase * Destination: Products Directory diff --git a/Examples/iOSExample-Framework/README.md b/Examples/iOSExample-Framework/README.md index a2589f06..e796c354 100644 --- a/Examples/iOSExample-Framework/README.md +++ b/Examples/iOSExample-Framework/README.md @@ -4,4 +4,8 @@ To set up this example, open Example.xcodeproj: * "Copy items into destination group's folder" * Add to targets: ExampleTests +2. In Build Settings, add -ObjC to "Other Linker Flags". Whether you do this at + the target level or project level doesn't matter, as long as the change is + applied to the ExampleTests target. + Then command-U to run unit tests. Try changing one of the tests to fail.