Make Xcode identifiers in generated project files be the same after each run.
From the AppleScript that composes the Xcode projects call a Python script that bases the identifiers on an associated name instead of being random each run like Xcode does. After the Python script reopen the project again in Xcode to have the identifiers sorted (Xcode wants them to be), resulting in the project.pbxproj file being completely different inside but in the IDE the order of files still will be the same. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,6 +184,14 @@ on populateProject(theProject)
|
||||
tell application "Xcode"
|
||||
quit
|
||||
end tell
|
||||
do shell script (osxBuildFolder as text) & "fix_xcode_ids.py \"" & (POSIX path of projectFile as Unicode text) & "\""
|
||||
-- reopen again to let Xcode sort identifiers
|
||||
tell application "Xcode"
|
||||
open projectFile
|
||||
end tell
|
||||
tell application "Xcode"
|
||||
quit
|
||||
end tell
|
||||
end populateProject
|
||||
|
||||
on makeProject(theProject)
|
||||
|
Reference in New Issue
Block a user