You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
582 B

#!/bin/bash
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# This is the built Info.plist in the output directory.
PLIST="${BUILT_PRODUCTS_DIR}"/Test.app/Contents/Info # No trailing .plist
echo $(defaults read "${PLIST}" "CFBundleName") > "${BUILT_PRODUCTS_DIR}/result"
# This is the source Info.plist next to this script file.
PLIST="${SRCROOT}"/Info # No trailing .plist
echo $(defaults read "${PLIST}" "CFBundleName") \
>> "${BUILT_PRODUCTS_DIR}/result"