未找到有效的 'development' 个配置文件
No valid 'development' profiles were found
我使用 Visual Studio 2013 和 CTP 3.1。在我将 XCode 更新为 7 之后,当我尝试构建发布时,我不断收到以下错误。建设工程。为什么在构建发布时甚至要求开发配置文件?
MDAVSCLI:代码签名错误:未找到匹配的配置文件:未找到有效的 'development' 配置文件。
我无法弄清楚为什么在 XCode7 中会发生这种情况,但我通过指定身份和配置文件解决了这个问题。
To force a specific signing identity
Create a res\native\ios\cordova folder in your Cordova project.
To override the signing identity or provisioning profile for the Debug configuration, place a custom build-debug.xcconfig file in this folder, or place a build-release.xcconfig file to override the Release configuration.
The base files can be found here on github.
build-release.xcconfig has a sample of the syntax for setting a signing identity.
When creating your own xcconfig file, be sure to include the following at the top of the file:#include "build.xcconfig"
For a complete set of build settings that can be overridden, see Xcode build settings.
我使用 Visual Studio 2013 和 CTP 3.1。在我将 XCode 更新为 7 之后,当我尝试构建发布时,我不断收到以下错误。建设工程。为什么在构建发布时甚至要求开发配置文件?
MDAVSCLI:代码签名错误:未找到匹配的配置文件:未找到有效的 'development' 配置文件。
我无法弄清楚为什么在 XCode7 中会发生这种情况,但我通过指定身份和配置文件解决了这个问题。
To force a specific signing identity
Create a res\native\ios\cordova folder in your Cordova project.
To override the signing identity or provisioning profile for the Debug configuration, place a custom build-debug.xcconfig file in this folder, or place a build-release.xcconfig file to override the Release configuration.
The base files can be found here on github.
build-release.xcconfig has a sample of the syntax for setting a signing identity.
When creating your own xcconfig file, be sure to include the following at the top of the file:#include "build.xcconfig"
For a complete set of build settings that can be overridden, see Xcode build settings.