xcode10

Segmentation fault: 11 - Xcode 10

淺唱寂寞╮ 提交于 2019-12-14 02:31:52
问题 While type-checking statement at RangeText="{ playlistNames = [] let requestLibrary = NSFetchRequest(entityName: "Library") let request = NSFetchRequest<NSFetchRequestResult>(entityName: "Playlist") request.sortDescriptors = [playlistSortDescriptor] playlists = try? context.fetch(request) as NSArray! print("Playlist Count - ",playlists.count) let librarys:NSArray! = try? context.fetch(requestLibrary) as NSArray! for library in librarys{ let libraryName = (library as AnyObject).value(forKey:

Missing “Target Membership” panel in Xcode10

限于喜欢 提交于 2019-12-13 15:20:21
问题 I came over this Issue xcode 9 Could not load the image referenced from a nib in the bundle with identifier when I was playing around with Xcode 10. No big deal, the solution is right in the linked topic, but unfortunately I don't have the 'Target Membership' Panel, when I select an Image. 回答1: Your images are inside a folder reference , indicated by the fact that the folder is blue. That means that only the folder can have target membership. The images inside it just come along for the ride.

Get same graphic output under Xcode 10 as under Xcode 9?

依然范特西╮ 提交于 2019-12-13 06:33:37
问题 I build the SheepShaver emulator (which, in its current version, uses SDL2 to create and display its window) for use in macOS. When I build under Xcode 9, the fonts and graphics are sharp and clear; when I build under Xcode 10 (on the same MacBook Pro running Mojave), the fonts and graphics are slightly fuzzy. I use exactly the same code when building on both Xcode versions. Is there a setting in Xcode 10 that will produce the same visual output that Xcode 9 produces? I've already got the

DarkMode doesn't work on Mojave when exported from archive

蓝咒 提交于 2019-12-13 04:34:18
问题 I use Xcode 10 and added all required stuff for DarkMode support. When I run the project on Mojave everything works. But when I archive and distribute the app using Xcode 10 on HighSierra, then my app doesn't appear in dark mode on Mojave. Shouldn't Xcode 10 archive Mojave compatible version anyway? 回答1: Possible reasons: You are using command line to create the archive, but your toolchain is set to use Xcode 9 You are using Dark Mode specific assets in asset catalog. Dark versions of those

AVPlayer/AVPlayerViewController giving warnings when I am trying to play/stop

帅比萌擦擦* 提交于 2019-12-13 04:27:41
问题 When I am playing video form this URL. http://www.html5videoplayer.net/videos/toystory.mp4 I am getting below warnings. let videoURL = URL(string: "http://www.html5videoplayer.net/videos/toystory.mp4") player = AVPlayer(url: videoURL!) iOS:- Here I am using AVPlayer to load URL and play video when I click on play button <2DAD5582-1C08-4D06-8FAF-DDDDE0681EC0>.<9> load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey= http://www

Xcode 10 build fail rm permission denied in /bin/sh/

霸气de小男生 提交于 2019-12-13 03:47:45
问题 I recently update my system to Xcode: 10 OSX : Mojave 10.14 For few days my iOS development works fine, but suddenly start facing following issues. dyld: Library not loaded: @rpath/Appsee.framework/Appsee Referenced from: /Users/a.b.ak1b/Library/Developer/CoreSimulator/Devices/2223E5BD-215F-48D7-8649-2D63ECBAE2B6/data/Containers/Bundle/Application/59E09AD0-ADAB-4221-A334-70F71DC6AC0B/MyApp.app/MyApp Reason: image not found But this issue was fixed by changing Xcode -> File -> Workspace

Classes in Swift files inside folder references not seen by Xcode 10's compiler

好久不见. 提交于 2019-12-13 03:36:02
问题 We have a project with nearly 1K Swift files. It just works well if everything is inside groups, but when trying to add some folder references to directories that contain Swift files, the compiler just can't see any thing defined inside these files (classes, for example). It works well for bundle and data files, but not for source code. I also tried changing existing groups to folders using different methods (dragging, using the menu and manually browsing, etc.) and XCode stops seeing the

Unable to launch /private/var/containers/Bundle/Application/.app

一世执手 提交于 2019-12-13 02:50:46
问题 I'm developing a react-native app for iOS and tried to build and run it on a new iPhone X (that I added to my apple developers account). The app is crashing on launch with this alert popping on Xcode10: "Unable to launch /private/var/containers/Bundle/Application/" Please note that the app is perfectly running on the iOS Simulator. Also note that I carefully went through the following procedures without any success: Unable to launch /private/var/containers/Bundle/Application/ Unable to launch

How to get to older Xcode beta version?

强颜欢笑 提交于 2019-12-12 09:47:24
问题 I have deleted Xcode 10 beta 3 and upgraded to Xcode 10 beta 5. However, due to this bug, I need to go back to an older beta (either 3 or 4). There is no direct link to older betas at https://developer.apple.com/download/. Is there a way to get to older betas of Xcode? 回答1: You can go to the https://developer.apple.com/download/ then simply copy the link under the download button of beta 5 and overwrite the 5 to 4 in the link. So you can download all old versions you want. 回答2: Download from

Xcode 10 fails to run XCTest/XCUITest on device [closed]

邮差的信 提交于 2019-12-12 09:08:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . After upgrading to XCode 10, it fails to run my tests on the device. After finish building, it immediately shows a popup "Test Failed" without showing any errors on the console. "Run" works on device. Both XCTest and XCUITest runs on simulator. The error is reproducible on new project running the default UITest on