Let's, I have a custom Swift Cocoa Touch framework
, MyLog
, which has a simple function called printLog()
. I have another Swift project named HelloWorld
in different workspace/location. Now I need to import the custom framework MyLog
into project HelloWorld
, so that I can call MyLog.printLog()
.
Project -> Targets -> Build Phases -> Link Binary With Libraries
does not show my custom library in the list. Moreover I don't just want to link my custom library, rather I want to import separately as independent library so that running changes in MyLog
wont reflect in HelloWorld
.
NB: Similar things I do in Android with adding
custom_library.jar
in lib.