Skip to content

Commit 0285bcd

Browse files
committed
iOS: fix build and deploy
1 parent c5df362 commit 0285bcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/VLCUnity/Editor/VLCNativePluginProcessor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)