xcode9

Xcode ios app development code signing

旧街凉风 提交于 2019-12-29 08:01:29
问题 When I run my app into my iphone I have this Warning: unable to build chain to self-signed root for signer "". My application Installed in iphone but it closed suddenly. 回答1: I had the same problem and basically did like posted in the comment: Remove my account at Xcode / Preferences at the top right. open keychain. At the left "my certificates": Delete the Mac or iPhone etc Developer certificate. just starting Xcode again and creating a new account like one did when starting Xcode for the

How to set up SVN repository in xCode 9.0

北城以北 提交于 2019-12-29 06:57:08
问题 With xCode 9.0, I am facing problem with SVN setup. I could not find any option to add SVN repository which was working proper with earlier versions of xCode. In source control, I am getting GIT everywhere. I am using SVN for long time and was properly working with earlier versions of xCode but this is not working with xCode 9.0. 回答1: If you have older version of xcode and above method of upgrade is not working or cannot be used then Terminal can be used to upgrade. Go to Terminal change

Unable to install app in simulator xcode 9 beta

本秂侑毒 提交于 2019-12-29 05:45:32
问题 I downloaded Xcode 9 beta recently, and when I tried to run my app in the simulator it is not getting installed. I am getting this error in my Xcode every time I try to run the app. Any help provided will be appreciated. Thanks in advance. P.S: Application used to work in Xcode 8.3.3 回答1: Unfortunately, the error message doesn’t explain why the install failed. You can take a look at ~/Library/Logs/CoreSimulator/CoreSimulator.log to see if the rest of the error message is there with more info.

What is safe area in xib in xcode 9? [duplicate]

巧了我就是萌 提交于 2019-12-29 04:35:31
问题 This question already has answers here : Safe Area of Xcode 9 (5 answers) Closed 2 years ago . Can you please let me know what is safe area (highlighted in image) in xibs in xcode 9. and what is use of this? 回答1: Example link of safe area XIB. Safe label constraints is - Safe Area Layout Guide is UIView property, Safe areas help you place your views within the visible portion of the overall interface. Safe area not covers navigation bars, tab bars, toolbars, and other ancestor views. Use safe

Missing CFBundleIconName in Xcode9 iOS11 app release

孤街浪徒 提交于 2019-12-28 03:31:04
问题 I'm struggling to release a new version of our app using Xcode 9 built with iOS 11 SDK. Archiving and uploading the binary goes well without any issue. The build appears in iTunes Connect under Activity as 'processing' and it gets disappear and I get the following email back. Dear developer, We have discovered one or more issues with your recent delivery for "". To process your delivery, the following issues must be corrected: Missing Info.plist value - A value for the Info.plist key

After upgrading to Xcode 9.0, existing application getting an error “dyld: dyld_sim not compatible mach-o”

馋奶兔 提交于 2019-12-25 18:19:23
问题 After upgrading to Xcode 9.0 , existing application getting an error: "dyld: dyld_sim not compatible mach-o" Any comments? 回答1: In the build setting you need to replace architectures to Standard like as screen shot ... works for me. 回答2: Delete the 32bit architecture and use default architecture in build settings 回答3: This occurred because ios 11 compatible for 64 bites, to solve this issue follow this steps: 1-app target>>Building Settings >>valid Architectures must be in this order armv7

in Swift4, replacement of navigationItem.leftBarButtonItem resizes unwanted

旧巷老猫 提交于 2019-12-25 12:43:40
问题 Having a problem with UIBarButtonItem resizing when returning to VC with different values for frame and image. var selectedR = 1 var leftFrame = CGRect() var leftImage = UIImage() override func viewDidLoad() { super.viewDidLoad() if selectedR == 0 { leftFrame = CGRect(x: 0, y: 0, width: 33, height: 33) leftImage = UIImage(named: “pic-0”)! } else if selectedR == 1 { leftFrame = CGRect(x: 0, y: 0, width: 79, height: 33) leftImage = UIImage(named: "pic-1")! } else if selectedR == 2 { leftFrame =

Pushing code from Xcode to Visual Studio Team Service

旧街凉风 提交于 2019-12-25 02:44:39
问题 I am trying to push my source code to Visual Studio Team Services. When i push my code i got the following error from Xcode. The source control operation failed because the URL "https://test.visualstudio.com/DefaultCollection/_git/myProj" cannot be used with Git. Things which i tried: 1.Create Remote origin with Remote Name: Origin, Location: "https://test.visualstudio.com/DefaultCollection/_git/myProj" 2.After commit i can't push my code 回答1: Please check the following steps, to see whether

Cannot convert value of type '[String : Date]' to expected argument type '[FileAttributeKey : Any]?'

ε祈祈猫儿з 提交于 2019-12-24 18:32:58
问题 when i update code to swift 4 get this error , how i can fix this? ERROR SCREEN SHOT let fullPath = destination.appendingPathComponent(pathString).path let creationDate = Date() let directoryAttributes = [FileAttributeKey.creationDate.rawValue : creationDate, FileAttributeKey.modificationDate.rawValue : creationDate] do { if isDirectory { try fileManager.createDirectory(atPath: fullPath, withIntermediateDirectories: true, attributes: directoryAttributes ) } else { let parentDirectory =

iOS swift 4 imageview under scrollview : double tap to zoom out

ぃ、小莉子 提交于 2019-12-24 04:39:09
问题 I have already applied the image view to zoom in/out by pinch. That is easy. When it comes to applying double taps on the image view, the select method cannot be detected. I use Xcode 9 and swift 4 . Would you please tell me whether scrollview should apply the double tap gesture instead ? var previewImage : UIImage? = nil override func viewDidLoad() { super.viewDidLoad() scrollView.minimumZoomScale = 1.0 scrollView.maximumZoomScale = 6.0 imageView.image = previewImage let doubleTap =