xcode9

App Icon missing iOS 11

回眸只為那壹抹淺笑 提交于 2019-11-27 18:46:32
问题 After updating to Xcode 9 (9A235), app icon was missing after running on iOS 11. It was working fine in previous version. This issue is caused by CocoaPods. I have tried this solution but this is giving me error. An error occurred while processing the post-install hook of the Podfile. 回答1: Try adding this script in your podfile. post_install do |installer| installer.aggregate_targets.each do |target| copy_pods_resources_path = "Pods/Target Support Files/#{target.name}/#{target.name}-resources

Module compiled with Swift 4.0 cannot be imported in Swift 4.0.1

帅比萌擦擦* 提交于 2019-11-27 17:29:11
However I have recompiled the framework using the same Xcode and it still gives me this error. Base SDK iOS 11.1 for both Swift Language Version Swift 4.0 for both Not using Pods/Carthage I hope someone might know Zig Update: For release versions of Xcode: This error (and similar errors involving Swift 4.1, 4.2, etc.) will occur when opening a project with Xcode 9.1, 9.2, 9.3, 9.4, 10, etc. that uses frameworks that were built with earlier Xcode tools. To fix the issue, update and rebuild your frameworks using Carthage ( carthage update --platform iOS ), Cocoapods ( pod update or pod install )

Xcode 9 “iPhone is busy: Preparing debugger support for iPhone”

浪子不回头ぞ 提交于 2019-11-27 16:39:58
I'm looking for more information on this message. Xcode 9 seems to be hanging for a couple minutes already. How can I tell Xcode 9 to quickly recognize my previously used device updated to iOS 11? .Alex’s iPhone is busy: Preparing debugger support for .Alex’s iPhone Xcode will continue when .Alex’s iPhone is finished. There are multiple solutions for this: Solution 1: Patiently wait for 10 to 15 minutes. Have a tea or roam around ;-) Solution 2: Disconnect device from the system. Restart both iPhone and Xcode and then rebuild again. Solution 3: Go to Windows → Devices and Simulators (Shortcut

Location access - App is not asking for user permission to access location - iOS 11

你说的曾经没有我的故事 提交于 2019-11-27 14:29:54
Description App is not asking for user permission to access location and getting state notDetermined Working perfectly till iOS-10 var locationManager : CLLocationManager! func getLocationDetails() { locationManager.delegate = self locationManager.desiredAccuracy = kCLLocationAccuracyBest locationManager.requestAlwaysAuthorization() locationManager.allowsBackgroundLocationUpdates = true locationManager.startUpdatingLocation() } func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) { if status == CLAuthorizationStatus.authorizedAlways || status

Xcode 9 commit: Couldn't communicate with helper application

混江龙づ霸主 提交于 2019-11-27 13:53:51
I've recently updated to OSX Sierra (from El Capitan) and to Xcode 9. I removed all compatibility issues (like autolayout issues) and would like to commit to my local gitrep now. the following error appears: I thought it might be the same bug appeared in XCode 7 mentioned here: Xcode and Git Source Control : “The working copy XXXXX failed to commit files” But it wasn't. I tried the solution mentioned above. Username and EMail are properly set. I did save everything, tried restarting the machine and a few other minor things. Nothing worked - i can't commit. Any help appreciated. EDIT I got it

iOS 11 Layout guidance about safe Area for iPhone x

纵饮孤独 提交于 2019-11-27 13:19:31
My application already in app store, yesterday i have updated my Xcode version to 9 and works fine except iPhone x . UI got collapsed. 1.Here I have Created Two UIView (both are fixed height) named as Header and Tab bar and I have hidden my NavigationBar entire app. 2.Added extension to UIViewController for making Header and Tab bar func addHeaderTab(currentViewController:UIViewController,content:String, isMenu:Bool){ let noView = TopHeaderView() noView.tag = 12345 noView.isMenu = isMenu noView.translatesAutoresizingMaskIntoConstraints = false currentViewController.view .addSubview(noView) if

How to build Swift 3 project on Xcode 9?

大兔子大兔子 提交于 2019-11-27 12:55:22
问题 Xcode 9 Release Notes says that Swift 3 compilation is supported: One compiler for Swift 4 and Swift 3 , Swift 4 and Swift 3 targets can be compiled together in the same project. I have installed Xcode 9 beta. But when I press Build it shows bunch of errors. Are some special preparations need to do when use Swift 3 in Xcode 9? UPD: Module compiled with Swift 3.1 cannot be imported in Swift 4.0 回答1: Select the target, goto Build Settings > Swift Language Version : 回答2: All the above answers

Missing CFBundleIconName in Xcode9 iOS11 app release

送分小仙女□ 提交于 2019-11-27 11:44:55
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 CFBundleIconName is missing in the bundle ''. Apps that provide icons in the asset catalog must also provide

Xcode 9 asset catalog Preserves Vector Data not working?

北城以北 提交于 2019-11-27 01:35:47
问题 I thought the new Preserves Vector Data checkmark in the Xcode 9 asset catalog would finally give us resizing of vector PDF images, but apparently not. Here's my test image seen at two zooms in Preview: Nice and sharp with lots of zoom, so clearly this is a vector image. But here's what two image views look like in my app: So where's my vector data? Is this much-desired feature still missing in action? Does it still work only for the automatically generated 2x and 3x images? And if so, what

CredStore Perform Query error

你离开我真会死。 提交于 2019-11-27 00:07:21
I am running into an issue while doing API calls to my apps backend, every connection now prompts with CredStore - performQuery - Error copying matching creds. Error=-25300, query={ atyp = http; class = inet; "m_Limit" = "m_LimitAll"; ptcl = http; "r_Attributes" = 1; srvr = "myappsurl.com"; sync = syna; } I am a little lost as I am not sure what is causing this, or what CredStore even does. What purpose does CredStore serve in iOS? This error occurs when trying to retrieve an URLCredential from URLCredentialStorage for an unknown URLProtectionSpace . e.g. let protectionSpace =