Since updating to Xcode 8.2/iOS SDK 10.2, I seem to be having problems building. The console is stating:
=== BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===
Signing for "MyApp" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
- ARCHIVE FAILED **
The following build commands failed:
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/development/src/MyApp/Current/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyApp.xcworkspace,-scheme,MyApp,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,MyApp.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/development/src/MyApp/Current/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/development/src/MyApp/Current/platforms/ios/build/sharedpch
One way to fix it is to open the Xcode project, and disable "Automatic Code Signing". But not the perfect solution. This was not a problem in previous versions of Xcode, including Xcode 8.1.