|
338 | 338 | E2653D271A5B3298006A9871 /* Copy Frameworks */, |
339 | 339 | E21DCAF21B2538FB006424E8 /* Copy Tool */, |
340 | 340 | 1D7D03E724528390002C1736 /* ShellScript */, |
| 341 | + 1DE5583E2B9D89BF006BA332 /* Xcode 15 Framework Patching */, |
341 | 342 | ); |
342 | 343 | buildRules = ( |
343 | 344 | ); |
|
456 | 457 | shellPath = /bin/sh; |
457 | 458 | shellScript = "# Code sign sparkle app\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n# By default, use the configured code signing identity for the project/target\nIDENTITY=\"${EXPANDED_CODE_SIGN_IDENTITY}\"\nif [ \"$IDENTITY\" == \"\" ]\nthen\n # If a code signing identity is not specified, use ad hoc signing\n IDENTITY=\"-\"\nfi\ncodesign --verbose --force --deep -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate.app\"\ncodesign --verbose --force -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\n"; |
458 | 459 | }; |
| 460 | + 1DE5583E2B9D89BF006BA332 /* Xcode 15 Framework Patching */ = { |
| 461 | + isa = PBXShellScriptBuildPhase; |
| 462 | + buildActionMask = 8; |
| 463 | + files = ( |
| 464 | + ); |
| 465 | + inputFileListPaths = ( |
| 466 | + ); |
| 467 | + inputPaths = ( |
| 468 | + ); |
| 469 | + name = "Xcode 15 Framework Patching"; |
| 470 | + outputFileListPaths = ( |
| 471 | + ); |
| 472 | + outputPaths = ( |
| 473 | + ); |
| 474 | + runOnlyForDeploymentPostprocessing = 1; |
| 475 | + shellPath = /bin/sh; |
| 476 | + shellScript = "# Information derived from https://stackoverflow.com/questions/77397157/mapbox-xcframework-ios-signature-couldn-t-be-copied-to-signatures-because-an-i\nif [ \"$XCODE_VERSION_MAJOR\" = \"1500\" ]; then\n echo \"Remove signature files (Xcode 15 workaround)\"\n find \"$BUILD_DIR/${CONFIGURATION}/libssl.xcframework-macos.signature\" -name \"*.signature\" -type f | xargs -r rm\n find \"$BUILD_DIR/${CONFIGURATION}/libcrypto.xcframework-macos.signature\" -name \"*.signature\" -type f | xargs -r rm\n find \"$BUILD_DIR/${CONFIGURATION}/libssh2.xcframework-macos.signature\" -name \"*.signature\" -type f | xargs -r rm\nfi\n"; |
| 477 | + }; |
459 | 478 | /* End PBXShellScriptBuildPhase section */ |
460 | 479 |
|
461 | 480 | /* Begin PBXSourcesBuildPhase section */ |
|
630 | 649 | BUNDLE_VERSION = 0; |
631 | 650 | BUNDLE_VERSION_STRING = 1.1; |
632 | 651 | CODE_SIGN_ENTITLEMENTS = Application/GitUp.entitlements; |
| 652 | + "DEVELOPMENT_TEAM[sdk=macosx*]" = ""; |
633 | 653 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/Third-Party"; |
634 | 654 | INFOPLIST_FILE = Application/Info.plist; |
635 | 655 | LD_RUNPATH_SEARCH_PATHS = ( |
|
649 | 669 | BUNDLE_VERSION = 0; |
650 | 670 | BUNDLE_VERSION_STRING = 1.1; |
651 | 671 | CODE_SIGN_ENTITLEMENTS = Application/GitUp.entitlements; |
| 672 | + "DEVELOPMENT_TEAM[sdk=macosx*]" = ""; |
652 | 673 | FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/Third-Party"; |
653 | 674 | INFOPLIST_FILE = Application/Info.plist; |
654 | 675 | LD_RUNPATH_SEARCH_PATHS = ( |
|
0 commit comments