Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

GitHub ActionsでiOSビルドが失敗する #1046

Open
keiji opened this issue Jun 18, 2022 · 3 comments · May be fixed by #1059
Open

GitHub ActionsでiOSビルドが失敗する #1046

keiji opened this issue Jun 18, 2022 · 3 comments · May be fixed by #1059

Comments

@keiji
Copy link
Collaborator

keiji commented Jun 18, 2022

不具合の内容 / Describe the bug

https://github.com/cocoa-mhlw/cocoa/actions/runs/2514644820

  /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package Prism.DryIoc.Extensions. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
  /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package TimeZoneConverter. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
  /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package Newtonsoft.Json. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
    0 Warning(s)
    31 Error(s)
Time Elapsed 00:00:04.53
Error: Process completed with exit code 1.

NuGetのリストア時に失敗している。

再現手順 / Steps to reproduce

GitHub ActionsでiOSビルドを実行する

期待される挙動 / Expected behavior

GitHub ActionsでiOSビルドが完了する

その他 / Additional context

runs-onに指定しているmacos-latestのイメージに更新があったのが原因の様子。すでにIssueもある( actions/runner-images#5768 )ので近日中に対応されることを期待したい。

ワークアラウンドとしてNugetConfigに直接nuget.orgを登録する方法があるので一応Pull Request #1045 をしておきます。

@keiji keiji added the in progress 現在対応中、または対応準備を開始しているもの label Jun 18, 2022
@keiji keiji removed the in progress 現在対応中、または対応準備を開始しているもの label Jun 24, 2022
@keiji
Copy link
Collaborator Author

keiji commented Jun 24, 2022

macos-latestの方は復活してないけど、cocoaの方は問題なくなったのでcloseします。

@keiji
Copy link
Collaborator Author

keiji commented Jun 24, 2022

Azure Pipelineの方で不具合があったので、別の方法に切り替え中です。

#1045 (comment)

@keiji keiji reopened this Jun 24, 2022
@keiji
Copy link
Collaborator Author

keiji commented Jun 25, 2022

なんかvirtual-environmentsのIssue見ると治ったみたいなのでworkaround消してみる

@keiji keiji linked a pull request Jun 25, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant