xcode7.1beta

Optimization for newest iPad Pro Simulator

可紊 提交于 2020-01-31 10:49:07
问题 I have installed the newest Xcode 7.1 beta and trying to run my project on the iPad Pro Simulator. Everything is right and all of the features work correct. But I have an issue with the screen size... On the main screen of application I run the next log: NSLog(@"%f", self.view.bounds.size.width); I have 1024 for landscape orientation. But when I create a new application in Xcode 7.1 and run the same code on the main screen I get another value: 1366. Today I plan to find diffs between project

Optimization for newest iPad Pro Simulator

落爺英雄遲暮 提交于 2020-01-31 10:48:25
问题 I have installed the newest Xcode 7.1 beta and trying to run my project on the iPad Pro Simulator. Everything is right and all of the features work correct. But I have an issue with the screen size... On the main screen of application I run the next log: NSLog(@"%f", self.view.bounds.size.width); I have 1024 for landscape orientation. But when I create a new application in Xcode 7.1 and run the same code on the main screen I get another value: 1366. Today I plan to find diffs between project

Cannot debug app on Xcode 7.1 beta, with iOS 9.0 GM

风格不统一 提交于 2019-12-30 17:27:24
问题 I am getting the following error when trying to run my app using Xcode 7.1 Beta (7B60) with iOS 9.0 GM installed on my iPad: An error was encountered while enabling development on this device. Please try rebooting and reconnecting the device. (0xE8000076) Is there a fix for this issue ? Apple developer forum has one related post , but with no solution 回答1: You need to run iOS 9.1 beta together with Xcode 7.1 beta. Using a GM iOS and a beta Xcode together leads to this kind of problems. I'd

How to open url in Safari and the get back to the app under UITests in Xcode 7?

别等时光非礼了梦想. 提交于 2019-12-20 12:37:14
问题 This is my custom view where "LondonStreet" is a button. When I tap that button I get url and open it in Safari (it works). Then I can go back, using "Back to Wishlist" button (it also works). The problem is when I try to test this under UITests. itemsTable.cells.elementBoundByIndex(0).buttons["addressButton"].tap() //press the button to open link in Safari Along with this line: app.statusBars.buttons["Back to Wishlist"].tap() //go back, doesn't work, although it was recorded by Xcode itself.

Failed to launch IBCocoaTouchImageCatalogTool via CoreSimulator spawn

萝らか妹 提交于 2019-12-12 08:17:48
问题 I have an Xcode project which was downloaded from the internet so I don't know which Xcode version was used to write it but the language is Swift 2. I opened it in Xcode 7.1 beta 1 and I get the following compile time error. Failed to launch IBCocoaTouchImageCatalogTool via CoreSimulator spawn I deleted the DerviedData foler, cleaned and build the project several times. Tried converting the project to latest Swift syntax but it says there's nothing to convert. I'm all outta ideas. Suggestions

Optimization for newest iPad Pro Simulator

梦想的初衷 提交于 2019-12-03 14:55:29
I have installed the newest Xcode 7.1 beta and trying to run my project on the iPad Pro Simulator. Everything is right and all of the features work correct. But I have an issue with the screen size... On the main screen of application I run the next log: NSLog(@"%f", self.view.bounds.size.width); I have 1024 for landscape orientation. But when I create a new application in Xcode 7.1 and run the same code on the main screen I get another value: 1366. Today I plan to find diffs between project files created in old Xcode (6.4) and newest beta 7.1 using Araxis Merge. Do you now how to fix this

How to open url in Safari and the get back to the app under UITests in Xcode 7?

荒凉一梦 提交于 2019-12-03 05:47:30
This is my custom view where "LondonStreet" is a button. When I tap that button I get url and open it in Safari (it works). Then I can go back, using "Back to Wishlist" button (it also works). The problem is when I try to test this under UITests. itemsTable.cells.elementBoundByIndex(0).buttons["addressButton"].tap() //press the button to open link in Safari Along with this line: app.statusBars.buttons["Back to Wishlist"].tap() //go back, doesn't work, although it was recorded by Xcode itself. is an error: UI Testing Failure - Failed to get screenshot within 5s. And also in issue Navigator UI

Xcode 7.1 beta: Content Of File Error

倖福魔咒の 提交于 2019-12-02 18:33:01
问题 I had just finished the final touches to my swift app. But after upgrading to Beta 7 its giving me errors for the 'ContentOfFile' String. can anyone help me understand how I can go about fixing this please? here's what i've got ATM. //Reads the Text File if var path = NSBundle.mainBundle().pathForResource("Chapters", ofType: "txt"){ //Reads the Text File into one Huge String var data = String(contentsOfFile:path, encoding: NSUTF8StringEncoding, error: nil) //sets String content of the Text