2017-05-23 6 views
3

iosデバイスでxamarinアプリケーションをデバッグしようとしていますが、ランチが正常に終了してデバッガが切り離された後です。出力ウィンドウにxamarinのiosデバイスで起動した後でアプリケーションが終了する

メッセージがある: 'TestsoftのiPhone' オン 'FormBot.iOS' を起動

... アプリが終了しました。

<?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>[email protected]</string> 
     <string>Icon-72.png</string> 
     <string>[email protected]</string> 
     <string>Icon.png</string> 
     <string>[email protected]</string> 
     <string>Icon-76.png</string> 
     <string>[email protected]</string> 
     <string>Default.png</string> 
     <string>[email protected]</string> 
     <string>[email protected]</string> 
     <string>Default-Landscape.png</string> 
     <string>[email protected]</string> 
     <string>Default-Portrait.png</string> 
     <string>[email protected]</string> 
     <string>[email protected]</string> 
     <string>Icon-Small-50.png</string> 
     <string>Icon-Small-40.png</string> 
     <string>[email protected]</string> 
     <string>Icon-Small.png</string> 
     <string>[email protected]</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> 

助けてください。事前におねがいします。

+0

あなたのアプリは何をしていますか?いくつかのコードを表示できますか?スタックトレースに何も表示されませんか? – apineda

+0

アプリは、シミュレータでうまくいきます。アンドロイドデバイスも同様です。コードに問題はありません。プロジェクト全体で、コードの一部を共有する必要がありますか? –

+0

これは、iOS 10のアクセス許可要件に関する許可の問題のようです。あなたのアプリは、カメラ、場所、写真、またはユーザーの許可が必要なものを使用していますか? – apineda

答えて

1

これは私を助けました。 xamarinにはロジックがなくても奇妙なエラーを解決するのに役立つたくさんのトリックがあります。

この場合は、ビルド時に生成されたアプリアイコンをクリックして手動でアプリを起動し、アプリを起動して、ブレークポイントにも衝突します。

私は、Visual Studioが正常にここにアプリをデプロイすると思いますが、私たちの完璧な実行します.IT手動でオープンアプリ..

これは他のいくつかのいずれかを助けるかもしれない場合、それはそれとして、ランチ.soはオープンで問題を抱えて。 ありがとう

0

これはいくつかの可能性があります。まず最初に、ビルド - >すべてクリーン - > Xamarin Studio(またはVS)を再起動します。

これで解決できない場合は、おそらくプロビジョニングプロファイルの問題です。開発プロファイルを使用して構築していることを確認してください。

関連する問題