<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I fixed the previous issue by uninstalling a really old version of <a href="https://github.com/realm/SwiftLint" class="">https://github.com/realm/SwiftLint</a><div class=""><br class=""></div><div class="">Now I am having the same error as </div><div class=""><a href="https://bugs.swift.org/browse/SR-151" class="">https://bugs.swift.org/browse/SR-151</a></div><div class="">but the linking error only occurs when I run the test. (It builds just fine)</div><div class=""><br class=""></div><div class="">This is my fork with added tests. <br class=""><div class=""><a href="https://github.com/masters3d/example-package-playingcard" class="">https://github.com/masters3d/example-package-playingcard</a></div><div class=""><br class=""></div><div class="">Builds ok. </div><div class="">Tests fail to link</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ swift build -v</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.949 xcodebuild[13800:2337418] Build settings from command line:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.950 xcodebuild[13800:2337418] ENABLE_BITCODE = NO</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.950 xcodebuild[13800:2337418] SWIFT_DISABLE_REQUIRED_ARCLITE = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.950 xcodebuild[13800:2337418] SWIFT_LINK_OBJC_RUNTIME = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.950 xcodebuild[13800:2337418] TOOLCHAINS = org.swift.3020160412a</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:36.950 xcodebuild[13800:2337418] XCODE_DEFAULT_TOOLCHAIN_OVERRIDE = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.348 xcodebuild[13802:2337432] Build settings from command line:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.349 xcodebuild[13802:2337432] ENABLE_BITCODE = NO</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.349 xcodebuild[13802:2337432] SWIFT_DISABLE_REQUIRED_ARCLITE = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.349 xcodebuild[13802:2337432] SWIFT_LINK_OBJC_RUNTIME = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.349 xcodebuild[13802:2337432] TOOLCHAINS = org.swift.3020160412a</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:37.349 xcodebuild[13802:2337432] XCODE_DEFAULT_TOOLCHAIN_OVERRIDE = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1" class="">/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/bin/swiftc</span><span style="font-variant-ligatures: no-common-ligatures" class=""> --driver-mode=swift -I /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/lib/swift/pm -L /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Volumes/Joses_Stuff/github/Swift\ OSS/example-package-playingcard/Package.swift -fileno 3</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.731 xcodebuild[13808:2337460] Build settings from command line:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.732 xcodebuild[13808:2337460] ENABLE_BITCODE = NO</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.732 xcodebuild[13808:2337460] SWIFT_DISABLE_REQUIRED_ARCLITE = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.732 xcodebuild[13808:2337460] SWIFT_LINK_OBJC_RUNTIME = YES</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.732 xcodebuild[13808:2337460] TOOLCHAINS = org.swift.3020160412a</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2016-04-19 23:07:39.732 xcodebuild[13808:2337460] XCODE_DEFAULT_TOOLCHAIN_OVERRIDE = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/bin/swift-build-tool</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> -f /Volumes/Joses_Stuff/github/Swift\ OSS/example-package-playingcard/.build/debug.yaml default -v</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/bin/swiftc -module-name PlayingCard -incremental -emit-dependencies -emit-module -emit-module-path "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/.build/debug/PlayingCard.swiftmodule" -output-file-map "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/.build/debug/PlayingCard.build/output-file-map.json" -parse-as-library -c "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/Sources/Card.swift" "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/Sources/Rank.swift" "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/Sources/Suit.swift" -I "/Volumes/Joses_Stuff/github/Swift OSS/example-package-playingcard/.build/debug" -j8 -Onone -g -D SWIFT_PACKAGE -enable-testing -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ swift test</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Compiling Swift Module 'CardTestSuite' (3 sources)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Linking .build/debug/PlayingCard.xctest/Contents/MacOS/PlayingCard</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Undefined symbols for architecture x86_64:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TFO11PlayingCard4RankCfT8rawValueSi_GSqS0__", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8RankTest22testRankStringEqualityFT_T_U_FSiGSqO11PlayingCard4Rank_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TFV11PlayingCard4CardCfT4rankOS_4Rank4suitOS_4Suit_S0_", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8CardTest14testCardSinglefT_T_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8CardTest22testCardStringEqualityfT_T_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TMO11PlayingCard4Rank", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8RankTest22testRankStringEqualityfT_T_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TMaGSqO11PlayingCard4Rank_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8RankTest22testRankStringEqualityFT_T_U1_FO11PlayingCard4RankSi in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TMaGSaO11PlayingCard4Rank_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8RankTest22testRankStringEqualityFT_T_u_KzT_GSqSS_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8RankTest22testRankStringEqualityFT_T_u1_KzT_GSqSS_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8RankTest22testRankStringEqualityFT_T_u3_KzT_GSqSS_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TMO11PlayingCard4Suit", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8SuitTest22testSuitStringEqualityFT_T_u_KzT_GSqSS_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8SuitTest22testSuitStringEqualityFT_T_u1_KzT_GSqSS_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8SuitTest22testSuitStringEqualityFT_T_u3_KzT_GSqSS_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8SuitTest22testSuitStringEqualityFT_T_u5_KzT_GSqSS_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8SuitTest18testSuitComparablefT_T_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TMV11PlayingCard4Card", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8CardTest14testCardSinglefT_T_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8CardTest22testCardStringEqualityFT_T_u_KzT_GSqSS_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8CardTest22testCardStringEqualityFT_T_u1_KzT_GSqSS_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFFC13CardTestSuite8CardTest22testCardStringEqualityFT_T_u3_KzT_GSqSS_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TWPO11PlayingCard4Ranks10ComparableS_", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8RankTest18testRankComparablefT_T_ in RankTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TWPO11PlayingCard4Suits10ComparableS_", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8SuitTest18testSuitComparablefT_T_ in SuitTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TWPV11PlayingCard4Cards10ComparableS_", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8CardTest14testCardSinglefT_T_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> "__TWPV11PlayingCard4Cards9EquatableS_", referenced from:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> __TFC13CardTestSuite8CardTest14testCardSinglefT_T_ in CardTests.swift.o</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ld: symbol(s) not found for architecture x86_64</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><unknown>:0: error: build had 1 command failures</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">error:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> exit(1): /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain/usr/bin/swift-build-tool -f /Volumes/Joses_Stuff/github/Swift\ OSS/example-package-playingcard/.build/debug.yaml test</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 14, 2016, at 10:32 PM, Jose Cheyo Jimenez <<a href="mailto:cheyo@masters3d.com" class="">cheyo@masters3d.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Everybody, <div class=""><br class=""></div><div class="">I am trying to build the example-packages but I am getting errors once I try to run test</div><div class=""><br class=""></div><div class="">I was hopping to add some tests to close <a href="https://bugs.swift.org/browse/SR-1187" class="">https://bugs.swift.org/browse/SR-1187</a></div><div class=""><br class=""></div><div class="">I am using the 3-24 snapshot but I am getting import errors </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">: error: no such module 'FisherYates'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">import FisherYates</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ^</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><unknown>:0: error: build had 1 command failures</span></div></div><div class=""><br class=""></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It would seem that I am not able to import module names. </span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The same thing happens when I try to run some new xctest from others the other with no dependencies. </span></div><div class=""><br class=""></div><div class="">example-package-deckofplayingcards</div><div class="">example-package-fisheryates</div><div class="">example-package-playingcard</div><div class="">example-package-dealer</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>