To solve this issue, simply edit both Source/*.Target.cs files and add these lines: // fix error: "variable 'LayerNames' set but not used"ĪdditionalCompilerArguments = "-Wno-unused-but-set-variable" Īfter a long time, I needed to build a project on iOS. Step 2: edit the project’s *.target.cs filesĪt this point, building UE projects that have custom C++ code will generate the following error: Material.h:1279:26: error: variable 'LayerNames' set but not used Since its annoying to have to use the previous command every time you want to open this version of Xcode, it is possible to set it as the default version using the script shared on this answer.Finally, you can open Xcode 13.4.1 using the cmd-line by running: open /Applications/Xcode13.4.1.app/Contents/MacOS/Xcode. ![]() Make sure Xcode command line tools points to this older version of Xcode: sudo xcode-select -s /Applications/Xcode13.4.1.app/Contents/Developer/.Next, move it into the Applications folder mv ~/Downloads/Xcode13.4.1.app /Applications.When the extraction process finishes, open the Terminal and cd to your Downloads folder and rename Xcode.app to Xcode13.4.1.app cd ~/Downloads.Once downloaded, go to your Downloads folder and double-click Xcode_13.4.1.xip to extract it to Xcode.app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |