How to add the framework iHasApp.a framework into my Application bundle framework or framework.I tried to add through bundle phases and add files, but still i am getting the following errors.
- Undefined symbols for architecture i386:
_OBJC_CLASS_$_iHasApp, referenced from:
objc-class-ref in RootViewController.o - ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And I am not able to add this framework.
Author of iHasApp here. From your description, you are using the static library from http://amitay.us/ihasapp/index.php
As Armaan asked, are you trying to run it on the Simulator? As per the warning on the website, iHasApp was not compiled to run on the Simulator. The warning you are receiving indicates that symbols are not being found for the i386 architecture, namely the iOS Simulator.
You will only be able to compile that project on an actual device.
The following is not meant as an advertisement: iHasApp is now being maintained as a new, more comprehensive software as a service at https://www.iHasApp.com. It is currently in the late stages of beta. If you would like to participate, then sign up for an account and email me at daniel@ihasapp.com. This newer framework will run on the Simulator (although it is somewhat pointless).