export brewHome=/opt/homebrew export PATH=$PATH:$brewHome/bin:$brewHome/opt/svn/bin |
Svn checkout [svn地址] [保存目录] |
Running bundled mono, version: Mono JIT compiler version 5.16.0.220 (2018-06/bb3ae37d71a Fri Nov 16 17:12:11 EST 2018) 2023-02-22 19:27:48.968 defaults[10652:108162] The domain/default pair of (com.epicgames.ue4, MonoAOT) does not exist Triggered an exception while looking for SDK directory in Xcode.app System.IO.DirectoryNotFoundException: Could not find a part of the path '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs'. at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000f7] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () [0x00054] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) [0x000d6] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00009] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00000] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.Directory.InternalGetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in <98fac219bd4e453693d76fda7bd96ab0>:0 at System.IO.Directory.GetDirectories (System.String path) [0x0000e] in <98fac219bd4e453693d76fda7bd96ab0>:0 at UnrealBuildTool.AppleToolChainSettings.SelectSDK (System.String BaseSDKDir, System.String OSPrefix, System.String& PlatformSDKVersion, System.Boolean bVerbose) [0x00018] in <5e468606cc944616a3935494a9a68c85>:0 ERROR: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs |
sudo mkdir -p /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs //将正确的的文件路径链接到如上目录下 sudo ln -s /Applications/Xcode.app/contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk MacOSX.sdk sudo ln -s /Applications/Xcode.app/contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk MacOSX10.14.sdk |
ERROR: Failed to start local process for action ("ApplicationName='/Users/lv/Unreal/Tools/UE4/Engine/Build/BatchFiles/Mac/RunMono.sh', CommandLine='"/Users/lv/Unreal/Tools/UE4/Engine/Binaries/DotNET/IOS/IPhonePackager.exe" signing_match Engine -bundlename com.YourCompany.UE4Game', CurrentDirectory='/Users/lv/Unreal/Tools/UE4/Engine', Native error= Access denied"): /Users/lv/Unreal/Tools/UE4/Engine/Build/BatchFiles/Mac/RunMono.sh "/Users/lv/Unreal/Tools/UE4/Engine/Binaries/DotNET/IOS/IPhonePackager.exe" signing_match Engine -bundlename com.YourCompany.UE4Game |
Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). |
if (CompileEnvironment.bEnableUndefinedIdentifierWarnings) { Result += " -Wundef" + (CompileEnvironment.bUndefinedIdentifierWarningsAsErrors ? "" : " -Wno-error=undef"); } //copy from ue5.1.1 if (GetClangVersion() >= new Version(13, 0, 0)) { Result += " -Wno-unused-but-set-variable"; Result += " -Wno-unused-but-set-parameter"; Result += " -Wno-ordered-compare-function-pointers"; } if (GetClangVersion() >= new Version(14, 0, 0)) { Result += " -Wno-bitwise-instead-of-logical"; } Result += " -c"; |
if (CompileEnvironment.bEnableUndefinedIdentifierWarnings) { Result += " -Wundef" + (CompileEnvironment.bUndefinedIdentifierWarningsAsErrors ? "" : " -Wno-error=undef"); } Result += " -Wno-unused-but-set-variable"; Result += " -Wno-unused-but-set-parameter"; Result += " -Wno-ordered-compare-function-pointers"; Result += " -Wno-bitwise-instead-of-logical"; Result += " -c"; |
Some Platforms were skipped due to invalid SDK setup: Mac, IOS, Android, TVOS. See the log file for detailed information /Library/Developer/CommandLineTools Generating data for project indexing... Exception while generating include data for UnrealEditor: Platform Mac is not a valid platform to build. Check that the SDK is installed properly. Exception while generating include data for BaseTextureBuildWorker: Platform Mac is not a valid platform to build. Check that the SDK is installed properly. |