Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Audio recorder immediately dismissed after pressing the record button on device
Has anybody successfully got an audio recording on real device? I've tryed using presentAudioRecorderControllerWithOutputURL but only get a WatchKitRecordingFailedError, and the interface dismissed immediately. If I set WKAudioRecorderControllerOptionsAutorecordKey to NO then the record interface dismissed after I pressed the record button. Please HELP!And here is my code: NSURL *directory = [NSURL fileURLWithPath:NSTemporaryDirectory()]; NSURL * outputURL = [directory URLByAppendingPathComponent:@temp.wav]; [self presentAudioRecorderControllerWithOutputURL:outputURL preset:WKAudioRecorderPresetNarrowBandSpeech options:@{WKAudioRecorderControllerOptionsActionTitleKey:@OK, WKAudioRecorderControllerOptionsMaximumDurationKey:@120, WKAudioRecorderControllerOptionsAutorecordKey:@0} completion:^(BOOL didSave, NSError * _Nullable error) { //so I got didSave=0 and error=Error Domain=com.apple.watchkit.errors Code=6 Recording failed. UserInfo={NSLocalizedDescription=Recording failed.} }];I've also tryed using a group
7
0
1.5k
Sep ’15
Reply to GM (was Beta 8) - can't launch applications
I rebuilt the account by logging in as another user, deleting my original account in Users & Groups prefs, but selecting to NOT delete the home directory. then I renamed my home directory, stripping out the (deleted) portion off the name. Then I recreated the original admin account, and it saw the old, existing user directory. logging out of user 2 and logging back in under my original username works now
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Any issues being seen in the iOS 9 GM?
The only issue i have is my contacts still wont sync from the phone to the cloud. If i add a new number into the cloud like the website it will pop up on my phone but any number i add on my phone are not syncing back. And the old trick i used to do with going to groups and making them sync doesnt work anymore because that spinning wheel that lets you know its syncing doesnt show when you pull down on the list anymore.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Apple Pay - errors in AuthorizationViewController, Questions on payment Summary
If I only have one product item in Apple Pay, how would I detect a total? My app is a donation platform, so I don't need to actually ship anything, but would like contact info. I have a number of errors that I have tried to figure out to debug to no avail. Any help is appreciated.Also I keep getting this error (this was the same as the sample code given from WWDC).This is in my BuyTicketViewController.swift file. if PKPaymentAuthorizationViewController.canMakePaymentsUsingNetworks(BuyTicketViewController.paymentNetworks) { let button = PKPaymentButton(type: .Buy, style,: .Black) button.addTarget(self, action: applePayButtonPressed, forControlEvents: .TouchUpInside) button.center = applePayView.center button.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMarin] applePayView.addSubview(button) } }The error says 'expected declaration.'The sample says to use else (for traditional checkout). When I put that it, it breaks the rest of my code and I get lots of errors.line 8 - eror on MerchantIDline 9 - error
0
0
1.1k
Sep ’15
Cannot add a new item in the keychain. Error code: -25243. in ADAL iOS
I have integrated microsoft's ADAL Library for iOS https://github.com/AzureAD/azure-activedirectory-library-for-objc.I authenticated the azure's proxy share point site and keep the app in idle state for more than an hour. After I activate the app and click on any hyper-link I get the following errorCannot add a new item in the keychain. Error code: -25243. Attributes: { acct = cHJhcGF0aWxAZXF1aW5peC5jb20; svce = MSOpenTech.ADAL.1|aHR0cHM6Ly9sb2dpbi5taWNyb3NvZnRvbmxpbmUuY29tLzcyYWRiMjcxLTJmYzctNGFmZS1hNWVlLTlkZTZhNTlmNmJmYg|CC3513A0-0E69-4B4D-97FC-DFB6C91EE132|YzczOWU0ZmItNTE1ZC00N2JhLWIzOGMtZTk2MjZjOGRhODAy; }. ErrorCode: 11. 2015-09-08 16:41:36.154 ProjectName[32578:3728597] ADALiOS [2015-09-08 11:11:36 - C739E4FB-515D-47BA-B38C-E9626C8DA802] ERROR: Error raised: 11. Additional Information: Domain: ADAuthenticationErrorDomain ProtocolCode:(null) Details:Cannot add a new item in the keychain. Error code: -25243. Attributes: { acct = cHJhcGF0aWxAZXF1aW5peC5jb20; svce = MSOpenTech.ADAL.1|aHR0cHM6Ly9sb2dpbi5taWN
1
0
2k
Sep ’15
About compilation error: "Type of expression is ambiguous without more context"
Hello Swift expertsI have a question that I know you know the answer to. I am writing some classes to build and handle a binary tree node. I think I have completed the task but am kinda unhappy with an error I got and I dont know why it appears. Please check the following sample of code out that reproduces the error, you can use a playground in XCode. I extracted this code from my class and simplified it to reproduce the failuere, so it doesn't follow any logic:class BinaryTreeNode { var data = 0 var left: BinaryTreeNode? = nil var right: BinaryTreeNode? = nil init(value: Int) { self.data = value } func getLeftChild() -> BinaryTreeNode? { return self.left } } class BinaryTree { var root: BinaryTree? func delete(value: Int, inout at root: BinaryTreeNode?) { if root != nil { var aNode: BinaryTreeNode? = BinaryTreeNode(value: 123) var anotherNode: BinaryTreeNode? = BinaryTreeNode(value: 65) var aTuple = (current: aNode, parent: anotherNode) self.delete(45, at: &aTuple.current!.getLeftChild()) self.delete(
2
0
3.3k
Sep ’15
Reply to GM caught in reboot loop
Does this seem like a correct summary of the fix Patrick?So it turned out that the answer to this question was that ContentWatch's NetNanny was the cause of this bootloop. Also worth noting is that the sofware reinstalls the kext if manually deleted, so it needs to be fully uninstalled.Interestingly a ContentWatch dev seems to be discussing this very kext here: https://forums.developer.apple.com/thread/8521
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Is there a limit on notifications?
When my app is opened I subscribe for 2 record types when created and updated. One of the objects I can only add 1 at a time and are spaces out, and the other type can have groups of records saved/updated at once. I use the background notifications to update my core data database and update the UI if the app is opened. I turned on notification alerts to see which notifications my devices get. I am testing on 4 devices, a iPad Air iOS 8.4, iPad Mini iOS 8.4, iPhone 5 iOS 9 and iPhone 6 Plus on iOS 9. When I create a TV show record (1 saved at a time), each device got that 1 notification. If I mark a episode as watched in my app (mutliple can be added to CloudKit and updated) my iPad Air received only 1 notification for that, my iPad Mini received 2 notifications, and my iPhone 5 also received only 2 notifications. I saved 4 objects to the cloud though. Is there a limit to the amount of notifications are sent, and what would be the best way to handle this?
1
0
1.1k
Sep ’15