ESCObservable icon indicating copy to clipboard operation
ESCObservable copied to clipboard

ESCObservable's Podfile -all_load breaks GoogleMaps

Open domesticmouse opened this issue 10 years ago • 4 comments

Hey guys,

I see on line 22 of ESCObservable.podspec.json that you add the -load_all linker flag. This is breaking a GoogleMaps integration Google Maps SDK for iOS bug #8291.

Can you please investigate using -force_load instead? Here's a blog post covering some of the background.

domesticmouse avatar Oct 09 '15 02:10 domesticmouse

Does it work if you specify use_frameworks! in your pod file and remove -all_load from your build settings? As far as I can tell, it isn't possible to tell cocoa pods to force load one pod and not the others.

JARinteractive avatar Oct 11 '15 22:10 JARinteractive

Was meaning to say, this also broke skobbler pod integration. I had to remove -load_all and manually load the registration functions. Might be worth exposing the register functions just in case.

markshiz avatar Oct 12 '15 13:10 markshiz

void escMakeClassObservable(Class aClass) is already public. You can call it and pass [NSObject class].

JARinteractive avatar Oct 12 '15 14:10 JARinteractive

True dat. I also use the mock classes in my tests, so I just made it void escObservableRuntimeSetup(); public.

markshiz avatar Oct 12 '15 14:10 markshiz