Rebranding Smart IT on Apple iOS
Before you begin
Your company must be a member of the Apple Enterprise Program to obtain the required development tools from the developer portal. See the following resources for more information:
Visit | Details |
---|---|
| |
Provides development tools, and documentation needed to develop Apple iOS apps. | |
Describes how to assign the team agent role to the user who is going to rebrand Smart IT. | |
Provides information about the necessary certificates and provisioning profiles. | |
Provides information about bundle identifiers. |
Supported graphics for rebranding
This section lists all supported application icons, splash screen graphics, and Apple watch icons. For more information about required and recommended icons, see Apple iOS Human Interface Guidelines: Icon and Images Sizes in the Apple iOS developer documentation.
To rebrand Smart IT by using the utility
Download or copy the iOS re-signing and rebranding utility on your Mac computer. Depending on the version of Smart IT that you are using, the utility is available at the following locations:
- Version 18.05 and onwards versions—Smart_IT\IPA\download\utils directory.
- Version 1.6 or 2.0—MYIT_HOME\Smart_IT_MyIT\IPA\download\utils directory, where MYIT_HOME is the installation directory.
To rebrand, follow these steps:
- Open the Resign.dmg file and run the ResigningUtility.app application.
- In the Application name field, select Smart IT, and click Next.
- Select an appropriate Smart IT version, and click Next.
Create a new re-signing project, and provide the following details:
- Project Name—Give the re-signing project a name, for example, SmartITResignDemo.
Project Location—Select a directory on your Mac machine for storing the project.
The utility creates a project fileforexample, SmartITResignDemo.resign and different sub-directories within the project directory.
- Go to the Rebranding tab, and rebrand various items:
- Use the color picker tool to change the color of the brand button, brand text, navigation bar, and navigation text.
You can also enter the RGB code or hexadecimal value of a color. - Choose whether you want to remove the BMC logo, white login background, and full app name.
- Change the default images by dragging and dropping the new images that you created.
The images are copied to the Rebranding subfolder within your project folder.
- Use the color picker tool to change the color of the brand button, brand text, navigation bar, and navigation text.
- Re-sign Smart IT on Apple iOS.
To rebrand Smart IT manually
You can manually rebrand Smart IT on iOS.
- Edit the supported splash screen, login screen, and connection background files.
- Place the provisioning profiles that you created in the /path/SmartIT-ResignDir folder, and rename the files to SmartIT.mobileprovision, SmartITWatch.mobileprovision, and SmartITWatchExtension.mobileprovision.
Set the bundle IDs to match the application ID set on the Apple Development portal (for example, com.companyName.SmartIT.watch, com.companyName.SmartIT.watch.extension, and com.companyName.SmartIT).
cd /path/SmartIT-ResignDir
/usr/libexec/PlistBuddy -c "Set CFBundleIdentifier com.companyName.SmartIT"
./Payload/Galileo.app/Info.plist
/usr/libexec/PlistBuddy -c "Set CFBundleIdentifier com.companyName.SmartIT.watch"
./Payload/Galileo.app/Watch/Watch.app/Info.plist
/usr/libexec/PlistBuddy -c "Set CFBundleIdentifier com.companyName.SmartIT.watch.extension"
./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch\
Extension.appex/Info.plist
/usr/libexec/PlistBuddy -c "Set WKCompanionAppBundleIdentifier com.companyName.SmartIT"
./Payload/Galileo.app/Watch/Watch.app/Info.plist
/usr/libexec/PlistBuddy -c "Set NSExtension:NSExtensionAttributes:WKAppBundleIdentifier com.companyName.SmartIT.watch" ./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch\ Extension.appex/Info.plistUse the code shown in this table.
To
Use the code
Set the application name that is displayed on the iOS devices. APPLICATIONNAME—The name of your application. For example, Smart IT or Acme Smart IT.
/usr/libexec/PlistBuddy -c "Set CFBundleDisplayName APPLICATIONNAME"
./Payload/Galileo.app/Info.plistSet the long application name that appears on the splash screen. LONGAPPNAME—The long name of your application. For example, Remedy with Smart IT.
/usr/libexec/PlistBuddy -c "Set galileo-full-app-name LONGAPPNAME"
./Payload/Galileo.app/Info.plistSet the Apple Watch name.
WATCHNAME—The title that is displayed on the Apple Watch application. For example, Smart IT./usr/libexec/PlistBuddy -c "Set CFBundleDisplayName WATCHNAME"
./Payload/Galileo.app/Watch/Watch.app/Info.plist
/usr/libexec/PlistBuddy -c "Set CFBundleDisplayName WATCHNAME"
./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch\ Extension.appex/Info.plistSet the default Smart IT server to your Smart IT server.
SERVER—Your Smart IT server name. For example, SmartIT.acme.com./usr/libexec/PlistBuddy -c "Set galileo-server SERVER" ./Payload/Galileo.app/Info.plistSet the default port for your Smart IT server.
PORT—The TCP port for clients to access the server. For example, 9000 or 8888./usr/libexec/PlistBuddy -c "Set galileo-port PORT" ./Payload/Galileo.app/Info.plistSet the default Internet protocol.
PROTOCOL—Set either HTTP or HTTPS./usr/libexec/PlistBuddy -c "Set galileo-http-schema PROTOCOL" ./Payload/Galileo.app/Info.plistSet the color of the button on the login and connection page.
/usr/libexec/PlistBuddy -c "Set galileo-custom-brand-button-color-hex 0xff0000" ./Payload/Galileo.app/Info.plistSet the color of the text of the application name on the login and connection page.
/usr/libexec/PlistBuddy -c "Set galileo-custom-brand-text-color-hex 0xff0000" ./Payload/Galileo.app/Info.plistRemove the BMC logo on the login and connection page, set the value to YES.
/usr/libexec/PlistBuddy -c "Set galileo-custom-remove-bmc-logo YES" ./Payload/Galileo.app/Info.plistSet the color of the top level navigation bar background, set the hex color value.
/usr/libexec/PlistBuddy -c "Set galileo-custom-navigation-bar-color-hex 0xff0000" ./Payload/Galileo.app/Info.plistSet the color of the top level navigation bar text, set the hex color value.
/usr/libexec/PlistBuddy -c "Set galileo-custom-navigation-text-color-hex 0xff0000" ./Payload/Galileo.app/Info.plistRemove the white background on the login and connection page, set the value to YES.
/usr/libexec/PlistBuddy -c "Set galileo-custom-remove-login-white-background YES" ./Payload/Galileo.app/Info.plistRemove the application name (full-app-name) on the login and connection page, set the value to YES.
/usr/libexec/PlistBuddy -c "Set galileo-custom-remove-login-full-app-name YES" ./Payload/Galileo.app/Info.plistLogin screen rebranding
Navigation rebranding
Replace the mobile provision file.
cp "SmartITWatchExtension.mobileprovision"
"./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch Extension.appex/embedded.mobileprovision"
cp "SmartITWatch.mobileprovision"
"./Payload/Galileo.app/Watch/Watch.app/embedded.mobileprovision"
cp "SmartIT.mobileprovision" "./Payload/Galileo.app/embedded.mobileprovision"Remove the BMC code signature.
rm -r "./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch Extension.appex/_CodeSignature/"
rm -r "./Payload/Galileo.app/Watch/Watch.app/_CodeSignature"
rm -r "./Payload/Galileo.app/_CodeSignature"Re-sign the IPA using the name of your company Apple iOS Distribution certificate installed on this machine in place of "iPhone Distribution: BMC Software, Inc.".
/usr/bin/codesign -f -s "iPhone Distribution: BMC Software, Inc." --entitlements
"./SmartITWatchExtension.entitlements"
"./Payload/Galileo.app/Watch/Watch.app/PlugIns/Watch Extension.appex"
/usr/bin/codesign -f -s "iPhone Distribution: BMC Software, Inc." --entitlements
"./SmartITWatch.entitlements" "./Payload/Galileo.app/Watch/Watch.app"
/usr/bin/codesign -f -s "iPhone Distribution: BMC Software, Inc." --entitlements
"./SmartIT.entitlements" "./Payload/Galileo.app"Create the .ipa zip file.
zip -qr "SmartIT-rebranded.ipa" PayloadYou must provide this new .ipa file when you deploy Smart IT to your users.
To replace the Smart IT APNS certificate with your APNS certificate
After you rebrand, you must replace the Smart IT APNS certificate with your APNS certificate.
- Log in to the server that hosts the Smart IT server.
- Stop the Tomcat instance that executes the Smart IT server.
- In the Tomcat home folder, locate and open the external-conf folder.
- In the external-conf folder, create a certification subfolder.
- Place the .p12 file that contains the new APNS certificate that you created in the certification subfolder.
- Log in to the Oracle or Microsoft SQL database used for Smart IT.
- Go to the PUSH_NOTIFICATION_CERT table, and query for records.
- To change the iOS APNS certificate record:
- In the iOS_Cert field, replace the current value (the default value is GalileoAPNsProduction.p12) with the name of the .p12 file that contains your new APNS certificate.
- In the iOS_Password row, in plain text, replace the current password with the password of your .p12 file.
- Click Save.
- Start the Tomcat instance.
Any notifications to iOS devices from your server (or tenant in multitenant environments) are sent using the new certificate.
Where to go from here