I have a Xamarin iOS application that can work fine on my device when I launch the application in the Debug configuration. Now I created a new configuration called "Staging" and duplicated entitlements.plist and entitlements.plist as info-Staging.plist and entitlements-Staging.plist and would like to use them when debugging in the "Staging" configuration. The only difference between the two is a different identifier (com.blah.blah). I edited .csproj like this:
<ItemGroup> <None Include="packages.config" /> <None Include="Entitlements.plist" Condition="'$(Configuration)' != 'Staging'" /> <None Include="Info.plist" Condition="'$(Configuration)' != 'Staging'" /> <None Include="Info-Staging.plist" Condition="'$(Configuration)' == 'Staging'"> <LogicalName>Info.plist</LogicalName> </None> <None Include="Entitlements-Staging.plist" Condition="'$(Configuration)' == 'Staging'"> <LogicalName>Entitlements.plist</LogicalName> </None> </ItemGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Staging|AnyCPU' "> <Optimize>false</Optimize> <OutputPath>bin\Staging</OutputPath> <DefineConstants></DefineConstants> <WarningLevel>4</WarningLevel> <CodesignKey>iPhone Developer</CodesignKey> <CodesignEntitlements>Entitlements-Staging.plist</CodesignEntitlements> <MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> <MtouchLink>SdkOnly</MtouchLink> <MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler> <AssemblyName>MyApp.iOS</AssemblyName> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineConstants>DEBUG;ENABLE_TEST_CLOUD;</DefineConstants> <ErrorReport>prompt</ErrorReport> <ConsolePause>false</ConsolePause> <DeviceSpecificBuild>true</DeviceSpecificBuild> <MtouchDebug>true</MtouchDebug> <MtouchFastDev>true</MtouchFastDev> <MtouchFloat32>true</MtouchFloat32> <MtouchArch>ARMv7, ARM64</MtouchArch> <MtouchTlsProvider>Default</MtouchTlsProvider> <PlatformTarget>x86</PlatformTarget> </PropertyGroup>
But when I try to create an application on my device, I get this message:
error MT1108: Could not find developer tools for this 10.2.1 (14D27) device. Please ensure you are using a compatible Xcode version and then connect this device to Xcode to install the development support files.
source share