Category Archives: iOS

iOS is the operating system by Apple used in Apple’s mobile devices like iPhone,iPad,iPod.

Certificate is not trusted mac keychain

      No Comments on 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… 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… 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… Read more »

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… 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… Read more »

Xcode 10 – iOS simulator is not launching

      No Comments on Xcode 10 – iOS simulator is not launching

After installing Xcode 10, especially when Xcode 9 is also installed, It has been observed that at times simulator fails to launch while running a project. Following steps can resolve the Issue Clear derived data Xcode -> Preferences -> Location -> Derived data Open edit schemes and make sure for… 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… Read more »