• Skip to main content
  • Skip to primary sidebar

Ravi Shankar

Tweaking Apps

  • Swift
  • Tech Tips

Xcode – framework not found FIRAnalyticsConnector

June 22, 2021 By Ravi Shankar

Tried updating all pods in Xcode projects using pod update. Noticed the following messages in the log.

Removing FirebaseInstanceID
Generating Pods project
Integrating client project

After doing Xcode build, noticed the following error.

Framework not found FIRAnalyticsConnector

Looks like firebase pod has been updated and to remove the above error, navigate to Build Settings and search for “FIRAnalyticsConnector”

Open the “Other Linker Flags” setting and remove FIRAnalyticsConnector

Next received “Framework not found FirebaseInstanceID” as well. Repeat the above steps and remove FirebaseInstanceID from Other Linker flags settings. Also make sure to remove from Framework Search Paths (Debug & Release) as well.

Filed Under: Swift, Xcode

Preserve iPhone battery by reducing brightness

June 21, 2021 By Ravi Shankar

Earlier we had seen how to turn on lower power mode automatically using shortcuts. This is another shortcuts tip to preserve iPhone battery by automatically reducing the brightness when iPhone battery falls below certain percentage.

Launch Shortcuts and tap Personal Automation.

Select Battery Level option and set the battery level to 50%

This automation will be triggered when the battery level falls below 50%. In the Actions screen, select “Set Brightness”

Reduce the brightness to 30% or whatever percentage you are comfortable with.

Turn off the “Ask Before Running” option.

This will ensure that the automation will execute without prompting you for the permission.

Filed Under: iPhone, Shortcuts, Tips

11 tips to avoid distraction and increase productivity

June 20, 2021 By Ravi Shankar

We are seeing lot lot of work going remote but people are finding it difficult to be productive.

Here are 11 productivity tips to reduce distraction and increase productivity.

  1. Create a to-do list before starting the day.
  2. Define working hours.
  3. Have a separate work desk. If possible have a separate room for work.
  4. Define in your working space with some productivity quotes
  5. Take breaks in-between working hours.
  6. Use a Pomodoro timer. Whenever you are starting your work use the timer to enter a zone.
  7. Try to avoid night pyjamas when doing your work.
  8. Use apps like Self Control to block websites.
  9. Keep your Phone away from your work desk.
  10. Use browser extension that blocks YouTube recommendation like DF YouTube.
  11. Try to get a good night sleep.

Filed Under: Productivity, Tips

iPhone battery – automatically turn on low power mode

June 19, 2021 By Ravi Shankar

If your iPhone battery needs servicing but you want to delay the servicing and still get most life out of the battery then follow this tip.

I used to turn on lower power mode manually every time after a full charge. Instead of doing this manually we can use Shortcuts app for automating this option.

Launch Shortcuts app and tap “Create Personal Automation”

In the New Automation select “Charger” – When my iPhone connects to Power.

Under When select “Is Disconnected” then tap Next

Then add Actions, use the search option to pick Scripting.

In the scripting, select “Set Lower Power Mode”

Turn On the Lower Power Mode

Also make sure to turn off the “Ask Before Running”.

This will not prompt you before running the Automation.

The newly added Automation will be available under the Personal section.

Filed Under: Battery, iPhone, Shortcuts Tagged With: Preserve Battery

Create distribution list in Gmail

June 12, 2021 By Ravi Shankar

Distribution list or mailing list is quite useful when you want to send email to multiple recipients at the same time. You can create a distribution list using Google Contacts and this can be used in Gmail for sending emails.

  • Access Google Contacts. – contacts.google.com
  • Click “Create Label” option available on the left hand sidebar.
Create labels in Gmail
  • Provide a name to the label. I am planning create a mailing list for all freelancers.
  • Go to contacts and select the contacts which you want to add it as part of “Freelancers” label

Once all the contacts have been added, navigate to Gmail compose window . Now the newly added distribution list / label will be available..

Filed Under: GMail, Tips Tagged With: Distribution list

De-Clutter Gmail Inbox using filters.

June 8, 2021 By Ravi Shankar

One way of organising Gmail Inbox using the Filter option available as part of the settings. Let us say you want to move all your “Amazon” related emails from Gmail Inbox to another label.

Navigate to Gamil Settings then “See all settings”

Click “Create a new filter” option under Filter and Blocked Address tab.

In the From field enter “Amazon” or the address/mails which you want to move from your Inbox then click “Create filter”

I have gone with the above option, Skip the Inbox, Mark as read, Move the emails to a label “Amazon”. To apply this filter immediately, select “Also apply filter to matching conversation.

Now all the matching emails will be moved to the “Amazon” folder and marked as unread. Initially this operation might take time depending upon the no of emails matching the filter criteria. Any new email matching the filter condition will be automatically moved to this label.

Filed Under: GMail, Tips Tagged With: Gmail, Organize

Mac Screenshot App – Change default screenshot and recordings location

June 7, 2021 By Ravi Shankar

Screenshot app in Mac OS Big Sur is quite useful tool for taking screenshots and screen recording. The default location for saving screenshots and video recording file is Mac desktop.

Mac OS Big Sur users can change the default location to documents or any other location by using the option menu

Launch Screenshot app.

Click the options menu and select Other location. Then create a folder of your choice. In this example, I have created a folder “Screenshot” under desktop.

Any screenshots or recordings will be stored under the newly created folder.

Filed Under: Mac OS X, Tips Tagged With: Screenshot

Turn on/off Wifi using Keyboard shortcut

June 6, 2021 By Ravi Shankar

Mac users can turn on/off Wifi using option available as part of the Menu bar.

Wifi Menu bar option

Add quick action in Automator app

Launch Automator app on your mac and choose Quick Action.

Automator – Quick Action

Choose action as “Run Shell Script” then set Workflow receives to “no input” and set it to run for for any application and select an image for your action.

Then under the run script window add the following script.

set_wifi_on_or_off() {
  networksetup -getairportpower en${n} | grep ": ${1}";
  if test $? -eq 0;
  then
    echo WiFi interface found: en${n};
    eval "networksetup -setairportpower en${n} ${2}"
    return 0;
  fi
  return 1;
}

for n in $(seq 0 10);
do
  if set_wifi_on_or_off "On" "off"; then break; fi;
  if set_wifi_on_or_off "Off" "on"; then break; fi;
done

You can test the above script using “Run” option and check if Wifi settings turned On or Off based on the current state. Save this quick action by providing a name as “Wifi”

Assign a keyboard shortcut for quick action

Launch Keyboard preferences using System preferences and navigate to Shortcuts tab.

Keyboard Preferences

The newly added Wifi quick action will be available under Services. Now assign a keyboard shortcut for this action.

Note :- Make sure to select 3 letters or more keyboard combination for your shortcut. Sometimes other apps might be using the same set of key combination and this would prevent launching the Automator action.

References

Filed Under: Automator, Mac, Tips Tagged With: Automator, Keyboard Shortcut, Mac

  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. ...
  11. 44
  12. »
« Previous Page
Next Page »

Primary Sidebar

TwitterLinkedin

Recent Posts

  • How to set preferred Wifi network on Mac
  • Attribute Unavailable: Estimated section warning before iOS 11.0
  • How to recover Firefox password from Time Machine backup
  • Show hidden files and folders on Mac
  • How to request a refund for apps in App Store

Pages

  • About
  • Privacy Policy
  • Terms and Conditions

Copyright 2022 © rshankar.com

Terms and Conditions - Privacy Policy