rohsaurus / Cerberus

Cerberus is an application that allows you to seamlessly and easily encrypt files and share them without the need for a password!
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Fix MacOS Github Actions Build Script #22

Closed rohsaurus closed 7 months ago

rohsaurus commented 1 year ago

Error Log for build step of github action


##[debug]Evaluating condition for step: 'Build artifacts'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Build artifacts
##[debug]Loading inputs
##[debug]Loading env
Run flutter build macos --release
##[debug]/bin/bash -e /Users/runner/work/_temp/e3[2](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:2)c89d8-2747-496e-ba21-22897df4ae0f.sh

💪 Building with sound null safety 💪

Updating minimum macOS deployment target to 10.14.
Upgrading project.pbxproj
Upgrading Podfile
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Removing script build phase dependency analysis.
Running pod install...                                              [3](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:3).1s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Fetching external sources
    -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
    -> Fetching podspec for `dargon2_flutter_desktop` from `Flutter/ephemeral/.symlinks/plugins/dargon2_flutter_desktop/macos`
    -> Fetching podspec for `fast_rsa` from `Flutter/ephemeral/.symlinks/plugins/fast_rsa/macos`
    -> Fetching podspec for `macos_window_utils` from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`
    -> Fetching podspec for `path_provider_foundation` from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/macos`

    Resolving dependencies of `Podfile`

    Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
      CDN: trunk Relative path downloaded: CocoaPods-version.yml, save ETag: "63f6f1d3-38"
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
      CDN: trunk Relative path downloaded: all_pods_versions_5_f_7.txt, save ETag: W/"63f6f30d-a3b"
      CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/5/f/7/Argon2Swift/1.0.0/Argon2Swift.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/5/f/7/Argon2Swift/1.0.0/Argon2Swift.podspec.json
      CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/5/f/7/Argon2Swift/1.0.2/Argon2Swift.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/5/f/7/Argon2Swift/1.0.2/Argon2Swift.podspec.json
      CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/5/f/7/Argon2Swift/1.0.1/Argon2Swift.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/5/f/7/Argon2Swift/1.0.1/Argon2Swift.podspec.json
      CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/5/f/7/Argon2Swift/1.0.3/Argon2Swift.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/5/f/7/Argon2Swift/1.0.3/Argon2Swift.podspec.json
      CDN: trunk Relative path downloaded: Specs/5/f/7/Argon2Swift/1.0.0/Argon2Swift.podspec.json, save ETag: W/"60[4](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:4)-Jt00AShuiPBhX+plFhXrUk4TaEY"
      CDN: trunk Relative path downloaded: Specs/[5](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:5)/f/7/Argon2Swift/1.0.1/Argon2Swift.podspec.json, save ETag: W/"880-[6](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:6)5ozOxjfkIJNWlUVdfAe38zfu2I"
      CDN: trunk Relative path downloaded: Specs/5/f/[7](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:7)/Argon2Swift/1.0.2/Argon2Swift.podspec.json, save ETag: W/"[8](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:8)80-NwyWh4dbSiNl7LfeBupeoMRudQQ"
      CDN: trunk Relative path downloaded: Specs/5/f/7/Argon2Swift/1.0.3/Argon2Swift.podspec.json, save ETag: W/"880-mUgsG4EioDUkth5BxJA6lUjnwzs"
      CDN: trunk Relative path: Specs/5/f/7/Argon2Swift/1.0.3/Argon2Swift.podspec.json modified during this run! Returning local
    [!] CocoaPods could not find compatible versions for pod "macos_window_utils":
      In Podfile:
        macos_window_utils (from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`)

    Specs satisfying the `macos_window_utils (from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`)` dependency were found, but they required a higher minimum deployment target.

    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:2[9](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:9)9:in `block in unwind_for_conflict'
    <internal:kernel>:90:in `tap'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in `attempt_to_activate'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
    /usr/local/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:4[16](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:17):in `analyze'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:[24](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:25)1:in `block in resolve_dependencies'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
    /usr/local/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
    /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
    /usr/local/lib/ruby/gems/3.0.0/bin/pod:[25](https://github.com/rohsaurus/Cerberus/actions/runs/4249525794/jobs/7389848436#step:8:26):in `load'
    /usr/local/lib/ruby/gems/3.0.0/bin/pod:25:in `<main>'

Error running pod install
Error: Process completed with exit code 1.
##[debug]Finishing: Build artifacts```