Skip to content

Commit

Permalink
Cherrypick patch from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Benedict committed Apr 8, 2023
1 parent 28a7f4f commit fa2170c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/Scripts/configure-xcode-for-embedded-development
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ideplugin = 'XCBSpecifications' if tuple(int(n) for n in xcode_version.split('.'

XCSPEC_INFO = [dict(
id='com.apple.product-type.tool',
dest=f'../PlugIns/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec',
dest=f'Library/Xcode/Plug-ins/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec' if tuple(int(n) for n in xcode_version.split('.')) >= (14, 3) else f'../PlugIns/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec',
content='''
// Tool (normal Unix command-line executable)
{ Type = ProductType;
Expand Down Expand Up @@ -118,7 +118,7 @@ XCSPEC_INFO = [dict(
''',
), dict(
id='com.apple.package-type.mach-o-executable',
dest=f'../PlugIns/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec',
dest=f'Library/Xcode/Plug-ins/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec' if tuple(int(n) for n in xcode_version.split('.')) >= (14, 3) else f'../PlugIns/{ideplugin}.ideplugin/Contents/Resources/Embedded-Shared.xcspec',
content='''
{ Type = PackageType;
Identifier = com.apple.package-type.mach-o-executable;
Expand Down

0 comments on commit fa2170c

Please sign in to comment.