iOS Hybrid App crashes on TestFlight

Answered
0
0

Hi,

We are posted our app to TestFlight to test camera functionality. Any time we try to access any method or properties on the Device object in the hybrid website .. e.g: Device.Valid the iOS app crashes. I have included a very stripped example projects of both the client  and website.

This works on the iOS simulator and Android when posted to google play.

Any help of suggestions would be appreciated!

Thanks,
HAL.

 

 

 

  • You must to post comments
Best Answer
0
0

Hi Harold,

we just uploaded a new 3.5 variation of our showcase app to TestFlight and it runs ok. The source code is here:

https://github.com/iceteagroup/wisej-hybrid-examples/blob/3.5/Showcase/App/HybridApp.csproj

We use this in our pipeline for building / archiving it:

dotnet publish “repo/Showcase/App/HybridApp.csproj” \
-f net9.0-ios \
-c Release \
-p:CodesignKey=”…” \
-p:CodesignProvision=… \
-p:ApplicationDisplayVersion=”1.3.5″ \
-p:ApplicationVersion=”41″ \
-p:ArchiveOnBuild=true \
-p:Optimize=false \
–output ./publish/ios
The TestFlight link is here:
I can try setting up your test project in a deployment environment, but it will take a little bit of time.
Thanks,
Levie
  • Harold Lindsay
    Hi Levie, Thank you! The sample app’s project file helped and after some adjustments our test app now runs without crashing. Thanks again for all your help. Best, HAL.
  • You must to post comments
0
0

Hi Harold,

Glad to hear it’s working on Google Play!

Can you try adding this to iOS?

<PropertyGroup Condition=”‘$(TargetFramework)’==’net9.0-ios'”>
<MtouchInterpreter>-all,Humanizer</MtouchInterpreter>
</PropertyGroup>

All optimizations and linking/trimming should be disabled.

You can also compare your configuration to our sample app that we deploy:

wisej-hybrid-examples/Showcase/App/HybridApp.csproj at 4.0 · iceteagroup/wisej-hybrid-examples

 

HTH,

Levie

  • Harold Lindsay
    Hi Levie, Thanks getting back so quickly.. much appreciated. I forgot to mention that we are still on 3.5.23. Tried the PropertyGroup section you recommended.. but it still crashes. ;(
  • Levie (ITG)
    Hi Harold, Can you try removing 26.0 from net9.0-ios, not sure if targeting that version is creating the issues. Does it crash if you run a release build from Visual Studio? Can you try adding a “-” in front of “all” in MtouchInterpreter?
  • Harold Lindsay
    Hi Levie, Removing 26.0 from net9.0-ios. Crashes the app immediately on launch with no user interface displayed at all. The ‘-‘ in front of the ‘all’ was already in place.
  • Levie (ITG)
    Hi Harold, I’m testing this internally and will get back to you soon with a solution. Thanks, Levie
  • Harold Lindsay
    Hi Levie, is there any update for this? Were you able to reproduce the problem? Thanks again, HAL.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.