当前位置 : 主页 > 手机开发 > cordova >

cordova – Ionic ** Build Failed ** SDK’iOS 10.1’中的产品类型’Application’需要代码签

来源:互联网 收集:自由互联 发布时间:2021-06-10
当我运行离子运行ios – 设备 构建失败了,几天前工作正常,现在我收到了这个错误,如何解决它,我搜索了解决方案,但没有一个对我有用. 以下是错误 === BUILD TARGET SoftApp OF PROJECT SoftApp WI
当我运行离子运行ios – 设备
 构建失败了,几天前工作正常,现在我收到了这个错误,如何解决它,我搜索了解决方案,但没有一个对我有用.

以下是错误

=== BUILD TARGET SoftApp OF PROJECT SoftApp WITH CONFIGURATION Debug ===


Check dependencies

Signing for "SoftApp" requires a development team. Select a development team in the project editor.

Code signing is required for product type 'Application' in SDK 'iOS 10.1'



** BUILD FAILED **



The following build commands failed:
        Check dependencies
(1 failure)

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/amitabhs/Projects/SoftApp/SoftAppcc/Mobile/SoftAppIonic_cc/platforms/ios/cordova/build-debug.xcconfig,-project,SoftApp.xcodeproj,ARCHS=armv7 arm64,-target,SoftApp,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/amitabhs/Projects/SoftApp/SoftAppcc/Mobile/SoftAppIonic_cc/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/amitabhs/Projects/SoftApp/SoftAppcc/Mobile/SoftAppIonic_cc/platforms/ios/build/sharedpch

我试过卸载并重新安装IOS,cordova和离子,没有任何帮助

这是我的配置:

Your system information:

Cordova CLI: 6.3.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: 1.8.6 
ios-sim version: 5.0.8 
OS: Mac OS X El Capitan
Node Version: v4.5.0
Xcode version: Xcode 8.1 Build version 8B62
我找到了解决方案,

实际上问题是Xcode不是离子的,
我找到了解决方案here

网友评论