1、windows、mac安装证书
2、安装xcode
sudo xcode-select --switch /Applications/Xcode10.1.app -- 路径可以拖入 sudo gem install xcodeproj
3、错误处理
Setting up Mono Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe ZBGame IOS Development -SkipRulesCompile -XmlConfigCache=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Intermediate/Build/XmlConfigCache.bin -remoteini=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client -Project=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/ZBGame.uproject -skipdeploy -Log=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Programs/AutomationTool/Saved/Logs/UBT-ZBGame-IOS-Development_Remote.txt -Manifest=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/Manifest.xml -CreateStub -NoUBTMakefiles -ImportProvision=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/dev_zb1.mobileprovision -ImportCertificate=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/Certificate.p12 -ImportCertificatePassword=A *** EMSCRIPTEN_ROOT directory NOT FOUND: /Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.38.20 *** NODE_JS NOT FOUND: /Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Extras/ThirdPartyNotUE/emsdk/Mac/node/8.9.1_64bit/bin/node *** LLVMROOT directory NOT FOUND: /Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Extras/ThirdPartyNotUE/emsdk/Mac/clang/e1.38.20_64bit ZBGame IOS Development -SkipRulesCompile -XmlConfigCache=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Intermediate/Build/XmlConfigCache.bin -remoteini=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client -Project=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/ZBGame.uproject -skipdeploy -Log=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Engine/Engine/Programs/AutomationTool/Saved/Logs/UBT-ZBGame-IOS-Development_Remote.txt -Manifest=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/Manifest.xml -CreateStub -NoUBTMakefiles -ImportProvision=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/dev_zb1.mobileprovision -ImportCertificate=/Users/jb-mac/UE4/Builds/DESKTOP-H8OVF9H/E/PWMGame/3DS2Game/Branches/3DS2Inland190918Final/Client/Intermediate/Remote/ZBGame/IOS/Development/Certificate.p12 -ImportCertificatePassword=A Triggered an exception while looking for SDK directory in Xcode.app System.IO.DirectoryNotFoundException: Could not find a part of the path '/Applications/xcode10.1.app/Contents/Developer/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 <ce47cf5825fd4d26bbf096f28ea5583c>:0 ERROR: Invalid SDK MacOSX.sdk, not found in /Applications/xcode10.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs [Remote] Downloading E:\PWMGame\3DS2Game\Branches\3DS2Inland190918Final\Engine\Engine\Programs\AutomationTool\Saved\Logs\UBT-ZBGame-IOS-Development_Remote.txt Total execution time: 808.22 seconds
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· [AI/GPT/综述] AI Agent的设计模式综述
2014-09-24 APK扩展文件及使用
2014-09-24 是否吞噬触摸点需要控制两个地方
2014-09-24 切取图片的一部分(利用CCRenderTexture)
2014-09-24 Unable to execute dex: Multiple dex files define 解决方法