You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed an update of some pod, but the pod itself is unrelated to the problem.
What did you expect to happen?
Nothing despite this one pod being updated.
What happened instead?
All pods got the build setting APPLICATION_EXTENSION_API_ONLY enabled for iOS, even those that are never used anywhere else but within the main application.
I cannot show you the full Podfile as that would give away tons of cooperate internals. But I can show you stripped down parts to demonstrate the problem:
DEPLOYMENT_TARGET_IOS='15'DEPLOYMENT_TARGET_MACOS='10.13'ENV["COCOAPODS_DISABLE_STATS"]="true"source"https://cdn.cocoapods.org/"# =============================================================================# Common FrameworksdefrudderPodpod'Rudder'end# =============================================================================# Applicationtarget'Application macOS'doplatform:osx,DEPLOYMENT_TARGET_MACOS# ...rudderPodenddefiOSAppPods# ...rudderPodendtarget'Application iOS'doplatform:ios,DEPLOYMENT_TARGET_IOSiOSAppPodsend
The Rudder pod is not used anywhere else in the entire Podfile. It's only embedded into two targets, that are both applications. There is absolutely no reason to have APPLICATION_EXTENSION_API_ONLY enabled for pods integrated into applications.
We have APPLICATION_EXTENSION_API_ONLY globally enabled, as most targets in fact do need it but applications don't, they both have it disabled and Rudder is not integrated into anything other than that.
Yet the Rudder config file for iOS has APPLICATION_EXTENSION_API_ONLY = YES as the very first entry. Note that config file for macOS has not! And yes, the iOS app does have two app extensions but those are not using Rudder, Rudder is not embedded into them.
And this is a problem, as Rudder is accessing API that is not considered to be safe in extensions and that is totally okay as it isn't used in any extension. And Rudder is here only an example, as APPLICATION_EXTENSION_API_ONLY has been used for all Pods being used by the iOS app. Some of those are used in an extension, so that would be okay but others are not.
The text was updated successfully, but these errors were encountered:
Report
What did you do?
I installed an update of some pod, but the pod itself is unrelated to the problem.
What did you expect to happen?
Nothing despite this one pod being updated.
What happened instead?
All pods got the build setting
APPLICATION_EXTENSION_API_ONLY
enabled for iOS, even those that are never used anywhere else but within the main application.CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
I cannot show you the full Podfile as that would give away tons of cooperate internals. But I can show you stripped down parts to demonstrate the problem:
The Rudder pod is not used anywhere else in the entire Podfile. It's only embedded into two targets, that are both applications. There is absolutely no reason to have
APPLICATION_EXTENSION_API_ONLY
enabled for pods integrated into applications.We have
APPLICATION_EXTENSION_API_ONLY
globally enabled, as most targets in fact do need it but applications don't, they both have it disabled and Rudder is not integrated into anything other than that.Yet the Rudder config file for iOS has
APPLICATION_EXTENSION_API_ONLY = YES
as the very first entry. Note that config file for macOS has not! And yes, the iOS app does have two app extensions but those are not using Rudder, Rudder is not embedded into them.And this is a problem, as Rudder is accessing API that is not considered to be safe in extensions and that is totally okay as it isn't used in any extension. And Rudder is here only an example, as
APPLICATION_EXTENSION_API_ONLY
has been used for all Pods being used by the iOS app. Some of those are used in an extension, so that would be okay but others are not.The text was updated successfully, but these errors were encountered: