Revision: 27352
          http://sourceforge.net/p/bibdesk/svn/27352
Author:   hofman
Date:     2022-04-04 14:09:40 +0000 (Mon, 04 Apr 2022)
Log Message:
-----------
add -destination argument to xcodebuild command to silence warning for xcode 13

Modified Paths:
--------------
    trunk/bibdesk/build_release.py

Modified: trunk/bibdesk/build_release.py
===================================================================
--- trunk/bibdesk/build_release.py      2022-04-04 09:06:30 UTC (rev 27351)
+++ trunk/bibdesk/build_release.py      2022-04-04 14:09:40 UTC (rev 27352)
@@ -157,7 +157,7 @@
 def clean_and_build():
     
     # clean and rebuild the Xcode project
-    buildCmd = ["/usr/bin/xcodebuild", "clean", "-configuration", "Release", 
"-target", "BibDesk", "-scheme", "BibDesk", "-derivedDataPath", 
DERIVED_DATA_DIR, "SYMROOT=" + SYMROOT]
+    buildCmd = ["/usr/bin/xcodebuild", "clean", "-configuration", "Release", 
"-target", "BibDesk", "-scheme", "BibDesk", "-destination", 
"generic/platform=macOS", "-derivedDataPath", DERIVED_DATA_DIR, "SYMROOT=" + 
SYMROOT]
     nullDevice = open("/dev/null", "w")
     x = Popen(buildCmd, cwd=SOURCE_DIR)
     print(" ".join(buildCmd))
@@ -164,7 +164,7 @@
     rc = x.wait()
     print("xcodebuild clean exited with status %s" % (rc))
 
-    buildCmd = ["/usr/bin/xcodebuild", "-configuration", "Release", "-target", 
"BibDesk", "-scheme", "BibDesk", "-derivedDataPath", DERIVED_DATA_DIR, 
"SYMROOT=" + SYMROOT, "CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO"]
+    buildCmd = ["/usr/bin/xcodebuild", "-configuration", "Release", "-target", 
"BibDesk", "-scheme", "BibDesk", "-destination", "generic/platform=macOS", 
"-derivedDataPath", DERIVED_DATA_DIR, "SYMROOT=" + SYMROOT, 
"CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO"]
     print(" ".join(buildCmd))
     nullDevice = open("/dev/null", "w")
     x = Popen(buildCmd, cwd=SOURCE_DIR)#, stdout=nullDevice, stderr=nullDevice)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to