Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Xcode 9 Quit
Hi guys,2 days ago I was normally working on Xcode and everything worked fine .. but then suddendly the day after .. it starts crashing 😟 no way to open it.I tried many times to uninstall (removing the library developer folder) then re-install it again .. but nothing.Today I deciced finally to upgrade to OS High Sierra thinking that maybe there was a compatibility problem. So after the update I install Xcode and it was working ..but after I click install the addionation plug-in .. it starts again crashing (quit unexpectaly).Here the report detills ..Process: Xcode [2029]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 9.2 (13772)Build Info: IDEFrameworks-13772000000000000~2App Item ID: 497799835App External ID: 825038102Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [2029]User ID: 501Date/Time: 2018-02-17 11:26:01.701 +0100OS Version: Mac OS X 10.13.3 (17D47)Report Version: 12Anonymous UUID: E3E9749E-4A42-2BDA-B161-270D7F6FB2EDTime Awake Since Boot
0
0
1k
Feb ’18
Reply to MLMediaLibrary, cannot connect / path not allowed in target domain
HI Denise,I am still stuck with the issue -MLMediaLibrary error obtaining remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.MediaLibraryService UserInfo={NSDebugDescription=connection to service named com.apple.MediaLibraryService}The same code works if I create a test App, but does not work from within my Application. Do you have any clues if I could be missing out something obvious.Thanks,Priya
Feb ’18
Xcode server hangs on 'processing warnings' while intergration
I've posted my question on StackOverFlow before:https://stackoverflow.com/questions/47214725/xcode-integration-bot-hangs-on-processing-warningsBut no reponse yet.So I checked my Xcode server build log carefully, and finally found something.Here is part of the log in 'buildService.log'```Mar 1 14:15:10 [751] <Info>: Integration commit history are needed but not loaded yet, fetching.Mar 1 14:15:10 [751] <Info>: Integration commits loaded successfully.Mar 1 14:15:11 [751] <Error>: Could not fetch some items from the source control cache: Error Domain=com.apple.dt.SourceControlErrorDomain Code=-1 Access to '/svnrepos/Vendors/SVG/TrafoParser.m' forbidden (1) UserInfo={com.apple.dt.sourcecontrol.UnderlyingErrorString=Authentication realm: <https://placeholder:443> subversionPassword for 'john': svn: E170013: Unable to connect to a repository at URL 'https://john@placeholder/TrafoParser.m//john@placeholdersvnrepos/Vendors/SVG/TrafoParser.m'svn: E175013: Access to '/svnrepos/Vendors/SVG/TrafoP
0
0
1.2k
Mar ’18
Crash report help
Hello,I have an iOS game and recently I wanted to post an update to iTunes connect. Update was not accepted, as game crashed when they tested it. They sent me crash report, and I would ask for some help with it, as I have no experience with that kind of stuff. It never happened before (that is probably around 5th update of that game).Game is developed in Unity. I tested it on multiple iPhones and it never crashed, but I see that crash report mentions iPad, so i will try and test it on iPad also.I would appreciate any help with interpretation of that crash report.Regards, L{app_name:skyball,timestamp:2018-03-01 20:30:37.54 -0800,app_version:4.2,slice_uuid:79e74b98-d81e-3e81-8d21-1c43cab82d89,adam_id:0,build_version:1,bundleID:co.reachmobinc.skyball,share_with_app_devs:false,is_first_party:false,bug_type:109,os_version:iPhone OS 11.2.5 (15D60),incident_id:7A9C61B7-5E09-4A83-B70E-C65E7887F192,name:skyball} Incident Identifier: 7A9C61B7-5E09-4A83-B70E-C65E7887F192 CrashReporter Key: 16d172a5bb125bff98f7c1cc5a0444
7
0
3.9k
Mar ’18
Reply to Crash report help
Hi Luka,Any news on this rejection? We just got the same rejection including the huge pause in the log between these 2 lines.2018-03-01 20:30:27.0217 -0800 0xe9c6 1024 0x0 4406 FrontBoardServices: [FBSScene] [co.reachmobinc.skyball - AirPlay] Created client agent: <UIApplicationSceneClientAgent: 0x10e1216a0> 2018-03-01 20:30:33.7558 -0800 0xea97 1024 0x0 4406 CoreMotion: #Warning Error reading file //private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist: Error Domain=NSCocoaErrorDomain Code=257 The file “com.apple.CoreMotion.plist” couldn’t be opened because you don’t have permission to view it. UserInfo={NSFilePath=//private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist, NSUnderlyingError=0x10deda830 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
Mar ’18
Reply to Keychain retrieval failure
They are getting the below exception:*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Keychain retrieve Error - Error Domain=NSCocoaErrorDomain Code=3840 Cannot parse a NULL or zero-length data UserInfo={NSDebugDescription=Cannot parse a NULL or zero-length data}'
Topic: Privacy & Security SubTopic: General Tags:
Mar ’18
[NSFileManager] Is there an official workaround for this issue related to security in macOS 10.11 and later?
ContextIn macOS 10.11, the com.apple.rootless extended attribute was introduced (for SIP AFAIK).So system applications in /Applications have a com.apple.rootless extended attribute set on their .app directory.Now, let's image we write the following hypra complex command line tool:#import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { NSError * tError; if ([[NSFileManager defaultManager] copyItemAtPath:@/Applications/Image Capture.app toPath:@/Users/Shared/Image Capture Copy.app error:&tError]==NO) { NSLog(@%@,tError); } } return 0; }It woud be reasonable to expect this to work fine considering that if you use the Finder to copy the .app, it works perfectly fine.Of course, - [NSFileManager copyItemAtPath:toPath:error:] will return NO.2018-03-22 22:57:29.739730+0100 testCopy[806:22972] could not set attributes com.apple.rootless on destination file descriptor: Operation not permitted: Operation not permitted 2018-03-22 22:57:29.787798+0100 testCopy[806:22972] Er
3
0
1.3k
Mar ’18
Can Safari App Extensions use URLSession objects?
Hi All,I'm trying to develop a Safari App extension with a view to porting our legacy Safari extension to the new system however I have run into a few problems.I'm new to MacOS and Swift development so please bear with me. I want to load a block of JSON data from our server as part of the required dataset for our extension and I'm using the following Swift code.class JSON { static func get(from: String) { let source = URL(string: from) let request = URLRequest.init(url: source!) URLSession.shared.downloadTask(with: request, completionHandler: {(location, response, error) -> Void in print(DOWNLOAD TASK COMPLETE) if let err = error { print(ERROR OCCURRED (err)) } else { print(RESPONSE (response!)) } }).resume() } }The problem is that despite me knowing the server is online and the data is accessible I get the following error in the console when I try and run the Extension scheme (so that it runs within Safari and I can see the output in the console log).2018-03-27 16:36:02.810738+0100 Safari[70551:12491320]
0
0
1.1k
Mar ’18
Memory mapped file: "Cannot allocate memory"
Hello,I am having an hard time figuring out how memory mapped files works under iOS. Suppose that I want to read a big file, let's say 4GB. If I use memory mapped files in READ mode I should be able to get a valid pointer to a file and benefit from the page fault mechanism of virtual memory but apparently iOS can map only up to 2.5GB of data. I run the following test on an iPad Pro A1673 that has 2GB of ram and got as result:2018-04-06 17:20:12.660888+0200 TestMemory[414:316466] Data address: 0x1022240002018-04-06 17:20:12.662355+0200 TestMemory[414:316466] Data address: 0x1122240002018-04-06 17:20:12.663801+0200 TestMemory[414:316466] Data address: 0x12b9000002018-04-06 17:20:12.665235+0200 TestMemory[414:316466] Data address: 0x13b9000002018-04-06 17:20:12.666756+0200 TestMemory[414:316466] Data address: 0x14b9000002018-04-06 17:20:12.668202+0200 TestMemory[414:316466] Data address: 0x15b9000002018-04-06 17:20:12.669597+0200 TestMemory[414:316466] Data address: 0x16ff240002018-04-06 17:20:12.739549+0200 Tes
10
0
7.9k
Apr ’18
Reply to What is required to register for CoreWLAN events?
Sorry I was printing the localizedDescription of the error which isn't helpful at all. 😟So, this is what I Catch:(lldb) po errorError Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.airportd was invalidated. UserInfo={NSDebugDescription=The connection to service named com.apple.airportd was invalidated.}(lldb) po error.localizedDescriptionCouldn’t communicate with a helper application.
Apr ’18
Xcode9 iOS export archive fails on correct format
I have an iOS app that is building on both xcode8 (Sierra) and on xcode9 (High Sierra).When I'm doing exportArchive it passes on xcode8 but fails on xcode9.I have the provisioningProfiles section in my plist, and the failure in on correct format. <?xml version=1.0 encoding=UTF-8?> <!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd> <plist version=1.0> <dict> <key>method</key> <string>enterprise</string> <key>teamID</key> <string><Our teamID></string> <key>signingStyle</key> <string>manual</string> <key>signingCertificate</key> <string><Our signingCertificate></string> <key>provisioningProfiles</key> <dict> <key><Our bundleID></key> <string><App Name></string> </dict> </dict> </plist>I have another app that I'm building and everything is fine. Both xcode8 and xcod
1
0
5.3k
Apr ’18
Reply to What is required to register for CoreWLAN events?
Error Domain=NSCocoaErrorDomain Code=4099Hmmm, that looks exactly like the error that I was under the impression we’d fixed in 10.13.4 (r. 36702504). At this point I’m going to have to revisit this issue in depth and that’s not something I can do in the context of DevForums.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Apr ’18
First App won't work on iPhone, Command builtin-rm failed with exit code 512
I get Command builtin-rm failed with exit code 512 error when trying to run app on iPhone. Works fine in simulator. I think it has to do with a duplicate file name some where?? , but I don't know how to find files in MacOS (im a windows user and new to MacOS). So, the name of my app is My First App, and I think I have the files for the app nested in 2 levels of My First App folders. If I try to copy and paste the files so it is not nested, it breaks my app bad, so doesn't really work. Here is the full error:Clean.Remove clean /Users/justinjohnston/Library/Developer/Xcode/DerivedData/My_First_App-gsyqfrxwuyovrdcjfhsqhcifjpty/Build/Products/Debug-iphoneos/My First AppUITests-Runner.app/PlugIns/My First AppUITests.xctest builtin-rm -rf /Users/justinjohnston/Library/Developer/Xcode/DerivedData/My_First_App-gsyqfrxwuyovrdcjfhsqhcifjpty/Build/Products/Debug-iphoneos/My First AppUITests-Runner.app/PlugIns/My First AppUITests.xctestError Domain=NSCocoaErrorDomain Code=512 “My First AppUITests.xctest” couldn’
0
0
751
Apr ’18
Lightweight migration not working. Error Domain=NSCocoaErrorDomain Code=134100
I am coding a new version of my app and it has a new store version. I add a new version of the model and set the Model version of the new model in the Inspector view of the model.I added an options dictionary to addPersistentStoreWithType (as explained in the documentation of Lightweight migration)...NSDictionary *options = @{NSMigratePersistentStoresAutomaticallyOption: @YES, NSInferMappingModelAutomaticallyOption: @YES};But I am receiving the following error...Error Domain=NSCocoaErrorDomain Code=134100 The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store.Please suggest what I should do.
2
0
1.3k
Apr ’18
Reply to No iTunes Connect access for the team
I'm having the same issue. I put a ticket in with Apple support...they replied that they should get to me tomorrow...awesome. Anyway I followed the instructions in your post just to see if I was getting the same and I seem to have a different issue - I am posting the entire log but going through it, it seems :DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7ff6056103a0; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')2018-05-04 12:46:10.961 Xcode[67026:30975524] DVTPortal: Error:Error Domain=DVTPortalServiceErrorDomain Code=1100 Your session has expired. Please log in. UserInfo={payload=<CFBasicHash 0x7ff606593f00 [0x7fff9eaeeaf0]>{type = mutable dict, count = 9,entries => 0 : responseId = <CFString 0x7ff606e41e50 [0x7fff9eaeeaf0]>{contents = d7729402-1f38-43fd-8175-6d54cd04136e} 2 : <CFString 0x7fff9ea11b58 [0x7fff9eaeeaf0]>{contents = protocolVersion} = QH65B2 3 : <CFString 0x7ff6050416a0 [0x7fff9eaeeaf0]>{contents = requestUrl} =
May ’18