xcode9-beta

Failed to read file attributes for Images.xcassets in Xcode 9

我们两清 提交于 2019-11-30 11:11:28
I have old project that is running in Xcode 8 fine but when i am trying to run the project in Xcode 9 beta version I am getting the error Failed to read file attributes for Images.xcassets Removing the reference of Images.xcassets and adding it again in Project resolved the error. It fixes for me by update to latest Cocoapods: sudo gem install cocoapods --pre I did face the same errors what you've but I just fixed it following ways- Delete the project's derived data Exit Xcode and open it again Check your "Full path" in inspector and path in Finder, probably they are different. I also had this

Xcode 9 doesn't have any simulator device

拟墨画扇 提交于 2019-11-30 07:12:12
问题 I just downloaded xcode 9 beta, but there is no simulator within it. Try to add new simulator but the create button doesn't work. Please help By "no simulator within it" I mean there is option to build with simulator. See . Also, the create button doesn't work 回答1: Go to Xcode Preferences -> Locations and go to the Derived Data location in Finder: Just remove all contents from it, then right click on Xcode icon and quit it, and reopen it: 回答2: It is a simulator but you need to close Xcode 8

xCode 9 - iOS 11: NSURLConnection - sendAsynchronousRequest fails

雨燕双飞 提交于 2019-11-30 00:52:08
问题 I just downloaded the latest version of xCode (9.0 beta (9M136h)). However, when I try to make a request to my server in iOS 11 simulator (Using NSURLConnection sendAsynchronousRequest), an error is received: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9807) NSURLConnection finished with error - code -1202 NSError object contains the message - @"NSLocalizedDescription" : @"The certificate for this server is invalid. You might be connecting to a server that is

Failed to read file attributes for Images.xcassets in Xcode 9

…衆ロ難τιáo~ 提交于 2019-11-29 16:41:29
问题 I have old project that is running in Xcode 8 fine but when i am trying to run the project in Xcode 9 beta version I am getting the error Failed to read file attributes for Images.xcassets 回答1: Removing the reference of Images.xcassets and adding it again in Project resolved the error. 回答2: I did face the same errors what you've but I just fixed it following ways- Delete the project's derived data Exit Xcode and open it again 回答3: Check your "Full path" in inspector and path in Finder,

xcode 8.3 framework not found FileProvider for architecture armv7

拜拜、爱过 提交于 2019-11-29 11:38:16
问题 When I'm using xcode 9 beta 6 building a react-native project, it works fine. But after I change to xcode 8.3, it builds failed, and shows me these information: ld: framework not found FileProvider for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Apple Mach-O Linker (ld) Error Group : Linker command failed with exit code 1 (use -v to see invocation) How could I do if I use xcode 8.3 to develop ? I'm not able to use xcode 9 because of this:

Closure tuple does not support destructuring in Xcode 9 Swift 4

主宰稳场 提交于 2019-11-29 05:26:55
After the gloss project for Swift 4 in Xcode 9 I am getting following error which i have no idea Closure tuple parameter '(key: _, value: _)' does not support destructuring Code: extension Dictionary { init(elements: [Element]) { self.init() for (key, value) in elements { self[key] = value } } func flatMap<KeyPrime, ValuePrime>(_ transform: (Key, Value) throws -> (KeyPrime, ValuePrime)?) rethrows -> [KeyPrime:ValuePrime] { return Dictionary<KeyPrime, ValuePrime>(elements: try flatMap({ (key, value) in return try transform(key, value) })) } } Error comes at this point try flatMap({ (key, value

How can I add file to project in Xcode 9?

末鹿安然 提交于 2019-11-29 03:56:38
I created a new project in xcode 9. I want to add image file to project. When I delete this file from desktop, Image file appears in red? But in project folder, I find this image file. In Xcode 8 its working fine, Any idea? Xcode 9 allows to have folders in Xcode synced with folder in your Finder structure. I assume this is a bug since Xcode 9 is still in beta and you are "ticking" the Copy items if needed. Try moving the image to your project folder yourself and drag it from there to Xcode. This is what you would do to leave the Copy items if needed box unticked since you are doing it

Unable to install app in simulator xcode 9 beta

梦想的初衷 提交于 2019-11-29 03:09:40
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 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. If not, you should check out the sim device’s system log: sudo xcode-select -s /Applications/Xcode-beta.app

Xcode 9 doesn't have any simulator device

元气小坏坏 提交于 2019-11-29 02:02:36
I just downloaded xcode 9 beta, but there is no simulator within it. Try to add new simulator but the create button doesn't work. Please help By "no simulator within it" I mean there is option to build with simulator. See . Also, the create button doesn't work Go to Xcode Preferences -> Locations and go to the Derived Data location in Finder: Just remove all contents from it, then right click on Xcode icon and quit it, and reopen it: It is a simulator but you need to close Xcode 8 if you have it open and restart Xcode 9 beta . This may happen due to multiple Xcode installed on machine or might

Use the increased navigation-bar title in iOS 11

∥☆過路亽.° 提交于 2019-11-28 16:19:14
iOS 11 Beta 1 uses the increased navigation-bar title for almost all system-apps (it started doing this in iOS 10 and the Music app). I am wondering if Apple has a public API for this coming in iOS 11, or whether it will stay private for now. The behavior is that the title has an increased font-size, is left aligned and will move to the navigation-bar once the user scrolls down. I've attached some screens showing this behavior in the Messages app here: Although I could not find any reference in the UINavigationController and UINavigationBar so far, maybe someone knows some more details! Moin