Search results for

NSCocoaErrorDomain Error Code 4

170,054 results found

Post

Replies

Boosts

Views

Activity

Weird error converting date code
This line of code I could not get to compile in S2 (yes it worked in 1.2):let newerDate = calendar.dateByAddingUnit(NSCalendarUnit.Day, value: 1, toDate: NSDate(), options: nil)The error message:Cannot invoke 'dateByAddingUnit' with an argument list of type '(NSCalendarUnit, value: Int, toDate: NSDate, options: nil)'Must be a bug.
3
0
342
Jun ’15
iOS 9 Error 14
Have tried 5 or 6 times now it install the beta package for 1474 on two diffrent computers. Each time the install freezes after about 10% and itunes pops and error code 14. I have tried diffrent cables and ports with no luck so far. I have tried redownloading the package to insure it wasnt corrupted but still no luck. It restores to 8.3 from both computers without trouble. I am unsure what to do from here. Has anyone else come across this and resolved it? Any suggestions as to what to try next? Your help is appreciated.
8
0
842
Jun ’15
WiFi EAP-TLS errors
Wanted to see if anyone else is having issues connecting to their enterprise wifi. A setup that is working just fine in Mavericks and Yosemite no longer works in El Capitan, instead we get the following errors:Jun 9 15:30:25 mac eapolclient[2803]: [eaptls_plugin.c:397] eaptls_handshake(): SSLHandshake failed, <unknown> (-9850)Jun 9 15:30:25 mac eapolclient[2803]: en0 EAP-TLS: authentication failed with status 1001Jun 9 15:30:25 mac eapolclient[2803]: State=Held Status=SecurityError (1001): <unknown> (-9850):This loops until I turn off the adaptor.Tried the following and have not been able to get it working so farYosemite machine - fully enrolled and able to use the wifi network - upgraded to El CapitanYosemite machine - unenrolled - upgraded to El Capitan and enrollment attempted (failed)Need to try a fresh 10.11 install and will update after
5
0
8k
Jun ’15
Cannot redeem the code.
Hello! I have a MacBook Pro Mid 2014 with OS X 10.10.4 installed and recently was going to update to OS X 10.11 but when I press download developer beta it does launch the app store but it doesnt get me to any page. I tried to manually enter the code, but when I do that it says Your code could not be redeemed at this time!
1
0
393
Jun ’15
Reply to iPhone + (null) (paired device OS version)
i was seeing this as well. Tried reboots of mac, phone, and watch. Lots of error messages being displayed in console. I reinstalled xcode, installed the watchos profile on my phone, I also switched to a different lightning cable in a different port. After that last one opening Xcode and my phone appeared along with the watch. I'm still seeing RST requests in console from my phone but Xcode is at least acknowledging the devices. It could see the phone on its own in non watch projects.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode 7 Documentation Download: "image not recognized"
I have downloaded the Xcode 7 beta, and am in the process of trying to download the documentation. However, for all four docsets, I receive the following error message:Could not download and install Xcode 7 Documentation. Failed to mount file:///Users/<user>/Library/Caches/com.apple.dt.Xcode/Downloads/<docset>.dmg at file:///var/folders/vc/<random string>/T/attached-image-<random string>/: image not recognizedI have tried clearing out ~/Library/Caches/com.apple.dt.Xcode, and restart both Xcode and my machine, but keep encountering this error. How can I resolve this?Thanks.
1
0
764
Jun ’15
WCSession sendMessage returning errors (simulator)
I think I've got my Connectivity stuff set up properly, was going off the Lister sample app. But, every time I try to send stuff via WCSession, it fails. Here's the code:// iOS App, in my ViewController override func viewDidLoad() { super.viewDidLoad() if WCSession.isSupported() { WCSession.defaultSession().delegate = self WCSession.defaultSession().activateSession() } } func session(session: WCSession, didReceiveMessage message: [String : AnyObject]) { let msg = message[message] as! String print(Got message! (msg)) } // -------------- // WatchKit Extension - WKInterfaceController subclass @IBAction func buttonTapped() { let session = WCSession.defaultSession() print(Session is reachable: (session.reachable)) // this is false let msg = [message: derp derp derp] session.sendMessage(msg, replyHandler: { reply in print(Got reply: (reply)) }, errorHandler: { error in print(error: (error)) }) }The error in the errorHandler reads Error Domain=WCErrorDomain Code
6
0
6.9k
Jun ’15
SKDefaultShading with Metal-based SceneKit
On iOS 8, this code (Swift) worked:let shaderString = void main() + { + gl_FragColor = SKDefaultShading().bgra; + } let shader = SKShader(source: shaderString)Now on iOS 9, with Metal under the covers, I get this error message:2015-06-09 18:36:39.497 TestVideoCam[550:63920] Jet: Error Domain=MTLLibraryErrorDomain Code=3 Compilation failed: program_source:6:321: error: use of undeclared identifier 'SKDefaultShading' fragment float4 SKShader_FragFunc( texture2d<float> u_texture [[texture(0)]], const device float *u_time [[buffer(0)]], const device float2 *u_sprite_size [[buffer(1)]], const device float *u_path_length [[buffer(2)]], SKShader_VertexOut interpolated [[stage_in]]){return SKDefaultShading().bgra;} ^ UserInfo=0x156e50c10 {NSLocalizedDescription=Compilation failed: program_source:6:321: error: use of undeclared identifier 'SKDefaultShading' fragment float4 SKShader_FragFunc( texture2d<float> u_texture [[texture(0)]], const device float
13
0
4.0k
Jun ’15
Loading an .Obj model file
I created a simple model in an obj and attempted to load it as an Assetlet bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Torus, ofType: obj) var torusModel = MDLAsset(URL: NSURL(string: path!)!)Error message: Could not load data from /Users/jason/Library/Developer/Xcode/DerivedData/MetalDemo-auxpwrdxoklbrpbtkxmrhkecewhb/Build/Products/Debug/Met ... orus.obj
7
0
35k
Jun ’15
error itms-90023
I am trying to submit an app but i get the error itms-90023. It says that the icon file of exact size 76x76 for ipad missing.I cheked the asset catalog and the file is ther. The size is also exactly 76x76.Dose anybody know what causes the error and how it can be solved.Thanks.
2
0
1.8k
Jun ’15
Reply to Xcode 7 Doesn't See My Framework
Check the Target Platform of your framework and watchkit extensiosn in their Build Settings.It seems currently Xcode 7 only lets you choose either iOS or watchOS, but since your framework is shared between platforms you need to manually put all 4 of: watchsimulator, watchos, iphonesimulator, iphoneosIn my case, after fixing the above, I also needed to add armv7k and i386 to Valid Architectures.Then I finally got to see all the new WatchKit compile errors 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Security and Your Apps notes
Network securityHTTPS, TLSIn 2015, TLS is a minimum baselineMany servers default to TLSv1.0, from 1999Newest version is TLSv1.2TLSv1.2 is not enough. Compromise of a server key lets you decrypt all TLS traffic that was encrypted in the past.With forward secrecy, a server key compromise will only let you read future traffic. Past traffic will not be able to be decrypted.By default, apps linked against iOS 9 and OS X 10.11 cannot make unprotected HTTP connections.TLS connections will need to comply with best practices- Exceptions can be declared on a case-by-case basis in your app's Info.plist file.System Integrity ProtectionDefense in DepthSecurity is about layersOne layer failing shouldn't defeat all securityRely on multiple layers of protectionDelay the attackerReduce your attack surfaceSeque into talking about Vauban and star fortresses. History lesson FTW.OS X's star fortress security model:Outermost line - Developer ID and GatekeeperSecond layer - Sandbox - attacker only gets access to the data which the
0
0
3.1k
Jun ’15
iOS 9 Multitasking Issue
When you close all the app in the multitasking window you really thought that it closes all of the apps but it didn't when you open Settings for example and swipe your four fingers to the left/right of the screen you will go back to your recent app that you surely closed earlier, And when you open the multitasking window the recent app you closed is back.
0
0
281
Jun ’15