Revision: 12822
          http://sourceforge.net/p/skim-app/code/12822
Author:   hofman
Date:     2022-04-04 14:10:12 +0000 (Mon, 04 Apr 2022)
Log Message:
-----------
add -destination argument to xcodebuild command to silence warning for xcode 13

Modified Paths:
--------------
    trunk/build_skim.py

Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2022-04-04 09:06:53 UTC (rev 12821)
+++ trunk/build_skim.py 2022-04-04 14:10:12 UTC (rev 12822)
@@ -152,13 +152,13 @@
 def clean_and_build():
     
     # clean and rebuild the Xcode project
-    buildCmd = ["/usr/bin/xcodebuild", "clean", "-configuration", "Release", 
"-target", "Skim", "-scheme", "Skim", "-derivedDataPath", DERIVED_DATA_DIR, 
"SYMROOT=" + SYMROOT]
+    buildCmd = ["/usr/bin/xcodebuild", "clean", "-configuration", "Release", 
"-target", "Skim", "-scheme", "Skim", "-destination", "generic/platform=macOS", 
"-derivedDataPath", DERIVED_DATA_DIR, "SYMROOT=" + SYMROOT]
     print(" ".join(buildCmd))
     x = Popen(buildCmd, cwd=SOURCE_DIR)
     rc = x.wait()
     print("xcodebuild clean exited with status %s" % (rc))
 
-    buildCmd = ["/usr/bin/xcodebuild", "-configuration", "Release", "-target", 
"Skim", "-scheme", "Skim", "-derivedDataPath", DERIVED_DATA_DIR, "SYMROOT=" + 
SYMROOT, "CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO"]
+    buildCmd = ["/usr/bin/xcodebuild", "-configuration", "Release", "-target", 
"Skim", "-scheme", "Skim", "-destination", "generic/platform=macOS", 
"-derivedDataPath", DERIVED_DATA_DIR, "SYMROOT=" + SYMROOT, 
"CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO"]
     print(" ".join(buildCmd))
     x = Popen(buildCmd, cwd=SOURCE_DIR)
     rc = x.wait()

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to