question

sphauck avatar image
1 Vote"
sphauck asked RobCaplan edited

Xamarin.Forms iOS storyboard not working, XCode is terrible .... bounty offered !

Start with a simple Xamarin.Forms Shell app.
I try to edit the storyboard with the XCode interface builder
I get this error:
96346-xcodestoryboardfail.png



I am trying to simply replace the stock placeholder images with my own ....
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=macos

But they deprecated the VS storyboard editor and never provided documentation on how to do it in XCode
I reported that and it was promptly closed as a Visual Studio issue .. they never addressed the lack of documentation.
https://github.com/MicrosoftDocs/xamarin-docs/issues/3300#issuecomment-832089687

I don't want to simply rename my graphic files and swap them ... what if I want to add text or something later ?

I use Xamarin because I hate XCode .... Microsoft is on a MAUI deathmarch and too busy to address these issues or actually have a solution BEFORE they deprecate a feature.

I will Venmo or PayPal someone who is will to create an easy to follow document on how to do this even though Microsoft deprecated features with no actual working alternative.

dotnet-xamarin
· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

There are 6 people following this thread and no upvotes ... please upvote if you have this issue or want the answer as well ...

0 Votes 0 ·

I test it in vs for mac 8.9 and Xcode 12.5, it is worked, this issue is related to ide, for ide issue, you can report this issue in the VS directly.

0 Votes 0 ·

I am using VS Mac 8.9.9 build 3 and XCode 12.5 (12E262) I am running on an M1 Mac

You keep blaming these issues on other groups and nobody is addressing these issues.

I will even pay a Microsoft employee to resolve these issues with the tools and documentation.

Anyone ?

@JamesMontemagno
@davidortinau
@MaddyLeger


0 Votes 0 ·

Nope .. I just tested on an Intel MBP and the same result ....

@JamesMontemagno
@davidortinau
@MaddyLeger

0 Votes 0 ·

I am running VS MAc 8.9.9 (build 3) and XCode 12.5 (12E262) on both Intel and M1 platforms where it fails

0 Votes 0 ·

I open a documentation issue and it's labeled a VS issue and closed
I report the VS issue and nothing so I reported it again today ...

eventually I will either be banned for simply trying to use the software and expecting it to work or someone will take notice and assign some resources to work on these critical issues .....

0 Votes 0 ·

Anyone ?
I mean .. there is a default layout using the Xamarin images "somewhere" ????

0 Votes 0 ·

See my answer they are in the asset catalog.

0 Votes 0 ·

1 Answer

JamesMontemagno-7652 avatar image
0 Votes"
JamesMontemagno-7652 answered JamesMontemagno-7652 commented

If you see this error in Xcode, you will see a solution/project on the left hand side. Simply navigate over to that storyboard and open it up and it will sync up.

· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That's correct it does ... then what ...
The Xamarin images in the project don't seem to be referenced in the storyboard anywhere ...
Where / how do I associate my images so they become the splash images used ?
I searched the entire project in XCode for "xamarin_logo.png" and get zero hits

0 Votes 0 ·

The default templates use asset catalogs. So the image that is referencing in the storyboard is "Icon-60.png"

let's say you add an image into your iOS Resources folder -> https://github.com/jamesmontemagno/app-ac-islandtracker/blob/master/TurnipTracker.iOS/Resources/ic_splash_logo.png

Then it will show up in the xcode project over there to select and for you to move around in the storyboard

https://github.com/jamesmontemagno/app-ac-islandtracker/blob/master/TurnipTracker.iOS/Resources/LaunchScreen.storyboard#L21

0 Votes 0 ·
sphauck avatar image sphauck JamesMontemagno-7652 ·

Why aren't the Xamarin defaults showing in the editor when it comes up ?

0 Votes 0 ·
sphauck avatar image sphauck JamesMontemagno-7652 ·

I was looking to use the Xamamrin placeholders and simply swap out my images but they don't show in the editor

0 Votes 0 ·
Show more comments