App crashes on physical device but works in simulator

-- -- 841 Reputation points


App works in iPhone simulator from Visual Studio on mac. App also runs on local physical device from Visual Studio for pc (after using this hack However app crashes on physical device at start-up when deployed via Test Flight. Logs from both the physical device and test flight attached.

Any help would be appreciated.





A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,866 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,411 Reputation points Microsoft Vendor


    As -- -- said, your issue has been resolved

    "If a static resource is not declared but is used then it does not given error at design time or in debug mode on both iPhone simulator or on physical device. However, in release from TestFlight it crashes app. Best way seems to be to use a third party error logger to quickly catch such errors at runtime in release."

    (Refer to this issue- Missing StaticResource should throw exception also in Debug #15602)

    Best Regards,

    Wenyan Zhang

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful