Last active
July 25, 2021 12:09
-
-
Save nickludlam/a7f11abf096158a93740a3d45464278a to your computer and use it in GitHub Desktop.
Fix Metal API validation in an auto-generated XCode project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'xcodeproj' # Requires https://github.com/CocoaPods/Xcodeproj | |
scheme = Xcodeproj::XCScheme.new("Unity-iPhone.xcodeproj/xcshareddata/xcschemes/Unity-iPhone.xcscheme") | |
scheme.launch_action.xml_element.attributes['enableGPUValidationMode'] = "1" | |
scheme.save! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment