-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on building Unity project. Need to set one target to automatic #18
Comments
I forked the repo and made a quick fix specific for Unity projects. Looks like we'd need more parameters exposed in the action in order to achieve this. |
@gpiffaretti Thanks for forking and fixing repo! Looking at your fix, I thought it would be good to use disable_targets = ENV["DISABLE_TARGETS"]&.split(/,/)
update_code_signing_settings(
use_automatic_signing: false,
path: ENV["PROJECT_PATH"],
targets: disable_targets
)
update_project_provisioning(
xcodeproj: ENV["PROJECT_PATH"],
profile: "ios-build.mobileprovision",
code_signing_identity: ENV["CODE_SIGNING_IDENTITY"],
+ target_filter: disable_targets&.map{|target| "^#{Regexp.escape(target)}$" }.join("|")
)
update_project_team(
path: ENV["PROJECT_PATH"],
teamid: ENV["TEAM_ID"],
+ targets: disable_targets
) Can you create Pull Request? |
Is the above possible? |
Including the PR that resolved this issue, v1.2.0 has been released. |
I'm getting an error when using this action with a Unity build. The XCode generated project has three targets, Unity-iPhone, Unity-iPhone Tests, and UnityFramework. When trying to generate a signed IPA, I'm getting the following error.
Here's the configuration I'm using for the action
Here's the full log just in case. Any ideas how can I solve this to make the build succeed? Looks like it's some small tweak in configuration but I'm no expert in iOS builds and don't know exactly how to proceed.
Is there a way to set one of the targets to automatic and use the provided key and provisioning for the other targets?
The text was updated successfully, but these errors were encountered: