Let\'s, I have a custom Swift Cocoa Touch framework, MyLog, which has a simple function called printLog(). I have another Swift projec
add the frameworks to "Embedded Binaries" (Target > General > Embedded Binaries) then run
Finally I got the solution with below steps,
MyLog project as Framework when creatingfunc printLog and build the project (successful build will create a /Product/MyLog.framework file)/Product/Mylog.framework file into HelloWorld project directory using FinderHelloWorld Project -> Targets -> Build Phases -> Link Binary With Libraries -> + -> Add Other (select MyLog.framework from HelloWorld/ directory)HelloWorld Project -> Targets -> Build Phases -> Embed Frameworks -> + -> Other (select MyLog.framework from HelloWorld/ directory)HelloWorld and enjoy!HelloWorld Project -> Targets -> Build Phases -> Embed Frameworks please check, HelloWorld Project -> Targets -> General -> Embedded Binaries in the later versions of xcode, which will do the same thing step-5 does.