Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Authentication via iOS Device
Hello there, I've been looking into figuring out how to log in to a service without having to ask for an email/password combo. Given that there's no WebViews at the moment logging in via Twitter/FB does not seem to be an option for our application. Thus I would like to ask for people to use their login credentials via the iOS app. It feels like a lot of the advice on app groups is around sharing data, quite resonably, expects you to have the apps same device.Is the recommended route to share authentication via app groups + nsuserdefaults/shared keychain? Or to try build your own over CoreBluetooth?
3
0
1.3k
Sep ’15
Connecting to a Virtual NIC
This is for a Senior design project at my University. A group of 6 of us are trying to connect through a stock USB Cable that comes with the iPhone or iPad to a USB port. This USB port is outputing a VNIC. We want to establish a LAN through this VNIC without rooting the device. None of us have experience developing for iOS. Is this even possible and if so can someone point us in the right direction? It would be very appreciated!
1
0
299
Sep ’15
Reply to Cannot add a new item in the keychain. Error code: -25243. in ADAL iOS
You’ll find error -25243 in in the OS X SDK (yeah, I know, that’s not great, r. 22681536), where it says:errSecNoAccessForItem = -25243, /* The specified item has no access control. */On iOS this error typically means that you’ve specified an access group (kSecAttrAccessGroup) in a keychain ‘add’ or ‘update’ call ( SecItemAdd or SecItemUpdate) and that access group isn’t one of your app’s configured access groups. As to what that means in the context of ADAL, that’s hard to say give that that library isn’t an Apple thing. You’ll either have to treat the library as your own code, and work out what’s going wrong at the boundary between the library and Apple’s frameworks, or escalate this issue with the library’s vendor.ps QA1499 Security Framework Error Codes is a good resource for mysterious Security framework errors.Another good resource is the security tool. For example: $ security error -25243 Error: 0xFFFF9D65 -25243 The specified item has no access control.pps I’ve moved your qu
Topic: Privacy & Security SubTopic: General Tags:
Sep ’15
Reply to Authentication via iOS Device
Internal discussion has lead to an eventual outcome like this:1. You create a native auth view that offers the user 2 choices, either enter credentials (other view controller) or visit 'example.com/appletv' (on a device)2. You register the ATV with the backend server, which stores the IP of the ATV (which presumably is the public WAN IP) and start polling the backend (x sec) for if the ATV is associated to a user3. The user visits 'example.com/appletv' and signs-in (or is signed-in), the backend then associates the ATV that previously visited the backend from the same WAN IP with that user4. The polling view sees that the ATV is now associated with that user and has access, and can store an auth token.This is alright, but ideally there would be a way to use associated app-groups to be able to share auth. Definitely open to other ideas.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to iMac screen black out
Hi Max,I think I might actually be a part of the larger group with faulty hardware/graphics because I'm seeing more and more of the symptoms aline. When the screen brightness is up from 50% the screen blacks out frequently, when I turn it down below 50% it works fine and anytime I increase while its working properly it immediately blacks out again.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Address Sanitizer: SecKeyGeneratePair throwing a Heap Buffer Overflow
Thought this might be of some help.AddressSanitizer debugger support is active. Memory error breakpoint has been installed and you can now use the 'memory history' command.===================================================================4269==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x000103714e31 at pc 0x0001003472ec bp 0x00016e1b9b60 sp 0x00016e1b92f0READ of size 2 at 0x000103714e31 thread T4 #0 0x1003472eb in wrap_strdup (/var/mobile/Containers/Bundle/Application/152252E0-3682-42C1-A10F-E5E2FE1BAFAF/Likey.app/Frameworks/libclang_rt.asan_ios_dynamic.dylib+0x372eb) #1 0x1993d197f in xpc_string_create (/usr/lib/system/libxpc.dylib+0x197f) #2 0x1993d1947 in xpc_dictionary_set_string (/usr/lib/system/libxpc.dylib+0x1947) #3 0x188ed65eb in <redacted> (/System/Library/Frameworks/Security.framework/Security+0x5e5eb) #4 0x188ed5ebb in <redacted> (/System/Library/Frameworks/Security.framework/Security+0x5debb) #5 0x188ed63e7 in <redacted> (/System/Library/Frameworks/Security.frame
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
How to find the CoreAudio SDK?
Dear readers,I intend to write a core audio application for Mac OS x in C/C++. I have got some code which realizes that application butI would like to know more about the details.One example: what is the hog mode and how can I enable it?I tried to find documentation about core audio but it seems that the SDK is not available for download.1) At apple.developer, resources, there is no hint to the core audio sdk.2) Searching for coreaudio at developer.apple gives mainly descriptions of the changes, no documentation.3) I can try to follow one of the technical Q&As. There is a link to CoreAudio documentation: the link is dead.Do I need to become a member of a specific group to be allowed to view the sdk?Thank you for any help and best regardsHauke
2
0
8.5k
Sep ’15
Reply to Anyone Notified of Developer Kit Selection?
Besides the fact they can afford it, this buys them a broader/early test sample/feedback-group, which is invaluable for new tech like this. Then there is the good will, too, I guess. Smart move all around, I think.I'll do my best to use the bug reporter while testing my apps, but it's going to be tough to not talk about it in public... The new phone book is here!!!
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to OSX 10.11 beta 7 shutdown issues
I did the SMC reset on all three machines (have added an iMac 5K to the group), and still have the issue of shutdown hanging with the spinning wait symbol if a connection and file transfer is made to another machine. Now running the GM on all machines, so this issue has not been addressed, it seems. A relaunch of Finder prior to shutdown seems to fix it almost every time, but I did not notice this issue until beta 7. I have filed a bug report, but no reply on that. At this point, I'd suspect there will be no changes made before general release.Ideas anyone?Charles.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Content blocker update blockerList.json
Forgive my ignorance; I am a noob in XCode/Swift/iOS development. My background is C/Obj-C/C#. With that, for practice I am looking at the Content Blocker extension and the app has two targets (of course LOL) and I see the blockerList.json file in the extension target. Now my assumption is that when compiled this file becomes non-editable so the question is how can one update the contents of this file without recompiling? Or is it better to have an embedded app database and somehow tell the extension to use the database instead of the file? Or, third option, when loading have the extension create a in-memory json file from the database? The end result would be to allow a user to add/remove/change entries in the json file from the main UI app target while allowing the extension target to acces the data, presumably using App Groups. This is one example among many as I don't like having to recompile code just to change data. Anyway, any guidance would be most helpful.
0
0
1.4k
Sep ’15
Reply to SIP and /System/Library/User Template
will the System Integrity Protection feature in El Capitan block me from adding items to the User Template?Like you, I expected that this would cause problems (because the directory is under /System) but it seems that SIP has a special case here. $ csrutil status $ sudo -s # echo echo foo > /System/Library/User Template/English.lproj/.profile # exit $ $ # Create new use via Users & Groups preferences panel. $ $ login mrgumby Password: ******** foo $ logout $Neat-o!Will I be able to construct an installer package that re-packages a developer's shoddy installer that happens to also contain a kernel extension?KEXTs are typically placed in /Library/Extensions and thus don’t cause problems for SIP. ps Mac-on-Mac virtualisation makes it easy to test stuff like this. I find it especially useful when doing potentially destructive testing, for example:when debugging code that runs on the authorisation path (where, if it goes wrong, you can’t log in)when messing around with kernel extensionsI recommend
Topic: Privacy & Security SubTopic: General Tags:
Sep ’15
Reply to Cursors forbidden on tvOS
We would strongly encourage you to look towards implementing a focus based model. For instance, in a cell based strategy game, shifting the focus between cells rather than making the user drive a cursor around would be a far more intuitive and enjoyable game play experience. Or perhaps shift focus between groups of characters.Menus should definitely be re-implemented in a way that supports the focus model - a cursor experience for menu selection would be very difficult.Also consider what it might be like to use your game with a game controller's D-Pad. Cursoring isn't a pleasant experience, but the focus model maps over very well.You will find that when holding a remote it is much easier to be accurate in horizontal movements than it is in vertical movements with your thumb. The device is equally sensitive in both axes, but it's more difficult for us to be precise in our own movements.I hope that helps provide some additional reasoning behind the suggestions in the Human Interface Guidelines - we loo
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Failure to sign (or re-sign) application: Distribution Certificate not found
I am attempting to resign an iOS application provided by MobileIron (Help@Work). I have an Enterprise Developer Certificate, private key, and the Disribution Certificate all present in my login keychain. None are expired. When I attempt to use (the MobileIron provided) python script to re-sign the application with our corporate distribution certificate, I recieve the following error:iPhone Distribution: Starz Entertainment , LLC: no identity found.Apple Developer help has been unhelpful, but finally directed me here or to bugreport, hoping someone here has some insight on how to get this resolved.Does the Distribution Certificate have to be re-issued if a new developer is added to the group (that would be me)?Thanks!
0
0
279
Sep ’15