Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

How do I remove plugin for iOS builds only

$
0
0
Hi, I'm using the GameCircle plugin for android builds, but will not be using it for iOS. I've already put all my code that uses any GameCircle stuff in a "#if UNITY_ANDROID" block, and that works fine at run time. However, it is still trying to link against the plugin even though I am not using it (which is causing me grief during submission because it uses an IDFA and I'm not showing any ads...) Anyway, if I delete all the GameCircle files in the /Plugins folder, it compiles without any refs to GameCircle. I've tried only deleting the GameCircle files in /Plugins/iOS, but the xcode build still tries to link against the plugin. I am obviously not understanding how the /Plugins directory is supposed to work. Is there any way to ensure that certain plugins are only referenced if they are being used in that platform? Thanks P.S. I have the same linking problem in iOS with the Google Play Games Services plugin, though it does not affect my submission so I haven't tried doing anything about it yet.

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>