diff --git a/Assets/Editor/Package.cs b/Assets/Editor/Package.cs index 72f2bacfa..dbec20c45 100644 --- a/Assets/Editor/Package.cs +++ b/Assets/Editor/Package.cs @@ -114,7 +114,7 @@ public class Package { // 编辑plist 文件 EditorPlist(Path.GetFullPath(pathToBuiltProject)); - CopyDirectory(Application.dataPath + "../BFVersions/ios/ios_common", Path.GetFullPath(pathToBuiltProject), true); + CopyDirectory(Path.Combine(Application.dataPath, "../", "BFVersions/ios/ios_common"), Path.GetFullPath(pathToBuiltProject), true); } static void CopyDirectory(string sourceDir, string destinationDir, bool recursive) {