ios - How to use private framework's .h file in XCode -
I am trying to use the SBSRemoteNotificationClient.h file of the SpringBoardServices infrastructure downloaded from GitHub I am I dragged and dropped the SCSRMOM authentication client HK file into XCode and tried to compile it. But I am facing down error during compiling. I added "SBSRMot Notification Client H" to my MyClass.m file. I also added the path of SBSRemoteNotificationClient.h in the build settings - & gt; Search Path - & gt; The user header is facing the error mentioned above like / user / accessor 006 / desktop / iphone-private frameworks-master / springboard services / . Is this the correct way to use .h files of private framework? This is a linky error header was correctly parsed, but the framework symbols were not found . Make sure that you are adding the SpringBoardServices framework. Use to find it , Then Adding the framework by using
Undetermined symbol for architecture armv7: "_OBJC_CLASS _ $ _ SBSRemoteNotificationClient", referenced from: objc-class-ref in MyClass.o ld: mark (s) not found for architectural armv7 clags : Error: Linker with Command Failed Failure Code 1 (Use -V to view invitation)
Find / Applications / Xcode.app/-name 'SpringBoardServices.framework'
- Framework Springboard Services and
-F / the / path / return / by / find / (without
SpringBoardServices.framework at the end of the path ) For your compilation flag.
build steps>; Link binary with libraries & gt; (+) can also work in your Xcode project.
Comments
Post a Comment