Compatibility issues with Drive SDK on iOS 9

Hey everyone,

I’m pulling my hair out trying to get the Drive SDK to play nice with iOS 9. It’s like everything decided to break at once! A bunch of methods are now giving me deprecation warnings, and some header files have gone MIA.

Has anyone managed to get this working smoothly? I’d love some pointers on how to update my project without tearing it apart completely.

Also, does anyone know if there’s an official update for iOS 9 in the pipeline? It would be a lifesaver if the SDK folks could roll out a compatible version soon.

Thanks in advance for any help or info you can share!

I’ve been grappling with this issue too. After some extensive troubleshooting, I found a workaround that might help. First, I updated all my Cocoapods dependencies to their latest versions. Then, I manually went through the Drive SDK code and updated method calls to their iOS 9 equivalents where possible. For missing headers, I had to recreate some based on Apple’s documentation.

One crucial step was adjusting my project’s Build Settings. I set the ‘Enable Modules’ option to ‘No’ and ‘Allow Non-modular Includes in Framework Modules’ to ‘Yes’. This resolved several compatibility issues.

It’s not a perfect solution, but it got my project running on iOS 9 without major rewrites. Keep an eye on the official Drive SDK repository for updates – they might release a patch soon given the widespread issues.

I’ve been through this headache recently with the Drive SDK on iOS 9. It’s definitely a challenge, but not insurmountable. One approach that worked for me was creating a bridge between the older SDK methods and iOS 9’s new requirements. It took some trial and error, but I managed to get most functionality working.

For the missing header files, I had to dig through the documentation and recreate some of them manually. It’s time-consuming, but it beats waiting for an official update that might not come soon.

As for deprecation warnings, I found that many could be resolved by using the newer equivalents suggested in the warnings themselves. In some cases, I had to rewrite entire sections of code to comply with iOS 9’s stricter security policies.

Honestly, it’s a bit of a mess right now, but with some persistence, you can get it working. Just be prepared for a few late nights of debugging!

yo, i feel your pain! ios 9 and drive sdk are like oil and water rn. i had some luck by manually updating header files and using newer api calls. it’s a pain but beats waiting for an official update. try checking github for community patches - saved my butt a few times. good luck!