leandromperez / specleaks

Unit Tests Memory Leaks in Swift. Write readable tests for mem leaks easily with these Quick and Nimble extensions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Carthage build fails with Xcode 11.4

igorkulman opened this issue · comments

After updating to Xcode 11.4 I cannot build the library anymore via Carthage

Ld /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/Binary/SpecLeaks normal x86_64 (in target 'SpecLeaks' from project 'SpecLeaks')
    cd /Users/igorkulman/Projects/open-source/iOSSampleApp/Sources/Carthage/Checkouts/specleaks
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios10.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -L/Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Products/Release-iphonesimulator -F/Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Products/Release-iphonesimulator -F/Users/igorkulman/Projects/open-source/iOSSampleApp/Sources/Carthage/Checkouts/specleaks/Carthage/Build/iOS -filelist /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/SpecLeaks.LinkFileList -install_name @rpath/SpecLeaks.framework/SpecLeaks -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/SpecLeaks_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/SpecLeaks.swiftmodule -framework Quick -framework Nimble -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/SpecLeaks_dependency_info.dat -o /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/x86_64/Binary/SpecLeaks
ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport'
ld: warning: Could not find or use auto-linked framework 'XCTest'
Undefined symbols for architecture x86_64:
  "__swift_FORCE_LOAD_$_XCTestSwiftSupport", referenced from:
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in LeaksAnalyzer.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in Expectation+Leaks.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in Matchers.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in AnalyzeLeakAction.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in LeakTest.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in AnalyzeLeak.o

Ld /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/Binary/SpecLeaks normal i386 (in target 'SpecLeaks' from project 'SpecLeaks')
    cd /Users/igorkulman/Projects/open-source/iOSSampleApp/Sources/Carthage/Checkouts/specleaks
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target i386-apple-ios10.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -L/Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Products/Release-iphonesimulator -F/Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Products/Release-iphonesimulator -F/Users/igorkulman/Projects/open-source/iOSSampleApp/Sources/Carthage/Checkouts/specleaks/Carthage/Build/iOS -filelist /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/SpecLeaks.LinkFileList -install_name @rpath/SpecLeaks.framework/SpecLeaks -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/SpecLeaks_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/SpecLeaks.swiftmodule -framework Quick -framework Nimble -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/SpecLeaks_dependency_info.dat -o /Users/igorkulman/Library/Caches/org.carthage.CarthageKit/build/5.2+f58d9b74f6b642adce092215d0238d3c/specleaks/0.1.8/Build/Intermediates.noindex/SpecLeaks.build/Release-iphonesimulator/SpecLeaks.build/Objects-normal/i386/Binary/SpecLeaks
ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport'
ld: warning: Could not find or use auto-linked framework 'XCTest'
Undefined symbols for architecture i386:
  "__swift_FORCE_LOAD_$_XCTestSwiftSupport", referenced from:
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in LeaksAnalyzer.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in Expectation+Leaks.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in Matchers.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in AnalyzeLeakAction.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in LeakTest.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks in AnalyzeLeak.o
     (maybe you meant: __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SpecLeaks)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Should be fixed by #16