Skip to content

Instantly share code, notes, and snippets.

@erichoracek
erichoracek / swiftui-ios-16-17.diff
Last active June 6, 2023 17:31
SwiftUI.swiftinterface iOS 16 to 17 differences
diff --git a/arm64-apple-ios-16.swiftinterface b/arm64-apple-ios-17.swiftinterface
index 1bb8cf2..70f9402 100644
--- a/arm64-apple-ios-16.swiftinterface
+++ b/arm64-apple-ios-17.swiftinterface
@@ -1,24 +1,27 @@
// swift-interface-format-version: 1.0
-// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.117.59 clang-1403.0.22.8.50)
-// swift-module-flags: -target arm64-apple-ios16.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -library-level api -module-name SwiftUI
-// swift-module-flags-ignorable: -enable-bare-slash-regex -user-module-version 4.4.36.1.101
+// swift-compiler-version: Apple Swift version 5.9 (swiftlang-5.9.0.111.24 clang-1500.0.21.3)
@erichoracek
erichoracek / script.sh
Created July 5, 2016 05:24
Copy Products to Carthage/Build/iOS
build_dir="$SRCROOT/Carthage/Build"
# Only copy when the Carthage/Build directory is a symlink
if ! [ -L "$build_dir" ]; then exit 0; fi
rsync --delete -av "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME"* "$build_dir/iOS"
// Taken from the commercial iOS PDF framework http://pspdfkit.com.
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved.
// Licensed under MIT (http://opensource.org/licenses/MIT)
//
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it.
#if DEBUG
@import Foundation;
@import UIKit;