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.
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.