Search results for

A Summary of the WWDC25 Group Lab

10,088 results found

Post

Replies

Boosts

Views

Activity

Reply to Watch OS 2 and App Groups.
watchOS 1 apps, where the extension is running on the paired iPhone, are compatable with watchOS 2. These apps will continue to function and have access to a shared app group between the WatchKit extension and parent application because the extension and app are running on the same device.If you're experiencing different behavior, please file a bug report at bugreport.apple.com.
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Identifying the currently playing EXT-X-MEDIA
Here's a simple master playlist to illustrate the question:#EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio_low,LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,URI=audio_low.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio_high,LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,URI=audio_high.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=100000,CODECS=mp4a.40.2,avc1.4d401e,AUDIO=audio_low video.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=200000,CODECS=mp4a.40.2,avc1.4d401e,AUDIO=audio_high video.m3u8During playback, we can look at AVPlayerItemAccessLogEvent.URI to identify the currently playing EXT-X-STREAM-INF (in this case it will always be video.m3u8). Is there any similar way to identify the currently playing EXT-X-MEDIA?If the audio codecs were different (let's say AAC and AC-3), we might be able to find out by looking at the codec in AVAssetTrack.formatDescriptions. But that's hacky and doesn't work if the codecs are the same like in the example.Ideally, there would be a way to get either the URI or GROUP
0
0
645
Jun ’15
Simulator fails to launch apps reliably, won't attach
I'm finding that the Xcode 7 Beta and Simulators are very temperamental.The type of error I'm getting depends on the phase of the moon. It's highly variable. Some times I get a run of good launches, other times I can't launch any app in the Simulator at all.When I switch to a different Simulator (e.g. iPad 2 to iPhone 5s), I get the most problems. Right now, I can't get the 5s simulator to launch my app at all.When I press the Run button on my project, usually one of three things happens:1) the app launches in the Simulator.2) Nothing happens in the Simulator. Xcode's log reports that it has failed to attach a process. Very common. Repeating the Run several times in a row often gets it working.e.g.error: failed to attach to process ID 605803) A Problem Report appears, containing the error report for the ServerFileProvider. The app may or may not be running in the simulator.Here is the latest output:Process: ServerFileProvider [59545]Path: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulat
0
0
1.9k
Jun ’15
Unintentional Group Message replies?
Can someone attempt to duplicate this for me?I had two messages come in this past weekend, from two different people using iMessage. When I replied to only one of the messages, it created a group message between the two people who messaged me, and sent my reply to both parties. Steps involved:1) Receive iMessages from two different people2) Tap one message and reply3) Send pre-built reply such as OK, Sorry, can't talk right now4) Check Messages on iPhoneAfter these steps, I discovered that I had sent a group message instead of just replying to the message that I was intending to reply to. I would appreciate if someone could verify this as a bug. Thanks in advance.
0
0
175
Jun ’15
Reply to Sharing data with NSUserDefaults or Keychain
The shared groups for sharing data via NSUserDefaults is no longer avalible since the Watch App Extention is now running on the watch itself. This applies to both watch apps developed for watchOS 1.0 and watchOS 2.0.You'll need to use the watch connectivity framework to communicate between the watch and the iOS companion app. Unfrotauntely, it seems like many of the options in WatchConnectivity are not included in the first beta. So hang tight.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
iOS 9/Xcode 7 - Assets only appearing if they are set as universal
I'm developing a little game for iOS using SpriteKit. I have some images I need to display in my game. All of them are in the xcassets folder. However, I have a little problem. If I put the images on the corresponding size for each device (iPad and iPhone), they won't appear in my game. But if I put them in the Universal group, they appear without any problem. I don't know how to solve this and I need to finish my game...
5
0
2.1k
Jun ’15
Reply to Xcode errors when submitting an app
So the issue has gotten worse with Beta 2. Very confusedPackage Summary:1 package(s) were not uploaded because they had problems: /var/folders/yc/65_yjgfd0g76td7376jb4xnw0000gn/T/BC872C8A-7723-4C91-9F2B-DDC14B002E9C/1000756457.itmsp - Error Messages: ERROR ITMS-90171: Invalid Bundle Structure - The binary file 'SwiftSupport/watchos/libswiftCore.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https:/ ERROR ITMS-90171: Invalid Bundle Structure - The binary file 'SwiftSupport/watchos/libswiftCoreLocation.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https:/ ERROR ITMS-90171: Invalid Bundle Structure - The binary file 'SwiftSupport/watchos/libswiftUIKit.dylib' is not permitted. Your app can’t contain standalone executables or libraries, ot
Jun ’15
Touch ID and Keychain for sensitive/financial data and related WatchKit app
Hi,let's say I am involved in a very secured environment application, say for example a banking/insurance/investment app dealing with financial and sensitive data.Then I have two main questions:To enable Touch ID login for viewing accounts and transactions data, is it safe to implement it simply by adding the credentials combo to the keychain and retrieving it via the iOS Keychain API available in iOS 8? What are other secured data apps with this feature doing? Do I need to encrypt something (Keychain already does that in my knowledge)?If I develop a WatchKit app, how could I authenticate the Apple Watch app to view secured data? Could I simply retrieve said keychain item from the paired iPhone app or via shared group? What about ACL for this keychain item? I watched session 706 Security and your apps of WWDC 2015: they said it is better to let the server send the cookie or token to enable that particular features you need. But this imply that I need to write new services api for those calls.Any idea
16
0
2.8k
Jun ’15
App Transport Security
App Transport Security (ATS) is a technology that requires an app to either support best practice HTTPS security or statically declare its security limitations via a property in its Info.plist. ATS is officially documented Bundle Resources > Information Property List NSAppTransportSecurity and Preventing Insecure Network Connections. This post contains a summary of the latest ATS developments. For more background on ATS, see:WWDC 2015 Session 706 Security and Your AppsWWDC 2015 Session 711 Networking with NSURLSessionWWDC 2016 Session 706 What’s New in SecurityWWDC 2017 Session 701 Your Apps and Evolving Network Security StandardsApp Transport Security TipLegacy ATS documentationApp Transport Security and App ReviewAt WWDC 2016 Apple announced that by the end of 2016 App Review will require “reasonable justification” for many ATS exceptions. This is not a technical change in the OS but rather a new App Review policy. The WWDC 2016 presentation has some general background to this but if you’re look
0
0
84k
Jun ’15
Reply to Review Crashes - Invalid Product Identifier
Hey, thanks for the quick reply, advice on how to respond to App Review in the future (but your response was timely and has been more helpful than ANY correspondence I have EVER received from App Review), but I have some followup questions/comments.> From time to time, App Reviews of in app purchase apps> will fail when the SKProductsRequest is madeMy first urge is to file a radar but I'm certain they will ask for a sample app and there's no way I can reproduce this error (because somehow magically it works for me after I created a new Sandbox user). I have literally lost a day or two of work when this behavior first appeared during development, and since the App Review, where I did everything they directed me to, and then to find out this is a known issue/bug that needs to be elevated by filing radars.> the app did not check that the identifiers were not returned> instead assumed that they were valid and crashedCorrect.> The application should check the response result> and either alert the
Topic: App & System Services SubTopic: StoreKit Tags:
Jun ’15
Profile Manager Needs to sort members in order by name
I have hundreds of computer in PM and when I have a device group up I know I'm missing one member but I have no way to sort the list by name. Instead it's out of order. For example I have one lab right now with 35 Macs. Currently I have 34 showing up in hte PM group. I have a paper in front of me that has 1-35 and I'm going down the list to cross out the one that's listed since theres no way to sort the list in order.
0
0
177
Jun ’15
Reply to VoIP with PushKit
It is a VoIP application so it is authorized to use PushKit.There is no problem to start a long background task.However the background transfer service should work also. But this download method is supposed to be optimized for grouping download to save battery.However when I tried PushKit, I faced many issues.Especially the didReceiveIncomingPushWithPayload is not called any more after some times.(Sometimes after many days working well)Did it work for you ?
Jun ’15