question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when running Mac build

See original GitHub issue

Just installed MAUI following the instructions for MacOS, cloned the repo, executed the docker command and tried to run locally the mac app.

Error when running dotnet build src/Mobile/Microsoft.NetConf2021.Maui.csproj -t:run -f net6.0-maccatalyst

Microsoft(R) Build Engine versão 17.1.0+ae57d105c para .NET
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

  Determinando os projetos a serem restaurados...
  Todos os projetos estão atualizados para restauração.
  Podcast.Components -> /Users/afucher/Projects/dotnet-podcasts/src/Web/Components/bin/Debug/net6.0/Podcast.Components.dll
  Detected signing identity:

    Bundle Id: com.Microsoft.NetConf2021.Maui
    App Id: com.Microsoft.NetConf2021.Maui
Properties/launchSettings.json : error : The path '../../../../../../../../../Users/afucher/Projects/dotnet-podcasts/src/Mobile/Properties/launchSettings.json' would result in a file outside of the app bundle and cannot be used. [/Users/afucher/Projects/dotnet-podcasts/src/Mobile/Microsoft.NetConf2021.Maui.csproj]
Properties/launchSettings.json : error :          [/Users/afucher/Projects/dotnet-podcasts/src/Mobile/Microsoft.NetConf2021.Maui.csproj]

FALHA da compilação.

Properties/launchSettings.json : error : The path '../../../../../../../../../Users/afucher/Projects/dotnet-podcasts/src/Mobile/Properties/launchSettings.json' would result in a file outside of the app bundle and cannot be used. [/Users/afucher/Projects/dotnet-podcasts/src/Mobile/Microsoft.NetConf2021.Maui.csproj]
Properties/launchSettings.json : error :          [/Users/afucher/Projects/dotnet-podcasts/src/Mobile/Microsoft.NetConf2021.Maui.csproj]
    0 Aviso(s)
    1 Erro(s)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesmontemagnocommented, Apr 13, 2022

WE are still doing work on iOS/Mac so work in progress there.

1reaction
afuchercommented, Apr 13, 2022

Thanks @jamesmontemagno , with 6.0.3worked. There are some errors running the application itself, but I’ll take a look.

Thanks again

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
Error on MAC build
I have done a mac build (on my macbook) and encountered this error when trying to play the built game.
Read more >
How to solve the error, while running "docker build" on ...
1 Answer 1 ... Check if this file exists known_hosts in your codebase, maybe this file is ignored by .gitignore or .dockerignore your...
Read more >
Question - Error when building for iOS on Mac OS
First, make a blank project with a single blank scene and prove that it builds successfully. If it does NOT build, then go...
Read more >
Mac OSX - Error when creating build on MAC
I'm receiving following error when I'm creating a build on MAC for MAC but also ANDROID.. Note that this issue started happening after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found