-
-
Save harmancode/af6d68e5af071a672a3b99c8966303d4 to your computer and use it in GitHub Desktop.
Revisions
-
harmancode revised this gist
Feb 8, 2021 . No changes.There are no files selected for viewing
-
harmancode revised this gist
Feb 8, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ## 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, -
harmancode revised this gist
Jan 1, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,4 +57,7 @@ Modify version number and add third party license and attribution texts. -- Extra resources: * To automate this process: https://stackoverflow.com/questions/6428353/best-way-to-add-license-section-to-ios-settings-bundle/6453507#6453507 -
harmancode revised this gist
Jan 1, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,4 +55,6 @@ </plist> ``` Modify version number and add third party license and attribution texts. To automate this process, see this: https://stackoverflow.com/questions/6428353/best-way-to-add-license-section-to-ios-settings-bundle/6453507#6453507 -
harmancode revised this gist
Jan 1, 2021 . 1 changed file with 14 additions and 34 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,45 +34,25 @@ <!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. -
zetachang revised this gist
Nov 19, 2012 . 1 changed file with 6 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ * 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 @@ -35,13 +35,11 @@ <plist version="1.0"> <dict> <key>StringsTable</key> <string>Acknowledgements</string> <key>PreferenceSpecifiers</key> <array> <dict> <key>Title</key> <string> XXXKit is available under the MIT license. -
zetachang revised this gist
Nov 19, 2012 . 1 changed file with 14 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ * To add Settings.bundle. __Command N__, in __Resource__, choose __Settings Bundle__ . * Open `Root.plist` in source code, paste the code below to replace it, ```xml <?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"> @@ -21,11 +22,12 @@ </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 <?xml version="1.0" encoding="UTF-8"?> @@ -71,4 +73,8 @@ THE SOFTWARE. </plist> ``` The big chunk of data above in string tag is the place you can place your long long third party license. * Finally in the `Settings.app`, we got the license section as Apple did in a lot of apps.  -
zetachang revised this gist
Nov 19, 2012 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,5 @@ 1. To add Settings.bundle. __Command N__, in __Resource__, choose __Settings Bundle__ . 2. Open `Root.plist` in source code, paste the code below to replace it, ```xml <?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"> @@ -22,7 +21,6 @@ </dict> </plist> ``` 3. Right click `Settings.bundle`, choose __Open in Finder__. 4. In Finder, right click `Settings.bundle`, choose __Show Package Contents__. 5. __Command D__ to duplicate the `Root.plist`. -
zetachang revised this gist
Nov 19, 2012 . 1 changed file with 52 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,3 +22,55 @@ </dict> </plist> ``` 3. Right click `Settings.bundle`, choose __Open in Finder__. 4. In Finder, right click `Settings.bundle`, choose __Show Package Contents__. 5. __Command D__ to duplicate the `Root.plist`. 6. Rename the duplicated one to `Acknowledgements.plist`. 7. Back to Xcode, open `Acknowledgements.plist` in source code, and replace the content with code below, ```xml <?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>Acknowledgements</string> <key>Title</key> <string>License</string> <key>PreferenceSpecifiers</key> <array> <dict> <key>Title</key> <string> XXXKit is available under the MIT license. Copyright (c) 2012 ZZZ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </string> <key>Type</key> <string>PSGroupSpecifier</string> </dict> </array> </dict> </plist> ``` The big chunk of data is the place you can place your long long third party license. -
zetachang revised this gist
Nov 19, 2012 . 1 changed file with 23 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,24 @@ 1. To add Settings.bundle. __Command N__, in __Resource__, choose __Settings Bundle__ . 2. Open `Root.plist` in source code, paste the code below to replace it, ```xml <?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> ``` -
zetachang created this gist
Nov 19, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # Add Settings.bundle 1. __Command N__, choose __Resource__