-
Notifications
You must be signed in to change notification settings - Fork 19
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
Project configuration #21
Comments
@ealeksandrov have you verified whether this works when building from the command line? |
@samdods yep, it generates different configs when using |
Thanks, I'll update the readme and the blogpost
… On 20 Oct 2017, at 11:44, Evgeny Aleksandrov ***@***.***> wrote:
@samdods yep, it generates different configs when using xcodebuild with different -scheme option.
Important part here is to mark scheme as shared to save script in source control.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Cool! You can also mention |
@ealeksandrov, when using your configuration, I don't seem to get build errors when there's a problem. |
@samdods output (stdout/stderr) from scheme scripts are not redirected into Xcode. But function output can be checked and handled in same script like: configen -p ${SRCROOT}/Configs/prod-config.plist -h ${SRCROOT}/Configs/AppEnvironment.map -n AppConfig -o ${SRCROOT}/Configs
if [ $? -ne 0 ]
then rm ${SRCROOT}/Configs/AppConfig.swift
fi I can confirm it's working for me. If any error arises - |
Why is this so complex? I found adding
build pre-action
in scheme settings working just fine:Am I missing something?
The text was updated successfully, but these errors were encountered: