xcode4.4

NSURLRequest cachePolicy and connection in UIWebView

跟風遠走 提交于 2020-01-07 08:29:30
问题 I set up a UIWebView with a cachePolicy of NSURLRequestReloadIgnoringLocalAndRemoteCacheData, and everything was fine: when there was a connection, the UIWebView loaded, and when there wasn't, connection:didFailWithError: was called and I got my UIAlertView. But when I change the cachePolicy to NSURLRequestReturnCacheDataElseLoad (which is the policy I actually want), in the absence of a connection, the cached page loads and then, when I click on a link...nothing happens. No connection

crash of xcode 4.4 for mac

我的未来我决定 提交于 2020-01-06 19:57:44
问题 I just update xcode to v4.4 and when I run my project, xcode crash and the simulator's screen stay black. One of the solution I find is that I had to update to mountain lion (I had Lion) and to re-install xcode. But I wanna know if there's another option without updating to mountain lion. *Re-install xcode doesn't work. 来源: https://stackoverflow.com/questions/11813151/crash-of-xcode-4-4-for-mac

crash of xcode 4.4 for mac

无人久伴 提交于 2020-01-06 19:56:29
问题 I just update xcode to v4.4 and when I run my project, xcode crash and the simulator's screen stay black. One of the solution I find is that I had to update to mountain lion (I had Lion) and to re-install xcode. But I wanna know if there's another option without updating to mountain lion. *Re-install xcode doesn't work. 来源: https://stackoverflow.com/questions/11813151/crash-of-xcode-4-4-for-mac

XCode's svn “abort trap: 6” message

試著忘記壹切 提交于 2020-01-03 17:09:14
问题 I've discovered problem with svn tool after updating XCode to version 4.4. I receive "Abort trap: 6" message every time I try to execute any command like list, checkout, etc. For example: berec-Mac:~ berec$ /Applications/Xcode45-DP3.app/Contents/Developer/usr/bin/svn list https://source.com/mysource Abort trap: 6 Thank you in advance for advise. 回答1: Solution is here. The core of my problem was the Neon svn module. To resolve XCode's svn client I just replaced Xcode's svn binary by svn binary

How to change deployment target from iOS 5.1 to 4.2 in Xcode 4.4

北战南征 提交于 2020-01-02 19:13:36
问题 I am trying to change the deployment target from 5.1 to 4.2 in Xcode 4.4 and it's not working I downloaded debugging support for 4.1-4.2 I set Architecture to armv6 armv7 I set in plist armv6 armv7 I don't use storyboards 回答1: It's a known bug. XCode 4.4 doesn't let you target armv6 architecture. You'll have to downgrade to Xcode 4.3.3 to do this (learned it the hard way :-/). You'll have to download 4.3.3 from the Apple dev website. Also, make sure not to run both 4.4 and 4.3.3 at once. My

Interface Builder XIB Compiler error

只谈情不闲聊 提交于 2020-01-02 18:07:18
问题 I get this error message when connecting two UISwipeGestureRecognizers to a single view in my project inside of a XIB file (though not in a new project, curiously). Anybody know what this error means? It is a compile error, not a runtime error. I'm using Xcode 4.4 (this error doesn't happen on Xcode 4.5 actually). This is an error from inside interface builder. Assertion failure in -[IBCocoaTouchToolObjectPackage connectionsByProcessingConnections:], /SourceCache/IBSimulatorComponents

Interface Builder XIB Compiler error

落爺英雄遲暮 提交于 2020-01-02 18:07:12
问题 I get this error message when connecting two UISwipeGestureRecognizers to a single view in my project inside of a XIB file (though not in a new project, curiously). Anybody know what this error means? It is a compile error, not a runtime error. I'm using Xcode 4.4 (this error doesn't happen on Xcode 4.5 actually). This is an error from inside interface builder. Assertion failure in -[IBCocoaTouchToolObjectPackage connectionsByProcessingConnections:], /SourceCache/IBSimulatorComponents

Is there any way to get the neat Objective-C literal indexing feature in Xcode 4.4?

筅森魡賤 提交于 2019-12-28 11:57:33
问题 I read all about the new Objective-C literals, and used Xcode to convert my old code, but the indexing code didn't change. I changed it by hand but then it wouldn't compile. I saw a post that said we have to wait until iOS 6, but I want the indexing NOW! Is there any solution? 回答1: Well, there is a way to do it! Add the indexing methods as a category to NSArray and NSDictionary, and you can get the feature for most of the classes you'd want it for. You can read up on ObjectiveC literals here.

Is there any way to get the neat Objective-C literal indexing feature in Xcode 4.4?

做~自己de王妃 提交于 2019-12-28 11:57:05
问题 I read all about the new Objective-C literals, and used Xcode to convert my old code, but the indexing code didn't change. I changed it by hand but then it wouldn't compile. I saw a post that said we have to wait until iOS 6, but I want the indexing NOW! Is there any solution? 回答1: Well, there is a way to do it! Add the indexing methods as a category to NSArray and NSDictionary, and you can get the feature for most of the classes you'd want it for. You can read up on ObjectiveC literals here.

Phonegap CGImageCreateWithImageProvider Error

笑着哭i 提交于 2019-12-24 08:48:13
问题 I recently migrated to a new mac. I needed to update my older app one last time so I downloaded an older version of Xcode and Phonegap. I get this error when I try to set the background-size css for an image. CGImageCreateWithImageProvider: invalid image size: 210 x 210 This only happens when the app first starts up, if I try setting it after the app loads with weinre it works correctly. What is causing this? I saw that this error is related to the Mapview however I am not using one. iOS 4.2