Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,639 results found

Post

Replies

Boosts

Views

Activity

WatchOS 1.0.1 WKInterfaceTable rows no longer animating
Hi all,Since WatchOS 1.0.1 animation has stopped working in parts of our app.We have a mix of images which animate some are just in controllers and some in WKInterfaceTable rows. All the images in WKInterfaceTables have suddenly stopped working. Only the first frame shows and we no longer see the animation.Initially we were just setting the duration propery in interface builder and then changing the image programtically. I've now updated the code to animate a range of images but this doesn't work either.I've also set the image in interface builder and this also doesn't animate.Has anyone experienced this or know how to resolve it?Cheers
3
0
1.5k
Jun ’15
Reply to Can't reply to message in watchOS 2
Same problem. Can't reply from Messages notifications anymore. Reading Messages notifications no longer marks them as read. Lastly, when I do go into the Messages app on the watch to respond, it tries to send everything as iMessage, regardless of contacts being SMS only. Fails to send every time. WatchOS 2 has made the messages app, one of the most useful features of the Apple Watch, virtually useless. I'd prefer not to erase all contents and settings for the third time (other times were just trying to get the watchOS 2 finish installing). Anyone know a different fix, or if it will actually fix it by erasing all contents and settings?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Swift build error: "SIL verification failed: non-generic function definitions cannot have context archetypes"
I'm getting the following error while compiling a generic class. Can anyone tell me what I'm doing wrong?SIL verification failed: non-generic function definitions cannot have context archetypes: !FTy->isPolymorphic() In function: / sil shared [transparent] [thunk] @_TTRGRq_8RealmKit18IdentifiableStruct_XFo_dV10ObjectiveC8ObjCBool_dT__XFo_dSb_dT__ : $@convention(thin) <τ_0_0 where τ_0_0 : IdentifiableStruct> (Bool, @owned @callee_owned (ObjCBool) -> ()) -> () { bb0(%0 : $Bool, %1 : $@callee_owned (ObjCBool) -> ()): / %2 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool / %3 = apply %2(%0) : $@convention(thin) (Bool) -> ObjCBool / %4 = apply %1(%3) : $@callee_owned (ObjCBool) -> () / return %4 : $() / } 0 swift 0x0000000107ae3e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000107ae454b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff93ae3f1a _sigtramp + 26 3 libsystem_plat
1
0
734
Jun ’15
USB Audio Failing
I've observed USB audio seems to fail in El Capitan Developer Preview 1 using a CEntrance HiFi-M8. This device supports a range of 2 channel 24 bit formats (44.1KHz, 48.0KHz, 88.2KHz, 96.0KHz, 176.4KHz, 192.0KHz, etc.). While it worked just great in Yosemite, what seems to occur now is a grainy/garbled sound that seems a bit like the wrong format is being played even when 44.1KHz is selected in Audio MIDI setup and a 44.1KHz file is played in iTunes or in Safari.
58
0
26k
Jun ’15
session.dataTaskWithRequest wrong URL
hi,I'm converting my app to Swift 2. I found something different in session.dataTaskWithRequest. In the code below I use an HTTP URL to post the request. But this is somewhere converted to a HTTPS URL. So the server isn't reachable because the server don't use SSL? Why is this happening? Could I change this to HTTP anyway? func post(params : NSDictionary, url : String, postCompleted : (succeeded: Bool, msg: String, json: NSDictionary?) -> ()) { let request = NSMutableURLRequest(URL: NSURL(string: url)!) let session = NSURLSession.sharedSession() request.HTTPMethod = POST do { request.HTTPBody = try NSJSONSerialization.dataWithJSONObject(params, options: []) } catch let error as NSError { print(Error in request post: (error)) request.HTTPBody = nil } catch { print(Catch all error: (error)) } request.addValue(application/json, forHTTPHeaderField: Content-Type) request.addValue(application/json, forHTTPHeaderField: Accept) let task = session.dataTaskWithRequest(request, completionHandler: {d
2
0
1.5k
Jun ’15
NSScrollview not scrolling
I am attempting to implement an NSScollview for a Mac app. I have created a simple test app. In the IB, I just create a view controller with its view set to an NSScrollview.In the viewDidLoad, I have just this code:- (void)viewDidLoad { [super viewDidLoad]; NSImage * image = [NSImage imageNamed:@harley-davidson-electra-glide-6]; NSImageView *imageView = [[NSImageView alloc]initWithFrame:CGRectMake(0, 0, image.size.width, image.size.height)]; imageView.image = image; [self.scrollView setDocumentView:imageView];}Note that the image size is:(width = 1920, height = 1200)When I run this I get a window which shows just a small portion of the image. For a half-second, a horizontal scrollbar appears, then disappears; however, there is no scrolling capability. I can click and drag anywhere in the window and nothing happens.
6
0
2.1k
Jun ’15
Multiple auto-renewable subscriptions
Hello,I have the following subscriptions plan to implement, but I am not sure if it's possible, or if I am developing the correct ideas.You can subscribe to multiple worlds in a game which are offered like this:1 world subscription - price15 worlds subscription - price210 worlds subscription - price 3unlimited worlds subscriptions - price 41. My client's request is to make them auto-renewable, which from what I've read there are some limitations to them. But my question is if it's possible for a user to buy subscriptions to 3 worlds (meaning subscribe one by one, paying price1 for each), if it's permitted? 2. What happens if the user afterwards buys the 5 worlds subscription. Is it correct to just add it up to the old three ones? I mean to have the old three ones and to also have the 5 bundle subscription? 3. Also how can I cancel the old subscriptions if the user buys at some point the unlimited subscription? Is this possible, or I should just let him know that he must cancel on his own the old subs
1
0
683
Jun ’15
Reply to Battery Use Worse
After a reboot or two, its seems better late yesterday and today. Testing watch apps clearly uses battery, and there has been a lot of that here.I am at 61% today after about 8 hours, which is around 5% an hour.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to [NSObject init] vs NS_DESIGNATED_INITIALIZER
Your use of NS_DESIGNATED_INITIALIZER changes the rules that the compiler enforces. You can solve this either of 2 ways:1. Implement init as an actual designated initializer (which means declaring it NS_DESIGNATED_INITIALIZER in an @interface block, though, not the @implementation).2. Implement init like this:- (instancetype) init NS_UNAVAILABLE { … }which is slightly easier.Either way, the method should throw or assert or otherwise cause a fatal error.
Topic: Programming Languages SubTopic: General Tags:
Jun ’15
Reply to Converted 32bit to 64bit app Crashes
The crash log is useful if it's symbolicated. It's not particularly useful in that format. (Incidentally you don't normally need to post the long list of binaries at the end, or the irrelevant threads - usually just the header and the thread that crashed is sufficient. More info is better than less though.)These two lines1 OIDAR 0x0000000100095020 0x100038000 + 3809602 OIDAR 0x0000000100093d0c 0x100038000 + 376076will point to the specific source file and line of code that caused the crash once you have that log symbolicated. (Drag into Xcode in the device logs window)
Jun ’15
Cross in-app purchase subscription
Hello everybody,My app is almost a reproduction of my website, just to give the user some possibilities to access their services and make some alerts.I would like to allow the user to subscribe the service via app too.The service is about tracking, so there is another hardware that the user must buy before, the app is free but not the subscription.I would like to allow the user pay for its subscription via website, or app.Questions:1 - Am I obligated to use In-App Purchase ?2 - If not, may I ask the user Credit Card inside my app ?3 - If not, may I send the user to webpage to fill billing information ?4 - If I'm obligated to use IAP, how can I recover its subscription in my site ?If there is something not asked but you think is important for me to know, feel free to bump on it.Thank you !
2
0
397
Jun ’15
WatchOS 2 issue with third-party Calendar sync
I've upgraded to WatchOS 2 (13S5254w) and I'm unable to see my Gmail calendar events on my watch. I can still see my iCloud calendar events, but not any third-party calendar.On my iPhone 5 (iOS 9 beta), I can see all the events from my different calendars just fine.I have already added the UUID of both my iPhone and Watch to the developer devices list. And I have tried restarting both devices. I have also tried removing/adding the calendar glance, and customizing the calendar glance. But nothing seems solve my issue.
1
0
617
Jun ’15
Reply to iOS 9 Beta battery life
After 2 hours and 50 minutes of use battery went from 100% to 5%. This was 4 hours and 45 minutes total standby time. Anyone else notice it charges much slower as well? Had it plugged in for 3+ hours yesterday and it only went from 8% to 42%.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15