Cordova iOS设备构建失败。找不到匹配的配置文件

时间:2016-08-05 17:54:47

标签: cordova xcode7 ios-provisioning ios9.3

当我尝试“cordova run ios --device --verbose”时,我在终端中赢得了一个漂亮的错误代码。虽然app在模拟器中加载得很好。 Xcode表示构建成功。但是,应用程序无法在设备上打开,虽然xcode图标确实出现在带有应用程序名称的设备上,但它会打开一个空白屏幕,左边是“编辑按钮”,中间是“主人”,“添加按钮” “ 在右边。 Xcode还发出警告:“供应配置文件”iOS Team Provisioning Profile:com.Jigari.PayPad“即将到期”并且对Jigari.PayPadUITests表示相同“。如果有人对如何让这个应用程序加载有任何想法非常感谢PS:最近创建了条款配置文件。我之前能够将另一个应用程序,一个流星应用程序加载到设备上,但这个只是cordova。 以下是版本和屏幕截图。 版本: Xcode 7.1 科尔多瓦6.3 iOS 9

Check dependencies
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.phonegap.helloworld” were found.

** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/georgeakinian/projects/paypad/platforms/ios/cordova/build-debug.xcconfig,-project,Lucio.xcodeproj,ARCHS=armv7 arm64,-target,Lucio,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/georgeakinian/projects/paypad/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/georgeakinian/projects/paypad/platforms/ios/build/sharedpch

![enter image description here

enter image description here

enter image description here

enter image description here

任何想法都表示赞赏。

1 个答案:

答案 0 :(得分:2)

捆绑包标识符与文件夹结构中config.xml文件中的App Id不一致。确保代码中的Id与捆绑标识符和配置文件以及xcode中的ID相同。

相关问题