I followed this tutorial and also this video to create my custom framework. Once I build it for the simulator version/or both simulator and device, I would like to add this to my project. I just drag and drop it to project:
My PersonFramework within project navigator:
Target membership for my PersonFramework:
Linked Frameworks for my App target.
And finally my try to import this to the project:
No such module
PersonFramework
.
What am I doing wrong?
FRAMEWORK_SEARCH_PATHS
build setting needs to point to the location of the framework.
Close the Xcode.
Go into user(you)/Library/Developer/Xcode/DerivedData and delete the folder contents.
If you have a build of you app in a running simulator you'll need to also delete the build folders.
Reopen the Xcode. Clean & Build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With