Xamarin error code 34018

后端 未结 3 1654
离开以前
离开以前 2021-01-14 09:31

I\'ve been dealing with this issue when I run my app via debug on simulator, as soon as I upgraded to the latest Xcode 8.0 and OS version 10.11.6. Error below:

Appli

3条回答
  •  执笔经年
    2021-01-14 10:12

    From Brendan Zagaeski's comment in https://bugzilla.xamarin.com/show_bug.cgi?id=44361#c3

    In further study of the workaround, I found that it was not in fact necessary to enable "Keychain Access Groups" in the Entitlements.plist file. It was sufficient just to add any Entitlements.plist file (even one with no property keys).

    Workaround in Xamarin Studio on Mac

    1. Add an "iOS > Property List" to the project and name it "Entitlements.plist".

    2. Add the "Entitlements.plist" file under "Project Options > Build > iOS Bundle Signing > Custom Entitlements".

    (Be sure to follow step 5 for the "iPhoneSimulator" configuration, and not just the "iPhone" configuration.)

    1. Save the project properties and re-deploy the app to the simulator.

    Workaround in Visual Studio

    1. Add a new "Apple > Misc > Entitlements.plist" file to the top level of the project.

    2. Add the "Entitlements.plist" file under "Project properties > iOS Bundle Signing > Custom Entitlements".

    (Be sure to follow step 2 for the "iPhoneSimulator" configuration, and not just the "iPhone" configuration.)

    1. Save the project properties and re-deploy the app to the simulator.

    (The original text from the link mentioned a Xamarin VS file selector bug that has since been fixed)

提交回复
热议问题