iOS Tutorial

How To Simulate Memory Warning In Xcode 10 iOS Simulator

When you develop an iOS app, you sometimes need to simulate memory warning notifications to test your iOS app in high memory pressure conditions. Xcode simulator just provides such a tool for you to trigger memory warning notifications. Then you can test your source code in ViewController class’s didReceiveMemoryWarning function. This article will tell you

How To Simulate Memory Warning In Xcode 10 iOS Simulator Read More »

How To Set iOS App Supported Devices And Orientation In Xcode Target Or Programmatically

When you develop an iOS app, you may want your app to support iPhone, iPad only, or support both of them. And in some cases, if your UI layout is very complex, you can make your iOS app layout fixed by showing the app only in one orientation ( for example Portrait or Landscape orientation

How To Set iOS App Supported Devices And Orientation In Xcode Target Or Programmatically Read More »

How To Configure Xcode Default, Workspace, Project Build Directory Location

Xcode build directory is used to save iOS app binary files when you build your Xcode app. Xcode provides you several ways to specify the build output directory location. It can be a unique subfolder or a shared subfolder in Xcode derived data directory ( in this case all the Xcode projects use one build

How To Configure Xcode Default, Workspace, Project Build Directory Location Read More »

How To Fix Xcode Error The Operation Couldn’t Be Completed, Unable To Log In With Account. The Login Details For Account Were Rejected. And No Profiles Were Found

When I use Xcode 10.3 to open an old Xcode project, I encounter the below error messages. The error message said unable to log in with the current apple account, and no profiles for the project were found. You can find the error message by clicking the project name in the Xcode project left side

How To Fix Xcode Error The Operation Couldn’t Be Completed, Unable To Log In With Account. The Login Details For Account Were Rejected. And No Profiles Were Found Read More »

How To Fix Xcode Error Failed To Create Provisioning Profile. There Are No Devices Registered In Your Account On The Developer Website.

When I develop iOS app use Xcode and build my iOS app, I suddenly meet an error which said failed to create provisioning profile. there are no devices registered in your account on the developer website. Plug in and select a device to have XCode register it. This error confused me a lot of times.

How To Fix Xcode Error Failed To Create Provisioning Profile. There Are No Devices Registered In Your Account On The Developer Website. Read More »

How To Fix Xcode Error Failed To Find Or Create Execution Context For Description IBCocoaTouchPlatformToolDescription

When i upgrade my Xcode to version 10.3 and build my iOS project, i meet an error message like this Failed to find or create execution context for description ‘<IBCocoaTouchPlatformToolDescription: 0x7fe0cfa54080> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe0cfa63cb0> scaleFactor=2x’. These intermediate objects were non-nil:. This error confused me a lot of time. But finally i find

How To Fix Xcode Error Failed To Find Or Create Execution Context For Description IBCocoaTouchPlatformToolDescription Read More »