A fix for debugging shared precompiled binaries from Carthage.
error: Couldn't IRGen expression, no additional error
./build.sh --platform ios MyCoolFramework
| #!/bin/sh | |
| export PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
| xcodePath="/Applications/Xcode.app" | |
| if [ ! -e "$xcodePath" ]; then | |
| echo "no app at $xcodePath, exiting..." | |
| exit 1 | |
| fi |
| // | |
| // LayoutThatFits.swift | |
| // WWDC22Experiments | |
| // | |
| // Created by Ryan Lintott on 2022-06-08. | |
| // | |
| import SwiftUI | |
| struct LayoutThatFits: Layout { |
| // dm Klopapier Widget | |
| // | |
| // Copyright (C) 2020 by marco79 <[email protected]> | |
| // | |
| // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
| // | |
| // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL | |
| // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | |
| // INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER | |
| // IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: red; icon-glyph: briefcase-medical; | |
| // Licence: Robert Koch-Institut (RKI), dl-de/by-2-0 | |
| // Alte version siehe: https://gist.github.com/rphl/0491c5f9cb345bf831248732374c4ef5/revisions | |
| WIDGET WURDE IN EIN REPO VERSCHOBEN, SIEHE: | |
| https://github.com/rphl/corona-widget |
| // | |
| // CAMediaTimingFunction.swift | |
| import UIKit | |
| extension CAMediaTimingFunction { | |
| static let linear = CAMediaTimingFunction(name: .linear) | |
| static let easeOut = CAMediaTimingFunction(name: .easeOut) |
| notify: | |
| if: always() | |
| name: Notify | |
| needs: | |
| - job1 | |
| - job2 | |
| - job11 | |
| - job3 | |
| - job4 | |
| runs-on: ubuntu-latest |
| // This takes an array of images (from getFigmaImageIds) and exports them to S3. | |
| const exportImagesFromFigma = async ({figmaImages, figmaExportScale = 1}) => { | |
| const figmaFileId = await getSecretConfiguration('figma_file_id') | |
| const figmaApiKey = await getSecretConfiguration('figma_api_key') | |
| const exportedImages = [] | |
| const imageIdsToExport = figmaImages.map(image => image.imageId) |
| extension ColorContext { | |
| @available(iOS 13.0, *) | |
| init(_ traitCollection: UITraitCollection, | |
| defaultMode: Mode = .light, | |
| defaultElevation: Elevation = .base, | |
| defaultAccessibilityContrast: AccessibilityContrast = .normal) { | |
| mode = { | |
| switch traitCollection.userInterfaceStyle { | |
| case .light: return .light | |
| case .dark: return .dark |