I'm using Xcode v8.3.1 and tried both in simulator 8.1 and 10.3.
But every time it complaints the same error.
ld: warning: -undefined dynamic_lookup is deprecated on iOS
ld: warning: object file (x86_64/injecting_class.o) was built for newer iOS version (8.0) than being linked (7.0)
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle normal x86_64 (1 failure)
*** Build Failed with status: 65. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against. ***
at /Users/linxi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
main::error('Build Failed with status: 65. You may need to open and edit t...') called at /Users/linxi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 482
*** Bundle build failed ***
I'm using Xcode v8.3.1 and tried both in simulator 8.1 and 10.3.
But every time it complaints the same error.