Search results for

We are unable to process your request

69,589 results found

Post

Replies

Boosts

Views

Activity

Reply to NSURLConnection times out after reopening app
I'm wondering if it could come from the request itself. Here it is:NSMutableURLRequest *request = [Services postRequest]; // set URL NSURL *url = [NSURL URLWithString:SERVICE_URL]; [request setURL:url]; NSString *boundary = [Services generateBoundary]; // set Content-Type in HTTP header NSString *contentType = [NSString stringWithFormat:@multipart/form-data; boundary=%@, boundary]; [request setValue:contentType forHTTPHeaderField: @Content-Type]; // post body NSMutableData *body = [NSMutableData data]; // JSON parameters NSError* JSONSerializationError; NSData *json = [NSJSONSerialization dataWithJSONObject:defaultParameters options:kNilOptions error:&JSONSerializationError]; [body appendData:[[NSString stringWithFormat:@--%@rn, boundary] dataUsingEncoding:NSUTF8StringEncoding]]; [body appendData:[[NSString stringWithFormat:@Content-Disposition: form-data; name=%@rnrn, @json_param] dataUsingEncoding:NSUTF8StringEncoding]]; [body appendData:[[NSString stringWithFormat:@%
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’15
Reply to Using a cell in another file in Swift
I did it, even if I got no errors and the main viewController had the import and class adjacent, but it keeps on being unable to locate TodayCell./Users/fbartolom/Documents/cocoa applications/inArrivoHD/ArrivalWidget/TodayViewController.swift:109:132: Use of undeclared type 'TodayCell'/Users/fbartolom/Documents/cocoa applications/inArrivoHD/ArrivalWidget/TodayViewController.swift:131:33: Use of unresolved identifier 'TodayCell'/Users/fbartolom/Documents/cocoa applications/inArrivoHD/ArrivalWidget/TodayViewController.swift:110:132: Use of undeclared type 'TodayCell'/Users/fbartolom/Documents/cocoa applications/inArrivoHD/ArrivalWidget/TodayViewController.swift:132:33: Use of unresolved identifier 'TodayCell'
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Invalid Bundle Identifier Format
Finally solved the issue, here was the problem if anyone is interestedMy app has a helper executable, which I precompile and presign beforehand. For some reason three years ago I included an info.plist in the helper and compiled like thisgcc -Wall -arch i386 -arch x86_64 -Os -framework AppKit -o NNRelaunch NNRelaunch.m -sectcreate __TEXT __info_plist Info.plist<plist version=1.0> <dict> <key>CFBundleIdentifier</key> <string>com.nuclearnova.mac.birdiegolf</string> <key>CFBundleName</key> <string>Birdie Golf</string> </dict> </plist>After removing -sectcreate __TEXT __info_plist Info.plist everything uploads and processes fine.Is this a bug or did/am I doing something wrong? As long as my app gets approved I guess I don't really care, strange how updates worked fine for 3 years on my last app doing this and suddenly stopped working.
Jun ’15
NSURLSession not working as expected in watchOS 2 beta
When I load an url like this: NSURL *downloadURL = [NSURL URLWithString:@http://www.apple.com]; NSURLRequest *request = [NSURLRequest requestWithURL:downloadURL cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60]; self.task = [session dataTaskWithRequest:request completionHandler:^(NSData * data, NSURLResponse * response, NSError * error) { // more code }]; [self.task resume];The value of the error argument in the callback block is always like:Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7a77f6e0 {NSErrorFailingURLStringKey=https://www.apple.com/, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSErrorFailingURLKey=https://www.apple.com/, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9824}It seems even I requested the http resource, it always hit
2
0
2.5k
Jun ’15
Application is not recognized by Game Center after certificate renewal
I recently renewed my iOS Certificate and now one of my apps that has been on the app store and using game center will no longer let me sign in. When Game Center is trying to authenticateLocalPlayer I get GKErrorDomain Code=15 The requested operation could not be completed because this applicaion is not recognized by Game Center. Also when I go to iTunes Connect I see on my app page in red Leaderboard is not a member of a leaderboard set attached to version 2.0. I don't know what I am missing to get Game Center working again for my device. Any help would be appreciated, thank you!
2
0
1.6k
Jun ’15
Power Logs
Ive been requested by Apple Engineering to supply power logs for iOS 9, ive enabled logged as per Instructions here: https://developer.apple.com/bug-reporting/ios/battery-life/ however there are no power logs collected in: ~/Library/Logs/CrashReporter/MobileDevice/[Your_Device_Name]/ after doing a sync via iTunes.Has anyone else managed to get any logs and if so what am I doing wrong?Thanks
1
0
1.7k
Jun ’15
Restoring from iCloud backup : warning
Hi all,today, I backed up my iPad (Wifi+Cellular for AT&T, aka iPad 3) through iCloud.Then I restored iOS 9 on it, as per release notes procedure. It took sometimes, but appeard to go well. After rebooting in iOS 9, it never allowed me to restore from iCloud backup, wether from the iPad itself or from iTunes. In fact, it never offered me to restore at all.iTunes told me my iPad had never been backed up to iCloud.Going through system prefrences on a Mac, or iCloud prefs on an iOS device also showed a size of 0 for this iPad (similar to what is stated in release notes). On the device itself, though, last backup time was correct.So... How could I restore ?Issue was : my iPad was still connected to iTunes... So I disconnected it, erased it one more time, and on reboot, I can now see the correct backup and restore from iCloud (currently underway). OK, I could have known that, but I restored so many times being still connected to iTunes that I could not imagine it would cause an issue, hence my note an
0
0
259
Jun ’15
Reply to Does anyone have sample code for complications?
Hi,I found it complicated to get the complications to show up in the Simulator—the code was relatively simple, but placeholders didn’t seem to show up due to caching issues.The video ‘Creating Complications with ClockKit’ is definitely the best place to start—the code below is based on the code shown in the video.Create a new project------------------------------------------I found it easier to create a new project with the complication support added in (which also generates the stubs for the data source protocol functions), and then add that to my existing project. + File > New > Project > watchOS > Application (‘iOS App with WatchKit App’) + Add in ‘Include Complication’Targets------------------------------------------Check the following settings for the WatchKit Extension target: + Target > WatchKit Extension + Complications Configuration: + Data Source Class = %(PRODUCT_MODULE_NAME).ComplicationController + Supported Families: check required families (only check the ones you’re handling in
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
watchOS beta Installation
Before installing watchOS 2 beta on Apple Watch, please read the watchOS beta Software Installation Guide.Troubleshooting InstallationDevices updated to watchOS beta may not be restored to earlier versions of watchOS without assistance from Apple Support. If your device restarts into recovery or your device needs to be restored back to the current GM version of watchOS, visit Apple Support and follow these steps:Click Apple Watch.Click Send in for Service. Click Setup & Usage. Click Updating my Apple Watch OS. Click Talk to Apple Support Now. Your device must be sent in for service to be restored and will be erased and restored with the current GM version of watchOS. Once your device is received, it may take up to 3 business days to be serviced. The device you receive back will be the device you sent in. 
 Apple Authorized Service Providers and Apple retail stores are unable to perform this service. Countries in which this service is currently available are: Australia, Canada, France, Germany, It
0
0
2.3k
Jun ’15
WatchOS and iOS Console Output
Does anyone know how to show the NSLog or print() console output for both the WatchOS app and the iOS app at the same time? I've tried the Debug -> Attach to Process but it doesn't show NSLog or print() console output. I can go into the device and view the full system logs but there is a lot else going on in the full system log and a lot of noise. Thanks.
1
0
5.6k
Jun ’15
Reply to Restore WatchOS to 1.0
I normally hate complaints about running betas, so I know this is hypocritical, but really disappointed with this beta, as even if I wanted to run to the Apple Store and buy an Apple Watch just for testing, I am unable to as they're not available for purchase. I know we jumped the gun I guess, I just expected there to be some reasonable level of QA that went into this release. But I get no notifications, weather has me in the south Atlantic Ocean, Siri doesn't work, most of the time I raise my wrist the device doesn't recognize the gesture, none of my glances are working, and half of the time I go to install an app, the watch tells me that there is no space available despite there being about 5GB free. If I file a radar, it'll get marked as a dupe, and I can't take it to the Apple Store because the genius will tell me that it's an out-of-warranty repair/issue, as I've installed a beta OS.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Notes from Thursday Security Lab
System Integrity ProtectionQuestion:Will disabling SIP be available as a choices .XML at install time for the 10.11 OS? If not, what mechanism will be provided for automatic disabling of SIP for use with automated imaging processes for machines?Pain point: Not every environment will be able to access Internet Recovery. At the same time, straight cloning of existing disks is problematic.Answer:SIP is always off in the Recovery environment and the Installer environment. While booted from those environments, you will be able to make changes to a boot disk which is otherwise protected by SIP.SIP-protected files will still appear as restricted when listed with ls's -O, but they can be renamed, moved, deleted or changed.There will be a command line tool to disable SIP in the Recovery environment, separate from the current GUI tool. The GUI tool is in fact going to disappear in favor of the command line tool. This change will likely appear in Developer Beta 2 or Beta 3; check the release notes.Question:The
6
0
5.9k
Jun ’15