I've got an app successfully using the AWS SDK framework, and now I'm trying to import a static library as a homemade framework, sharing code with several of my other projects.
The problem is: in order to import my static library, I need to add the -ObjC linker flag in order to import the library, but whenever I add that linker flag, AWS freaks out and gives me 40+ red compile errors.
I'm entirely new to linker flags and library importing, so I honestly don't really know where to start. I've done some research, but the best lead I can find is the suggestion that I could use -force_load instead of -ObjC, but that seems to require manually adding every ".m" file in the Build Phases section, and my library includes hundreds of such files.
Is there a simpler solution to this problem than adding every one of those files so I can use -force_load? How can I get the AWK SDK and the needs of importing my library to play nicely together?
Aucun commentaire:
Enregistrer un commentaire