lib/gym/build_command_generator.rb in gym-0.2.1 vs lib/gym/build_command_generator.rb in gym-0.3.0
- old
+ new
@@ -34,12 +34,13 @@
def options
config = Gym.config
options = []
options += project_path_array
- options << "-configuration '#{config[:configuration]}'" # We need `Release` to export the DSYM file as well
+ options << "-configuration '#{config[:configuration]}'" if config[:configuration]
options << "-sdk '#{config[:sdk]}'" if config[:sdk]
options << "-destination '#{config[:destination]}'" if config[:destination]
+ options << "-xcconfig '#{config[:xcconfig]}'" if config[:xcconfig]
options << "-archivePath '#{archive_path}'"
options << config[:xcargs] if config[:xcargs]
options
end