我有xcode项目,其中有多个目标。我尝试使用fastlane部署所有目标以进行存储,但是在上载时出现错误。错误类似:Bundle id is invalid
,但两个捆绑包都存在于应用商店中。
我的fastlane脚本如下:
default_platform(:ios)
platform :ios do
desc "Generate new localized screenshots"
lane :screenshots do
capture_screenshots(workspace: "ABC Education.xcworkspace", scheme: "XYZ Education")
end
lane :release do
build_app(scheme: "ABC Education",
workspace: "ABC Education.xcworkspace",
include_bitcode: true)
build_app(scheme: "XYZ School",
workspace: "XYZ Education.xcworkspace",
include_bitcode: true)
upload_to_app_store(skip_binary_upload: true, skip_metadata: true)
end
end