Starting the simulator in XCode 9 (not headless)

I am trying to run both my unit and ui tests with xcodebuild like: $ xcodebuild -scheme "MyAppScheme" -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.0' build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO The problem is that th...
more »

2017-10-03 16:10 (1) Answers

How to set unsafe area background color for ios 11

Creating some new view controllers with xcode 9 so now I have a few safe areas to deal with. I am currently trying to do something fullproof, meaning keeping the unsafe area as it is (since I always display the status bar) and having the background ...
more »

2017-10-03 12:10 (2) Answers

How can I make Xcode ignore xcodeproj in Xcode 9?

I have been working on a C project using Xcode9. I don't want to push my .xcodeproj directory into the GitHub. I use the source control menu inside the Xcode to sync with GitHub. I have added the following line into my .gitignore file: *.xcodeproj...
more »

2017-10-03 05:10 (1) Answers

Xcode 9 simulator doesn't save userdefaults

Maybe it's the same issue as this one. But few of the solutions that I have tried don't work. The simulator don't save userdefaults on Xcode Version 9.0 beta 6 (9M214v). I had Xcode 8 as well (together with 9) but removed it. the code that I'm usi...
more »

2017-10-02 15:10 (1) Answers

Xcode 9 update Swift, purple warning

Not sure why after updating to Xcode 9 my project (originally created in Swift 3) is showing purple warnings: UITextField.text must be used from main thread only I'm only checking in If statement if text field is empty... attaching screenshot. ...
more »

2017-09-29 15:09 (5) Answers

Some Xcode custom key bindings don't work

why do some Xcode custom created keybindings work but others don't. I've created a custom action in IDETextKeyBindingSet.plist to insert a blank line above the current line of code. up until Xcode 8 it worked fine and i bound it to key combination Ct...
more »

2017-09-29 00:09 (0) Answers

Xcode 9 simulator looks terrible

It's extremely pixelated, aliasing is terrible, see below, yuck! I'm running on Sierra, 2015 rMBP, external Apple Display. Is there a way to fix it? Without success, I've tried: Scaling to 100% Turning on/off Debug > Optimize Rendering for Win...
more »

2017-09-28 20:09 (1) Answers

Could not download iOS 8.1 Simulator

When I use Xcode 9.0 download Simulator (Xcode - Preferences - Components - Simulator), It will show "Could not download and install iOS 8.1 Simulator. The certificate for this server is invalid. You might be connecting to a server that is pretending...
more »

2017-09-27 07:09 (3) Answers

Wireless Debugging on QuickTime Player? (Xcode9)

Has anyone been able to connect wirelessly to QuickTime Player? I'm able to debug wirelessly using Xcode 9, but when I try to connect to QT, the device won't appear on the list... I've already gone to devices and made sure "Connect via Network" is c...
more »

2017-09-27 02:09 (1) Answers

iOS 11: self.performSegue() not working

i started the migration to Xcode 9 & iOS 11 build today. in my storybased app, the following code: self.performSegue(withIdentifier: Const.UI.Segue.showIntro, sender: self) runs fine in all previous iOS (just verified with iOS 10.3, 10.0, 9.0...
more »

2017-09-26 22:09 (0) Answers

Xcode 9 compile error after integrating weex sdk

I builded the WeexSDK.framework by myself with Xcode 9. Then integrated the framework into my project. Got weird compile error log when build my app, could someone help me? Undefined symbols for architecture arm64: "___llvm_profile_runtime", refer...
more »

2017-09-25 11:09 (1) Answers

Facebook Login Button Termination in xcode 9

I am using Xcode 9 and i set the compiler to Swift 3.2 I installed Facebook Login with Cocoapods and everything compiles without any error but whenever i run it in the simulator i click on the login button it crashes with only this printed in the con...
more »

2017-09-24 09:09 (1) Answers