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

osx
fastlane
xcode
circle.yml
xcodebuild

#1

Hello guys,

Anyone has faced below error while archieving?

:x: Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’
** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)
[15:03:03]: Exit status: 65
[15:03:03]: :clipboard: For a more detailed error log, check the full log at:
[15:03:03]: :clipboard: /Users/distiller/Library/Logs/gym/MyCompany-MyApp.log

[!] Error building the application - see the log above

gym --scheme “MyApp” --workspace “MyApp.xcworkspace” returned exit code 1

Action failed: gym --scheme “MyApp” --workspace “MyApp.xcworkspace”


#2

I’m seeing this as well.


#3

Hey,

This issue can be resolved by disabling “Automatic code signing” in your Xcode projects General settings and setting code signing certificates explicitly for your apps Debug and Release targets in the Build settings tab.

Thanks again to @qthenu for sharing this with us!

Constantin


#4

I have done the manual signing but still getting the same error.
One more thing, I have only one repo where is two folders for iOS and android, and in the root forlder I have the circle-yml file, not in the iOS folder where are all the xcode workspace are located, is that the reason for code signing failing?


#5