Maui iOS & BLE Issue #1147
Replies: 5 comments 6 replies
-
Please ensure you are running the latest version of the template as it is being updated often. I just ran a test with the latest version and iOS, Android, & maccatalyst all work fine with BLE. If you are still facing the issue, please file a bug report for the template here: https://github.com/shinyorg/templates Also note, Shiny for MAUI (v3) is alpha. We aren't taking issues for it directly right now |
Beta Was this translation helpful? Give feedback.
-
Its been tried with automatic and manual provisioning, even created new profiles fresh. The template generated projects will deploy fine. The exception is projects with todays updated templates as the projects wont even build.
On 1 December 2022 19:55:52 GMT, Allan Ritchie ***@***.***> wrote:
I just tried Sample.Maui on my device. It is deploying and scan stuff is working fine.
> ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.QHK7rS/extracted/Sample.Maui.app : 0xe8008014 (The executable contains an invalid signature.)
This is caused because you're missing provisioning for either your device, the appid, or some combination. You can use automatic provisioning and it will create the necessary provisioning if you have setup your apple account on visual studio
--
Reply to this email directly or view it on GitHub:
#1147 (reply in thread)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Beta Was this translation helpful? Give feedback.
-
We would certainly contribute to the great work but i must prove to my leaders that ble works on androud and ios. All the issues are iOS.
Can you tell me what version of xcode you use and mac version.
I just feel there is something simple that needs adjusting somewhere.
All i have done is get shiny from github and build it. We build maui apps all the time so are used to the environment.
Our Visual Studio is on Windows 11
A trick is being missed somewhere
On 1 December 2022 19:26:04 GMT, Allan Ritchie ***@***.***> wrote:
BLE is working fine for me right now using the latest templates. I've run a scan without issues. The templates often take time to restore nuget packages. You can try restarting VS as well. Perhaps your VS setup is missing some components...? I have no idea because both vs4mac & vs4win are working with this configuration right now on my machines.
Sample.Maui is mainly to show off code and used by me for testing. I haven't worked with it much in the past few weeks so it may be broken because again... it is alpha, not a stable release.
> If the templates produce projects based on v3 but you are not taking issues on v3 yet
Templates either work or they don't. They produce a consistent product that I can at least see what might be missing. I went over the template setup with this configuration and everything looks correct. The templates are marked as alpha as well, because Shiny v3 is alpha.
> how do I proceed ?
You can wait until I send a stable release, contribute, etc. It's OSS. Do what works for you. However, I don't see an issue on this end specifically for what you've shown.
--
Reply to this email directly or view it on GitHub:
#1147 (reply in thread)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Beta Was this translation helpful? Give feedback.
-
I think you misunderstand me. I certainly do not treat this as technical support. I am spending a lot of time trying to get it to work, it doesnt on iOS so some form of help is needed. I am trying hard to adopt your efforts. We would love to pay for this solutiion but, it must work out of the box and not require huge effort to get things working.
Your machine enviromnent may contain crucial artifacts that may not exist on someone elses machine, this is a very common issue. To say 'it works on my machine' is the sign that it has not been tested in a new and clean installation.
I too are using the latest versions of VS and XCODE, on Windows 11.
The exception is when I call the scan function from a button click just the same as in the sample code. The exception is a non user friendly crash, a native memory dump is produced etc. I can capture images of this and send to you. Same project code for Android does not crash and i receive a scan response with ble devices in a list of peripherals. The crash occurs in debug and release compliations.
Hope this helps a little more.
On 1 December 2022 20:10:06 GMT, Allan Ritchie ***@***.***> wrote:
Please don't treat this like technical support. This isn't a paid product.
I'm telling you that the error with Sample.Maui within the Shiny repo that you linked in your first comment is from a provisioning problem. That is fact - the build message says so. I have a labelled appId in called org.shiny.samples which means your profile has to match that. There is nothing more I can do to help you there.
The template also isn't giving me any errors or build time exceptions. What is the exception you are getting?
I am always using the latest version of visual studio and xcode
--
Reply to this email directly or view it on GitHub:
#1147 (reply in thread)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Beta Was this translation helpful? Give feedback.
-
Clarification, xcode on a mac brick, vs on windows 11 on pc.
On 1 December 2022 22:35:06 GMT, Derek ***@***.***> wrote:
I think you misunderstand me. I certainly do not treat this as technical support. I am spending a lot of time trying to get it to work, it doesnt on iOS so some form of help is needed. I am trying hard to adopt your efforts. We would love to pay for this solutiion but, it must work out of the box and not require huge effort to get things working.
Your machine enviromnent may contain crucial artifacts that may not exist on someone elses machine, this is a very common issue. To say 'it works on my machine' is the sign that it has not been tested in a new and clean installation.
I too are using the latest versions of VS and XCODE, on Windows 11.
The exception is when I call the scan function from a button click just the same as in the sample code. The exception is a non user friendly crash, a native memory dump is produced etc. I can capture images of this and send to you. Same project code for Android does not crash and i receive a scan response with ble devices in a list of peripherals. The crash occurs in debug and release compliations.
Hope this helps a little more.
On 1 December 2022 20:10:06 GMT, Allan Ritchie ***@***.***> wrote:
>Please don't treat this like technical support. This isn't a paid product.
>
>I'm telling you that the error with Sample.Maui within the Shiny repo that you linked in your first comment is from a provisioning problem. That is fact - the build message says so. I have a labelled appId in called org.shiny.samples which means your profile has to match that. There is nothing more I can do to help you there.
>
>The template also isn't giving me any errors or build time exceptions. What is the exception you are getting?
>
>I am always using the latest version of visual studio and xcode
>
>--
>Reply to this email directly or view it on GitHub:
>#1147 (reply in thread)
>You are receiving this because you authored the thread.
>
>Message ID: ***@***.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Beta Was this translation helpful? Give feedback.
-
We are trying to adopt Shiny as a way forward with mobile apps. I have built the Sample.Maui app and it ran ok on Android but I cannot deploy it on iOS, the error in Visual Studio is: -
ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.QHK7rS/extracted/Sample.Maui.app : 0xe8008014 (The executable contains an invalid signature.)
If I build a Maui app from your template with BLE Client ticked then I am able to deploy on Android and iOS. What can be the difference between Sample.Maui and your generated project deployment?
I really need to test Sample.Maui on iOS (BLE CLient) because of the following reason: -
I generate a Maui project from your Visual Studio template with BLE Client ticked. I then add just a small piece of code for BLE scanning to prove I can see devices. This builds and runs fine on Android but on iOS the Scan function causes a fatal crash (native error it seems).
We use Visual Studio 2022 Version 17.4.1
Beta Was this translation helpful? Give feedback.
All reactions