xcode9

Value of type 'AuthDataResult' has no member 'uid'

岁酱吖の 提交于 2019-12-04 19:23:27
I am a noob trying to create a social app through Youtube videos, and I am following instructions of this video. https://youtu.be/GrRggN41VF0 At around 3 mins. of the video you'll see the code. Here's the code I have. import UIKit import Firebase import SwiftKeychainWrapper class ViewController: UIViewController, UITextFieldDelegate { @IBOutlet weak var userImgView: UIImageView! @IBOutlet weak var usernameField: UITextField! @IBOutlet weak var emailField: UITextField! @IBOutlet weak var passwordField: UITextField! override func viewDidLoad() { emailField.delegate = self passwordField.delegate

Xcode 9 GM - Export and Upload to App Store crashing

时光毁灭记忆、已成空白 提交于 2019-12-04 18:41:59
问题 I'm trying to upload my app that uses ARKit (Unity build) to iTunes Connect for TestFlight distribution. While both exporting and uploading to app store processes from Xcode -> Organizer I see crash on "Stripping extended attributes for APPNAME.app". I checked all configuration of bitcode and symbols on/off, signing automatically, manually. Deployment target of my project is iOS 10, as 11 cannot be set. I also tried following steps from simillar thread (https://forums.developer.apple.com

Xcode 9 - no iOS 11 simulator

十年热恋 提交于 2019-12-04 17:26:50
问题 When I open up the new Xcode 9 and go to Preferences > Components I don't see an option to download iOS 11 simulators. I'm 100% sure I have the latest Xcode 9 beta 4 I did some research and found out that Xcode downloads an index to determine what it is able to download. For me that was: https://devimages-cdn.apple.com/downloads/xcode/simulators/index-9.0.0-CA351AD8-3176-41CB-875C-42A05C7CDEC7.dvtdownloadableindex Basically one is able to use it for any Xcode version by determining the

How to remove insertion of double quotes on marked word in Xcode 9

三世轮回 提交于 2019-12-04 13:44:21
This new function in Xcode 9 seems to be alright, but I can't get used to it, and in most cases it turns out to require me to do more work than the old native function. How can I prevent Xcode from quoting a marked word, rather than replacing the marked word with a single quote? In this case, when marking the word Text and hitting " , I want the result to be Some" , not Some"Text" . When marking the entire SomeText -word and hitting " , I expect the result to be a single " , not a quoted "SomeWord" . As someone who uses more than just Xcode to write text in my life, I get annoyed when each of

XCode 9 unknown error -1 = fffffffffff command/bin/sh failed with exit code 1

纵饮孤独 提交于 2019-12-04 13:09:51
I have been trying to test my app on a real device and I keep getting this error. I have tried changing my project to this selected answer already XCode 9.1 Command /bin/sh failed with exit code 1 , but it did not work and I have also deleted my derived data already. I hope someone can help me! Thanks!! If you search around there are a lot of solutions presented to solve this problem. But a few them are outdated or very specific to a certain domain. Recently I ran into the same issue with Charts and Xcode refusing to build to my device with the same error message. The problem you're having has

IOS 11 / “Apps-prefs=root” function not working after update to Swift 3

*爱你&永不变心* 提交于 2019-12-04 09:03:30
I'm quite new to Swift programming I've made a simple test application that open the settings programmatically, by a specific button. Unfortunately after the update the button, instead of opening the desired setting page (the wifi page, in this case) open only the generic setting screen Could someone please help me understanding what exactly changed in swift 4, in order for me to fix this behaviour? Thansk a lot! First code used - (i've either changed the iOS available to iOS 11.0, in order to match the deployment) if let url = URL(string:"App-Prefs:root=WIFI") { if UIApplication.shared

Xcode download for Snow Leopard

半腔热情 提交于 2019-12-04 06:28:07
Older threads mention that there is a download for Xcode for Snow Leopard listed in the Xcode downloads on https://developer.apple.com/downloads/index.action?name=Xcode if you are logged-in as an enrolled iOS developer - but I can't see it. A comment on this thread has a direct link to the download, but clicking on the link redirects to an "Access Denied" error page: https://stackoverflow.com/questions/7662246/cant-download-xcode-4-for-snow-leopard-anymore Alfred Angkasa you can refer to here . or if you have a good internet connection, try to download via torrent. here is the link. link for

Cannot test in-app purchases in Xcode 9 for macOS app

我只是一个虾纸丫 提交于 2019-12-04 06:02:21
问题 As of the release of iOS11 it has been a pain (if not impossible) testing in-app purchases. While I've found a great workaround for testing on iOS here: https://stackoverflow.com/a/46467498/4514671 I could not find anything for macOS apps. 回答1: So here is what I did that kind of does the same as with the iOS workaround: In the App Store app Sign Out of your account (Store/Sign Out) In iTunes Connect create a brand new Tester Restart your computer Open your Xcode project Build & run Click on

“Fixed leading and trailing constraints may cause clipping” bug?

柔情痞子 提交于 2019-12-04 04:23:17
There's this other question here that addresses a similar issue, but in that case Xcode's behavior is correct, just annoying. In my case, however, I think it's actually a bug: That label can have an unlimited number of lines, so it'll never be clipped, the text will just break. It works fine with every localization: I want the label to be centered and I want the text to be at least 20 pixels away from the margins, so I set fixed constraints for the leading and trailing. Xcode wants me to change one of them to a "greater than or equal" constraint, but in that case the text won't be perfectly

UIImagePickerController Memory Leak Xcode 9 in Swift 4

放肆的年华 提交于 2019-12-04 04:21:05
问题 In my application I found a memory leak when I used the UIImagePickerController , I thought it was my application, but searching for a solution I found an Apple's sample and I also found that this sample has the same memory leak. You can find the example in the following URL. https://developer.apple.com/library/content/samplecode/PhotoPicker/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010196 According to the UIImagePickerController documentation: https://developer.apple.com/documentation