File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ public class VLCNativePluginProcessor :
3232#endif
3333 {
3434 public int callbackOrder { get { return 0 ; } }
35+ const string IOS_PATH = "VLCUnity/Plugins/iOS/" ;
3536
3637#if UNITY_SUPPORTS_BUILD_REPORT
3738 public void OnPreprocessBuild ( BuildReport report )
@@ -146,7 +147,7 @@ internal static void OnPostprocessBuildiPhone(string path)
146147 PluginImporter [ ] importers = PluginImporter . GetAllImporters ( ) ;
147148 foreach ( PluginImporter pi in importers )
148149 {
149- if ( ! pi . isNativePlugin || ! pi . assetPath . Contains ( IOS_PATH ) || pi . assetPath . Contains ( IOS_LOADPLUGIN_SOURCE ) )
150+ if ( ! pi . isNativePlugin || ! pi . assetPath . Contains ( IOS_PATH ) || pi . assetPath . Contains ( "LoadPlugin.mm" ) )
150151 {
151152 continue ;
152153 }
You can’t perform that action at this time.
0 commit comments