Fastlane代码签名所需的错误
问题描述:
我想使用Fastlane和CircleCI来帮助自动部署到iOS App Store。我不断收到一个错误,说Code signing is required for product type 'App Extension' in SDK 'iOS 10.3'
。我尝试过使用Fastlane Match,但这似乎并没有帮助。下面是我的Fastfile
的重要部分。Fastlane代码签名所需的错误
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
为了建立Fastlane匹配,我运行了以下命令。
fastlane match init
fastlane match nuke distribution
fastlane match appstore
我在安装配置文件之前还会收到以下消息。
[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://*.com/q/35390072/774.
(Check in Keychain Access for an expired WWDR certificate: https://*.com/a/35409835/774 has more info.)
问题是堆栈溢出与推送服务有关。我的应用程序目前不使用推送通知。此外,我无法真正检查Keychain Access,因为它使用的是Circle CI。
答
尝试运行匹配以以下的参数
match(type: "appstore", app_identifier: "your.app.identifier", force: true, force_for_new_devices: true)
app_identifier
是您为您的项目标识。 这将为appstore
类型的app_identifier
生成新配置文件。
答
从xcode8(它曾经工作的地方)迁移到xcode9时,我遇到了同样的问题。
取消选中自动管理签约下目标我所有的框架(POD)的解决方案。
现在测试。将完成报告。 –
同样的问题。 'SDK'iOS 10.3'' –
中的产品类型'应用程序扩展'需要代码签名哦,您在项目中有应用程序扩展? –