Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Keychain sharing and watchos 2
I am using Xcode 7.0 (7A220), targeting iOS 9.0 and watchOS 2.0.I haven't gotten keychain sharing to work in a watchOS 2 app of my own, but it works in this example project, which is part of my question.There is a good talk from NatashaTheRobot (here) where she goes over keychain sharing with watchOS.(Working code from github here), see for yourself that her iOS app and watch app are able to share via keychain in the simulator.Here's what I have done to her project and it still works:Removed the access group string from the KeychainItemWrapper init method. This makes sense because the simulator isn't code signed and the access group gets deleted in KeychainItemWrapper initWithIdentifier: (checkout the comment in initWithIdentifier:)Removed the identifier string from KeychainItemWrapper initWithIdentifier in both view controllersRemoved the keychain-access-groups key from both entitlements that specifies a keychain access group keyYou can remove these three things and keycha
0
0
944
Sep ’15
Reply to SpriteKit problems with iOS 9
I have been having an issue where enemies (that all share the same zDepth) flickering as they pass over each other. I understand what your saying that all sprites with the same zDepth *may* appear in a random order but this can't be right. The only answer is to allow a zSpace for the enemies (maybe zDepth 10 to 50) and assign each enemy a slightly different zDepth. The simple fact of the matter is that this is either a bug or it needs changing, items added at the same zDepth should not flicker as they pass over each other, a sprite based game could have 100s of sprites trying to manage related groups to all be at a different zDepth is time consuming and annoying at best.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’15
TopShelfContent doesn't update?
Hey all,I've been having some trouble working with the TopShelf. I've been using the UIKit Catalog (tvOS)[1] sample project to learn how to work with TVServices, but I've encountered a problem. I cannot seem to update the TopShelf content. The documentation says that I should post the TVTopShelfItemsDidChangeNotification message but I'm unable to see any change happening in the TopShelf.This is the code that's called:import UIKit import TVServices ---- ---- override func viewWillAppear(animated: Bool) { super.viewWillAppear(animated) print(Before change: ) print(DataItem.sampleItems) DataItem.sampleItems = { return DataItem.Group.allGroups.flatMap { group -> [DataItem] in let itemCount: Int switch group { case .Scenery: itemCount = 2 case .Iceland: itemCount = 2 case .Lola: itemCount = 2 case .Baby: itemCount = 2 } return (1...itemCount).map { DataItem(group: group, number: $0) } } }() print(------------------------------------------------------------) print(After change
2
0
1.2k
Sep ’15
"Beginners problem"... Can someone help?
Hi.I have a master in mechanical engineering, and has just started to learn more about programming etc.Could someone with more experience and skill - please help me with the following problem;I want to make an app/algorithm that follows a logical tree.It goes like this:1. Push/touch/choose button A, B or C.2. In each category (A, B and C), there are several different sentences with an individual text. For example in category A, number A1 could be: Hi, how are you?. Let's say there are 10 different sentences, from A1 - A10. The choice should be done randomly.3. When you have chosen one, you should do the same process over again, just within another and deeper level in the three. So if you choose A and get A3 (random) in the firs process, you again get three different alternatives; AA, BB and CC. If you now randomly get BB2 (let's say that means And how old are you?, your path is from A1 -> BB2, which in other words are Hi, how are you? And how old are you? in summary.4. This should be done/chosen
1
0
277
Sep ’15
Reply to Big memory leak in iOS9 with playSoundFileNamed
I just noticed it as well. Thought I had fixed/worked-around all the ios9 issues.Funny, all I have to do is keep clicking on a button (click sound effect) and I can use up several MB in seconds.I've been working through this and using SKAudioNode wherever possible, but because the API is so different, it's not a straightforward switch. Some SFX actions I have are burried deep in sequences and groups of SKActions.I'll probably leave a few leaks in there, unfortunately.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’15
El Capitan kernel panic
This is readoutACS6x.kextATTOCelerityFC8.kextATTOExpressSASHBA2.kextATTOExpressSASRAID2.kextArcMSR.kextCalDigitHDProDrv.kextEPSONUSBPrintClass.kextHighPointIOP.kextHighPointRR.kextPromiseSTEX.kextSXUPTP.kextSoftRAID.kexthp_io_enabler_compound.kextLaunchDaemonsVBoxDrv.kextVBoxNetAdp.kextVBoxNetFlt.kextVBoxUSB.kextSystem/Library/Extensions/360Controller.kext/ContentsSystem/Library/Extensions/BJUSBLoad.kext/ContentsSystem/Library/Extensions/hp_designjet_series.kext/ContentsSystem/Library/Extensions/hp_Deskjet_io_enabler.kext/ContentsSystem/Library/Extensions/hp_fax_io.kext/ContentsSystem/Library/Extensions/hp_Inkjet1_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Inkjet3_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Inkjet4_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Inkjet5_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Inkjet8_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Inkjet_io_enabler.kext/ContentsSystem/Library/Extensions/hp_Laserjet_io_enabler.kext/ContentsSystem/Libra
3
0
12k
Sep ’15
Reply to Just me, or SpriteKit in GMs terribly broken?
--> Loading a Sprite Node through imageNamed: doesn't always work, in both Texture Atlases and Image Assets.Oh yes! This a million times over. I am brand new developer and have spent about 2 months getting the framework of a game up and running. Very happy with my progress and excited about releasing my first application sometime in the future - until today. I installed El Capitan (late to the party, but I am no where near a launch - truly still in the learning phase)I tried running the application and noticed that SKSpriteNodes were not loading. The most frusting part of this is that it is random. Close the application and relaunch (or just rebuild and re-run from XCode) and different set of RANDOM SKSpriteNodes do not seem to load (or at least, the are not visible - I will have to do some testing tonight).This is simply the main menu for my game. I am using one of the most fundamental classes in SpriteKit: SKSpriteNode with the simple initializer imagedNamed. How could this possibibly be so broken? I'm u
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’15
Reply to Demo of Apple TV to other developers
I believe the sharing admonition is regarding with registered developer program members.Team members, etc. As for a user group for lack of a better term, what is there to demo?The remote? Unless you have an app you're working on, there really isn't anything todemo on the TvOS devkit. So, honestly, I don't see what good dragging your devkitto a public meeting would do.Also, most such groups are made up of people who aren't necessarily members of thedeveloper program so, the NDA regarding speaking or demoing publicly anything aboutApple Tv v4 would apply.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Watchkit layout: Overflow to left instead of right
It is possible to use a spacer group to push another element to the right, so this second element is hidden.(oustide of the box)Is it possible to do the same but the other way around?Aligning both elements to the right, I would like to use the spacer group to push the second element to the left, outside of the box.Is this possible?Thank you!
1
0
308
Oct ’15
Reply to El Capitan not booting after update.
I also checked for panic logs and there no panic logs available. There are only crash logs with the same content every time:-bash-3.2# cat ctkd_2015-10-01-140616_imac-ddluk.crash Process: ctkd [255] Path: /System/Library/Frameworks/CryptoTokenKit.framework/ctkd Identifier: ctkd Version: 79.1.1 Code Type: X86-64 (Native) Parent Process: launchd [1] Responsible: ctkd [255] User ID: 0 Date/Time: 2015-10-01 14:06:11.220 +0200 OS Version: Mac OS X 10.11 (15A284) Report Version: 11 Anonymous UUID: 42326669-10B1-6658-8E58-10AEECC53D0A Time Awake Since Boot: 220 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: Sandbox creation failed: AppSandboxUtilRealPathForPath(self.userAccountHomeDirectoryPath) failed open() for F_GETPATH failed. NSPOSIXErrorDomain:2 No such file or directory WR/DST: /var/root 0
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Xcode 7 app verification process
I build apps for internal distribution that are designed to communicate internally over a wireless network with no outside internet access. Right now the new app verification policy is causing problems when I try to run an app from Xcode on one of my test devices. If I run the app while the device is connected to the internal network then it will not launch because the device cannot verify the app. If I temporarily switch my device to a public network the app verifies and launches but cannot get to the internal API server, so it is worthless for testing. We do not have a network with access to both at the same time, and I don't see our security group allowing an exception to that policy.I can launch the app from XCode on the public network, switch the network, and launch the app from the application, but: That is a major pain every time I want to test, andI don't get the logs in the XCode console to see what's happening in the appIs there a workaround to this verification process that I can use for t
0
0
259
Oct ’15
Submission for external testing fails
So I pushed a new release version of my app to iTunes Connect with the following entitlements:myApp.app/myAppapplication-identifier: IDID.de.URL.myAppbeta-reports-active: trueget-task-allow: falsecom.apple.developer.in-app-payments: ( )keychain-access-groups: ( IDID.de.URL.myApp )com.apple.developer.team-identifier: IDIDNow when I log into iTunes Connect, go to external testing, click on Add Build to test, then select my build, I get to the TestFlight Beta Information sheet. I fill out all the fields (for both english and german) and try to click next, but it just reloads the form without any indication of an error. I'm stuck.Apparently, the POST fails with the following response:{data:null,messages:{warn:null,error:[operation_failed],info:null},statusCode:ERROR}What can I do to fix this???
2
0
752
Oct ’15
Reply to outlook 2011 hangs on b3
I experienced Outlook 2011 freeze immediately following upgrade to OS X El Capitan. I resolved this issue by rebuilding my Identity Database.1. Launch the Microsoft Database Utility from the Microsoft Office 2011 Program Group.2. Select Main Identity from the list of available identity databases3. Click RebuildI was able to immediately open Outlook 2011 and synchronize with Exchange Server.If this fails, you may attempt to rebuild a backup database and set it to Default.I look forward to hearing if this works for others, as this appears to be affecting may people.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15