#iOS device display problem

32 messages · Page 1 of 1 (latest)

opal mirage
#

When running a tauri-mobile app on iOS simulator works fine but then on the real device it displays blank, this is even so for the biolerplate tauri mobile app. Maybe there is some configuration from device side or it might be a bug? Seems like others have the problem as well.

opal mirage
#

Running this on ios 16.4 on an iphone 12 pro running cargo tauri ios dev from Mac M1 terminal. Again to reporoduce the code it is the boilerplate that comes with cargo mobile init

pseudo vault
#

Hi I've started testing the same thing as you today. I'll send some info if I'd get it to work

#

This is my first time testing on IPhone and so far I've successfully tested swift app on IOS 17 beta 3

#

However, using XCode beta is causing some problems for tauri CLI so I might switch back to stable and test it on SE with IOS 16

#
error: Failed to build via `xcodebuild`
    command ["xcodebuild"] exited with code 65

this is output for IOS 17 cargo mobile apple run

opal mirage
#

Hey, my xcode version is 14.3.1, did you have to do any configurations to your physical ios device?

pseudo vault
#

Still, I have issues with signing app for physical devices

#

Besides cert is valid

#

Using the same XCode version

#

@opal mirage it's working!

#

Solved problem with signing and blank screen

#

Blank screen appears to be only when you don't have access to a developer server (over the same network) to your macbook

#

Hot reload works fine too, had to reopen app

pseudo vault
#

And as expected after closing dev console app goes blank

pseudo vault
#

Tried to load a production version too but it's blank without running the dev server

#

It's likely because I've used WebView version, I'll try with wry or egui to check out

opal mirage
#

Okay okay I'll try, really appreciated 🙏

#

Where does it prompt you on mac or on ios device?

#

okay so it prompted me on ios device, I guess it has before but I always clicked allow, still blank maybe I'm missing something from mac side.

pseudo vault
#

Can you provide console output?

opal mirage
#

yes will do

#

I can the taps on the phone being recognised

#

just no ui

#

one sec

opal mirage
#

Okay solved the frontend of the boilerplate code its showing

#

thanks for all your help @pseudo vault

pseudo vault
#

nice, I've got inspired and I am writing a dev.to article now as well as tauri mobile template for apple ecosystem

opal mirage
#

That's great