How To Fix Error Could Not Find A Storyboard Named ‘Main’ In Bundle NSBundle In Xcode 11.0

When I follow the article How To Create A Swift App Without Storyboard to learn how to create an iOS app without using the storyboard, after I remove the Main.storyboard file and run it. I meet an error message like this Could not find a storyboard named ‘Main’ in bundle NSBundle.

How To Fix Error Could Not Find A Storyboard Named ‘Main’ In Bundle NSBundle In Xcode 11.0 Read More »

How To Set Application Root View Controller Programmatically In Xcode 11

When using Xcode 11 to create a new iOS project, if you still create the root view controller in AppDelegate class’s – func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool function as usual, you will find there is a compile time error which said Value of type ‘AppDelegate’ has no member ‘window’. And

How To Set Application Root View Controller Programmatically In Xcode 11 Read More »

How To Show Hidden Files In Mac OS Finder And Select Hidden Files In Html Upload File Form

When you use Mac OS Finder to browse files, you will find it can not display hidden files. This is the Mac OS default settings. But this is not user-friendly when you need to select hidden files in the Mac OS Finder to submit the hidden files to a web server. So this article will

How To Show Hidden Files In Mac OS Finder And Select Hidden Files In Html Upload File Form 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 »