Closed damienrambout closed 9 years ago
Please merge this pull request ASAP, this is a critical issue when the project integrates an Apple Watch extension.
I am also interested in getting this in, as I am trying to use it in a Today Widget.
Thanks for the contribution :+1:
Hey @toto
Could you please push a new version to Cocoapods?
I see that there are 36 new commits to develop since the latest Cocoapods version and at least two of the issues we have in our project have been fixed with them including this (big annoying) one.
Thanks a lot.
iOS 8 extensions can define the
NX_APP_EXTENSION
macro (in Preprocessor Macros for instance) to avoid compiling unsupported features. In this case,[UIApplication sharedApplication]
cannot be called inside an extension. IfOAuth2Client
is installed using Cocoapods 0.36.X, it won't compile without this change. Compiling an extension is possible ifNX_APP_EXTENSION
is defined (can be done using Podfile'spost_install
block) for theOAuth2Client
target.By the way,
xcconfig
files generated by Cocoapods have been updated for 0.36.1. Same goes for thePodfile.lock
file.Please merge and push a new version to Cocoapods as soon as you can, this issue is really blocking me (and maybe other users as well). Thanks.