Skip to content

Cannot run the tests on the latest XCode #33

Description

Build fails with the following error:

Ld /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Products/Debug-iphonesimulator/PocketForecast.app/PlugIns/PocketForecastTests.xctest/PocketForecastTests normal x86_64
cd /Users/yoelgluschnaider/dev/src/Typhoon-example
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Products/Debug-iphonesimulator -F/Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -filelist /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Intermediates/PocketForecast.build/Debug-iphonesimulator/PocketForecastTests.build/Objects-normal/x86_64/PocketForecastTests.LinkFileList -mios-simulator-version-min=7.0 -dead_strip -bundle_loader /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Products/Debug-iphonesimulator/PocketForecast.app/PocketForecast -Xlinker -object_path_lto -Xlinker /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Intermediates/PocketForecast.build/Debug-iphonesimulator/PocketForecastTests.build/Objects-normal/x86_64/PocketForecastTests_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Objc -all_load -ObjC -lExpecta -lOCHamcrest -lOCMockito -framework Foundation -framework XCTest -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Intermediates/PocketForecast.build/Debug-iphonesimulator/PocketForecastTests.build/PocketForecastTests.xctest.xcent -lxml2 -framework XCTest -framework UIKit -framework Foundation -lPods-PocketForecastTests -Xlinker -dependency_info -Xlinker /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Intermediates/PocketForecast.build/Debug-iphonesimulator/PocketForecastTests.build/Objects-normal/x86_64/PocketForecastTests_dependency_info.dat -o /Users/yoelgluschnaider/Library/Developer/Xcode/DerivedData/PocketForecast-djmclrdnqtllpigcjwhqcmwytbjp/Build/Products/Debug-iphonesimulator/PocketForecast.app/PlugIns/PocketForecastTests.xctest/PocketForecastTests

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/Developer/Library/Frameworks'
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions