Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastlane Code signing required error

I'm trying to use Fastlane and CircleCI to help automate deployments to the iOS App Store. I keep getting an error that says Code signing is required for product type 'App Extension' in SDK 'iOS 10.3'. I've tried using Fastlane Match but that doesn't really seem to help. The important part of my Fastfile is below.

desc "Deploy a new version to the App Store"
lane :release do
  match(type: "appstore")
  gym(scheme: "myapp", workspace: "myapp.xcworkspace", include_bitcode: true, export_method: "app-store") # Build your app - more options available
  deliver(force: true)
end

In order to setup Fastlane Match I ran the following commands.

fastlane match init
fastlane match nuke distribution
fastlane match appstore

I also get the following message right before it installs the provisioning profile.

[11:40:08]: There are no local code signing identities found.
You can run `security find-identity -v -p codesigning` to get this output.
This Stack Overflow thread has more information: https://stackoverflow.com/q/35390072/774.
(Check in Keychain Access for an expired WWDR certificate: https://stackoverflow.com/a/35409835/774 has more info.)

Problem is that Stack Overflow relates to Push Services. My app doesn't use push notifications currently. Also I can't really check Keychain Access since it's using Circle CI.

like image 818
Charlie Fish Avatar asked Mar 08 '23 15:03

Charlie Fish


2 Answers

I was able to solve this by unchecking Automatically manage signing for all targets and setting the provisioning profiles for each. I followed this question that provided that information.

like image 65
Charlie Fish Avatar answered Mar 19 '23 20:03

Charlie Fish


Try running match with the following arguments

match(type: "appstore", app_identifier: "your.app.identifier", force: true, force_for_new_devices: true)

app_identifier being your identifier for your project. This will generate a new profile for that app_identifier of type appstore.

like image 31
Harry Singh Avatar answered Mar 19 '23 20:03

Harry Singh