xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

[Bug] Storyboard files not opening from Xcode or from Visual Studio #14930

Open GECFDISD opened 2 years ago

GECFDISD commented 2 years ago

Description

Steps to Reproduce

  1. Create a Xamarin app
  2. Open storyboard

Expected Behavior

Open the storyboard in Xcode

Actual Behavior

Xcode can't find open file, Did not find files to open at path. (/Users/xxxxx/Projects/EsignApp/EsignApp.iOS/obj/Xcode/0/Resources/LaunchScreen.storyboard)

VS can't communicate with Xcode if Xcode is still running, please ensure that all changes have been saved and Xcode has been exited before continuing, otherwise any new changes may be lost.### Basic Information Automation permission is ok for both apps, as well as permission DB was reset,

Environment

Show/Hide Visual Studio info ``` === Visual Studio Community 2019 for Mac === Version 8.10.14 (build 17) Installation UUID: c2ff8cb6-2d85-4fae-bf0e-d127318b5a7c GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638) Package version: 612000140 === Mono Framework MDK === Runtime: Mono 6.12.0.140 (2020-02/51d876a041e) (64-bit) Package version: 612000140 === Roslyn (Language Service) === 3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb === NuGet === Version: 5.9.0.7134 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/5.0.403/Sdks SDK Versions: 5.0.403 5.0.301 5.0.102 3.1.415 3.1.410 3.1.405 MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 5.0.12 5.0.7 5.0.2 3.1.21 3.1.16 3.1.11 === .NET Core 3.1 SDK === SDK: 3.1.415 === Xamarin.Profiler === Version: 1.6.13.11 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Apple Developer Tools === Xcode 13.1 (19466) Build 13A1030d === Xamarin.Mac === Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version. === Xamarin.Android === Version: 12.0.0.3 (Visual Studio Community) Commit: xamarin-android/d16-11/f0e3c2d Android SDK: /Users/r.morales/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 8.1 (API level 27) SDK Tools Version: 26.1.1 SDK Platform Tools Version: 31.0.3 SDK Build Tools Version: 31.0.0 Build Information: Mono: c633fe9 Java.Interop: xamarin/java.interop/d16-11@476bb5b ProGuard: Guardsquare/proguard/v7.0.1@912d149 SQLite: xamarin/sqlite/3.35.4@85460d3 Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-11@87af37b === Eclipse Temurin JDK === Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL === Android SDK Manager === Version: 16.10.0.13 Hash: 1b81df5 Branch: remotes/origin/d16-10 Build date: 2021-11-12 01:17:32 UTC === Android Device Manager === Version: 16.10.0.15 Hash: 89dcc0b Branch: remotes/origin/d16-10 Build date: 2021-11-12 01:17:52 UTC === Xamarin.iOS === Version: 15.2.0.17 (Visual Studio Community) Hash: 738fde344 Branch: xcode13.1 Build date: 2021-11-09 02:45:16-0500 === Xamarin Designer === Version: 16.11.0.39 Hash: cd672761d Branch: remotes/origin/d16-11 Build date: 2021-10-06 21:09:18 UTC === Build Information === Release ID: 810140017 Git revision: 6f93cf55df3b7747288286e2006057c7f088b838 Build date: 2021-11-12 09:50:18-05 Build branch: release-8.10 === Operating System === Mac OS X 11.6.1 Darwin 20.6.0 Darwin Kernel Version 20.6.0 Tue Oct 12 18:33:42 PDT 2021 root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64 ```

Build Logs

Screenshots

Did not find files to open at path. (/Users/r.morales/Projects/EsignApp/EsignApp.iOS/obj/Xcode/0/Resources/LaunchScreen.storyboard)

Reproduction Link

Workaround

bcaceiro commented 2 years ago

I've faced the samue issue with a new Xamarin.Forms project.

The workaround was getting an old launcshcreen file, and copy to a new project.