Xcode compile Perfect failure

Error message
Ld /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Products/Debug/PerfectNet.framework/Versions/A/PerfectNet normal x86_64  
    cd /Users/Adrift/PerfectTemplate
    export MACOSX_DEPLOYMENT_TARGET=10.10
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Products/Debug -F/Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Products/Debug -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Intermediates/PerfectTemplate.build/Debug/PerfectNet.build/Objects-normal/x86_64/PerfectNet.LinkFileList -install_name @rpath/PerfectNet.framework/Versions/A/PerfectNet -Xlinker -rpath -Xlinker /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -mmacosx-version-min=10.10 -Xlinker -object_path_lto -Xlinker /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Intermediates/PerfectTemplate.build/Debug/PerfectNet.build/Objects-normal/x86_64/PerfectNet_lto.o -Xlinker -export_dynamic -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -Xlinker -add_ast_path -Xlinker /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Intermediates/PerfectTemplate.build/Debug/PerfectNet.build/Objects-normal/x86_64/PerfectNet.swiftmodule -framework COpenSSL -framework PerfectThread -single_module -Xlinker -dependency_info -Xlinker /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Intermediates/PerfectTemplate.build/Debug/PerfectNet.build/Objects-normal/x86_64/PerfectNet_dependency_info.dat -o /Users/Adrift/Library/Developer/Xcode/DerivedData/PerfectTemplate-emglowqwiocfrncgvtvbgqyubbdg/Build/Products/Debug/PerfectNet.framework/Versions/A/PerfectNet

ld: library not found for -lCOpenSSL for architecture x86_64  
clang: error: linker command failed with exit code 1 (use -v to see invocation)  
The method to solve this problem
Under Project > Build Settings > Library Search Paths, add:

$(PROJECT_DIR)/**

refer to:https://bugs.swift.org/browse/SR-2465

--EOF--