Alright, I can't figure this out no matter what I try, and need help please.
My projects now use the "Sparrow.framework" instead of "libSparrow.a" and everything builds fine. My issue is that modifying Sparrow and re-compiling "Sparrow.framework" doesn't reflect any of my changes.
For example, lets say I add a new class method to SPUtils. Here are my steps after my changes:
- I click "Product > Archive" and wait for it to successfully complete.
- Then I navigate to the appropriate "build/" directory and make sure the "Sparrow.framework" file/folder exists and was changed.
- After that, I make sure my own project is properly linked to "Sparrow.framework".
- Upon attempting to build my own project which attempted to access this "new class method in SPUtils" it will throw a build error saying that the method does not exist.
Upon investigation, the "Sparrow.framework" directory has the correct SPUtils.h file, but I assume the .m isn't being recompiled or something. Inside the "Sparrow.xcodeproj" (within my own project), it shows my header and implementation changes correctly.
I even did extra steps such as:
- Deleted "build/Sparrow.framework" before clicking "Product > Archive".
- Removed the reference of "Sparrow.framework" from my project and re-linked it.
I have also tried many other changes, such as modifying methods that already exist in Sparrow.
Also, is there a way of displaying NSLogs from source files inside of Sparrow, when running from my own project? I assume this is no longer possible because Sparrow is being pre-compiled before hand, right?
Alternative, I also tried just linking the "libSparrow.a" file instead of "Sparrow.framework" to avoid using the compiled version, but I get tons of errors with category methods on Sparrow objects that I have never got before. (Disclaimer: I am using a little trick to expose Sparrow instance variables) So this isn't an option at the moment.
I noticed that the "Sparrow.framework" scheme no longer exists to build and create the compiled framework, but I assume "Product > Archive" is the new alternative, right?
Thank you very much.
@off-topic
Another question:
Will leaving -ObjC and -all_load have any negative effect on Sparrow and Sparrow related categories, now that those flags are no longer needed?