Bug 237994 - configure-xcode-for-embedded-development fails with Xcode 13.3
Summary: configure-xcode-for-embedded-development fails with Xcode 13.3
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-16 17:47 PDT by Ryan Haddad
Modified: 2022-03-17 17:19 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2022-03-16 17:47:51 PDT
Seeing the following when attempting to run Tools/Scripts/configure-xcode-for-embedded-development on macOS 12.3 with Xcode 13.3 installed

Traceback (most recent call last):
  File "Tools/Scripts/configure-xcode-for-embedded-development", line 361, in <module>
    main()
  File "Tools/Scripts/configure-xcode-for-embedded-development", line 351, in main
    update_xcspec_files()
  File "Tools/Scripts/configure-xcode-for-embedded-development", line 277, in update_xcspec_files
    raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), path)
NameError: name 'path' is not defined
Comment 1 Ryan Haddad 2022-03-16 17:49:47 PDT
Replacing path with dest_spec_path, I see the following:

FileNotFoundError: [Errno 2] No such file or directory: PosixPath('/Applications/Xcode.app/Contents/Developer/../PlugIns/IDEiOSSupportCore.ideplugin/Contents/Resources/Embedded-Shared.xcspec')
Comment 2 Radar WebKit Bug Importer 2022-03-17 15:18:31 PDT
<rdar://problem/90455614>
Comment 3 Jonathan Bedard 2022-03-17 15:23:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/208
Comment 4 Jonathan Bedard 2022-03-17 17:19:14 PDT
Landed https://commits.webkit.org/248576@main (r291454)!