Skip to content

Instantly share code, notes, and snippets.

@harmancode
Forked from zetachang/gist:4111314
Last active May 30, 2023 17:22
Show Gist options
  • Save harmancode/af6d68e5af071a672a3b99c8966303d4 to your computer and use it in GitHub Desktop.
Save harmancode/af6d68e5af071a672a3b99c8966303d4 to your computer and use it in GitHub Desktop.
Instructions on adding a Acknowledgements Settings.bundle

How to add Acknowledgements to an iOS app's Settings bundle

  • To add Settings.bundle in Xcode. Command N and in Resource, choose Settings Bundle .
  • Open Root.plist in source code, paste the code below to replace it,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>PreferenceSpecifiers</key>
	<array>
		<dict>
			<key>Type</key>
			<string>PSChildPaneSpecifier</string>
            <key>File</key>
			<string>Acknowledgements</string>
            <key>Title</key>
			<string>Acknowledgements</string>
        </dict>
	</array>
	<key>StringsTable</key>
	<string>Root</string>
</dict>
</plist>
  • Right click Settings.bundle, choose Open in Finder.
  • In Finder, right click Settings.bundle, choose Show Package Contents.
  • Command D to duplicate the Root.plist.
  • Rename the duplicated one to Acknowledgements.plist.
  • Back to Xcode, open Acknowledgements.plist in source code, and replace the content with code below,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>StringsTable</key>
	<string>Root</string>
	<key>PreferenceSpecifiers</key>
	<array>
		<dict>
			<key>Type</key>
			<string>PSGroupSpecifier</string>
			<key>Title</key>
			<string>Version X.X.X</string>
			<key>FooterText</key>
			<string>This app uses the following software and intellectual property under the following license agreements:
—
***ADD THIRD PARTY LICENSE and ATTRIBUTION TEXTS HERE***
				
			</string>
		</dict>
	</array>
</dict>
</plist>

Modify version number and add third party license and attribution texts.

-- Extra resources:

@iOSDeveloperGuy
Copy link

Thank you! This made my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment