File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -346,6 +346,7 @@ or use 'xcodebuild' as 'output_tool'.`)
346346 configs .CustomExportOptionsPlistContent = ""
347347 }
348348
349+ customExportOptionsPlistContent := strings .TrimSpace (configs .CustomExportOptionsPlistContent )
349350 if configs .ForceProvisioningProfileSpecifier != "" &&
350351 xcodeMajorVersion < 8 {
351352 log .Warnf ("ForceProvisioningProfileSpecifier is set, but ForceProvisioningProfileSpecifier only used if xcodeMajorVersion > 7" )
@@ -613,11 +614,11 @@ is available in the $BITRISE_XCODE_RAW_RESULT_TEXT_PATH environment variable`)
613614 } else {
614615 log .Printf ("Exporting ipa with ExportOptions.plist" )
615616
616- if configs . CustomExportOptionsPlistContent != "" {
617+ if customExportOptionsPlistContent != "" {
617618 log .Printf ("Custom export options content provided, using it:" )
618- fmt .Println (configs . CustomExportOptionsPlistContent )
619+ fmt .Println (customExportOptionsPlistContent )
619620
620- if err := fileutil .WriteStringToFile (exportOptionsPath , configs . CustomExportOptionsPlistContent ); err != nil {
621+ if err := fileutil .WriteStringToFile (exportOptionsPath , customExportOptionsPlistContent ); err != nil {
621622 fail ("Failed to write export options to file, error: %s" , err )
622623 }
623624 } else {
You can’t perform that action at this time.
0 commit comments