Add potential go PATH to config build settings
This commit is contained in:
parent
58b1c4b511
commit
0fadf035db
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ class XCodeprojPatcher
|
||||||
config.build_settings['ENABLE_BITCODE'] ||= 'NO' if platform == 'ios'
|
config.build_settings['ENABLE_BITCODE'] ||= 'NO' if platform == 'ios'
|
||||||
config.build_settings['SDKROOT'] = 'iphoneos' if platform == 'ios'
|
config.build_settings['SDKROOT'] = 'iphoneos' if platform == 'ios'
|
||||||
config.build_settings['SWIFT_PRECOMPILE_BRIDGING_HEADER'] = 'NO' if platform == 'ios'
|
config.build_settings['SWIFT_PRECOMPILE_BRIDGING_HEADER'] = 'NO' if platform == 'ios'
|
||||||
|
config.build_settings['PATH'] = '${PATH}:/usr/local/go/bin:/usr/local/bin:/opt/homebrew/bin'
|
||||||
|
|
||||||
groupId = "";
|
groupId = "";
|
||||||
if (platform == 'macos')
|
if (platform == 'macos')
|
||||||
|
|
@ -320,6 +321,7 @@ class XCodeprojPatcher
|
||||||
"-framework",
|
"-framework",
|
||||||
"OpenGLES",
|
"OpenGLES",
|
||||||
]
|
]
|
||||||
|
config.build_settings['PATH'] = '${PATH}:/usr/local/go/bin:/usr/local/bin:/opt/homebrew/bin'
|
||||||
end
|
end
|
||||||
|
|
||||||
groupId = "";
|
groupId = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue