When I am running ionic run ios --device
the build is failing, It was working fine few days ago and now I am getting this error, How to solve it, I have searched the solution but none worked for me.
Below is the error
=== 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
I have tried un-installing and reinstalling IOS, cordova and ionic, nothing helped
Here is my config:
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
I found the solution,
Actually the problem was with Xcode not ionic, I found the solution here
Open your .xcodeproj
file with xcode.
You can find it here: project_directory/platform/ios/project_name.xcodeproj
Then select the root file in the project tree on the left.
Now in the Signing
section make sure Automatically manage signing
was checked. As a last step you can select a team.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With