Certificate is not trusted mac keychain

Summary: Delete and reinstall WWDR and recreate certificate. I came across a weird issue while making enterprise certificate from apple developer. I followed all the steps required to make a certificate. The steps whereas follows Create a CSR file Create a certificate on the developer centre Upload CSR file Generate and download certificate Now the … Read more

The application bundle does not contain a valid identifier

On rare occasions Xcode will refuse to run your app on a device and you will come across this error The application bundle does not contain a valid identifier. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653108 Xcode One of these three steps given below will resolve the issue for you Clear Derived Data Delete derived data then clean … Read more

Your application has presented a UIAlertController of style UIAlertControllerStyleActionSheet

This happens when you try to present a action sheet in iPad. Luckily you can make your action sheet work across iPhone and iPad without writing different code for specific platform.Using popoverPresentationController?.sourceView an example code is given below This will remove the crash and you will achieve desired behaviour in both iPhone and iPad

Xcode SVN is scheduled for addition, but is missing Error

When a file is scheduled for commit according to svn records but is not present within the root directory, svn throws “is scheduled for addition, but is missing” error. There can be many causes for this error most common one is renaming the file from finder instead of refactoring and deleting the file from the finder. … Read more

Realm implementing GROUP BY query equivalent in swift

Realm GROUP BY query equivalent can be achieved in swift very effectively. Going ahead in the post I will create an imaginary requirement and I will guide you through the necessary solution. Let us start with our realm data model import UIKit import RealmSwift @objcMembers final class Room:Object{ dynamic var roomID:String? = “” //Room ID … Read more

Download Xcode 10.1 beta 2

The all-new Xcode 10 beta 1 can be downloaded from apple  using a valid Apple ID Download Xcode 10.1 beta 2 A valid Apple ID is required. If your are already logged in in the browser Xcode 10 Beta 1 download will start directly. Else you will be redirected to the login screen. Once you will … Read more

Unable to verify xcode and simulator installation

When running npm run ios some time an error comes $ react-native-scripts ios Starting packager… Starting simulator… Unable to check Xcode version: Error: Process exited with non-zero code: 1 Failed to start simulator: Unable to verify Xcode and Simulator installation. Exiting… The error can come if you don’t have any command line tool selected in xcode … Read more