Application exits after launching in ios device in xamarin

I am trying to debug a xamarin app in ios device.but, after lunch it exits successfully and the debugger is disconnected.

Output window message:

Launching "FormBot.iOS" on "Testsoft iPhone" ... Application was interrupted.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">

    <dict>
    <key>UIDeviceFamily</key>
    <array>
        <integer>1</integer>
        <integer>2</integer>
    </array>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIAppFonts</key>
    <array>
        <string>Fonts/proximanovalight.ttf</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>MinimumOSVersion</key>
    <string>6.0</string>
    <key>CFBundleDisplayName</key>
    <string>GreenBot</string>
    <key>CFBundleIdentifier</key>
    <string>com.tatvasoft.allxamarin</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>CFBundleIconFiles</key>
    <array>
        <string>Icon-72@2x.png</string>
        <string>Icon-72.png</string>
        <string>Icon@2x.png</string>
        <string>Icon.png</string>
        <string>Icon-60@2x.png</string>
        <string>Icon-76.png</string>
        <string>Icon-76@2x.png</string>
        <string>Default.png</string>
        <string>Default@2x.png</string>
        <string>Default-568h@2x.png</string>
        <string>Default-Landscape.png</string>
        <string>Default-Landscape@2x.png</string>
        <string>Default-Portrait.png</string>
        <string>Default-Portrait@2x.png</string>
        <string>Icon-Small-50@2x.png</string>
        <string>Icon-Small-50.png</string>
        <string>Icon-Small-40.png</string>
        <string>Icon-Small-40@2x.png</string>
        <string>Icon-Small.png</string>
        <string>Icon-Small@2x.png</string>
    </array>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string></string>
    <key>CFBundleShortVersionString</key>
    <string>1.3</string>
    <key>UIRequiresFullScreen</key>
    <string>YES</string>
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>
    <key>NSCameraUsageDescription</key>
    <string>This app needs access to the camera to take photos.</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>This app needs access to photos.</string>
</dict>
</plist>

      

Please, help. Thanks in advance.

+3


source to share


2 answers


unexpectedly, but it helped me. there are so many tricks in xamarin to help us solve some strange error without any logic.

in this case, I manually opened the app by clicking on the app icon generated during build, launches the app and also hit the breakpoints.



I think visual studio deploys the app here successfully but has problems opening. Just like lunch, if we manually open the app .it works fine.

it might help someone else. Thanks to

+1


source


There can be several things. First of all, Build -> Clean All -> Restart Xamarin Studio (or VS).



If it isn't, it might be a profiling issue. Make sure you create a development profile.

0


source







All Articles