【发布时间】:2019-08-20 21:11:13
【问题描述】:
我有一个用于 xamarin 表单应用程序的 azure-devops 构建管道。当它设置为 release|iphone 失败并出现以下错误:/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(646,3): error : Could not find任何适用于 iOS 的配置文件。
构建具有有效的 Apple 企业证书和配置文件,在运行发布构建之前设置为任务(并且成功)。相同的构建在我的本地机器以及 App Center 上成功编译。当我将构建设置为 iPhoneSimulator 时,构建也会在管道中成功编译。
证书和配置文件在安全库中。
对下一步有什么建议吗?
iOS项目文件sn-p:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARM64</MtouchArch>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<CodesignExtraArgs />
<CodesignResourceRules />
<IpaPackageDir>$(OutputPath</IpaPackageDir>
<IpaIncludeArtwork>true</IpaIncludeArtwork>
<IpaMetadata>iTunesMetadata.plist</IpaMetadata>
<IpaPackageName>CiteGuide</IpaPackageName>
<MtouchEnableSGenConc>false</MtouchEnableSGenConc>
<BuildIpa>true</BuildIpa>
</PropertyGroup>
【问题讨论】:
标签: ios azure xamarin build azure-devops