Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Provisioning Profile Not Being Export With Archive
I've made tremendous progress in developing a Mac OS X that will use GameKit features. I can get two instances of the Application connected via the Game Center provided I am using the version built with Xcode on each of my machines. I've careful reviewed the document from Apple for Exporting Your App for Testing (Mac). I have creating a Provisioning Profile for my application and would like to export this application to registered machines for further testing. The provision profile is visible when viewing my account in Xcode (“Mac Team Provisioning Profile : com.<proper path and app name here>). .I Archive the application, then export and select Export a Developer ID-signed Application, I select my Development Team for provision, the application successfully exports. The summary shows that my signing identity has been applied.Here is the problem - on the table below that shows the Entitlements (I have 3: com.apple.security.network.sever, com.apple.secuirty.network.client, and com.apple.security
3
0
2.3k
Sep ’15
Reply to presentMediaPlayerControllerWithURL -> Operation not permitted
For sure! (I suppose you are talking about the second case)First, you have to create the shared container in the project or the provisioning portal. In Xcode you can do by selecting your target - capabilities - App Groups, activate the feature, and clicking in the plus sign. Use a new identifier (usually in the form group.yourcompany.yourapp).Assuming you have downloaded a file using NSURLConnection (https://developer.apple.com/library/prerelease/watchos/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html - listings 2.1 through 2.5, easy source code) you'll have a NSMutableData with the content of the file. After that, you need to store in the shared container you created.The code that performs that is something like this: NSMutableData *soundFile=[yourDownloadedNSMutableData]; NSURL *container= [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:@group.yourcompany.yourapp]; NSURL *filePath = [container URLByAppendingPathComponent:@yourFilenam
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Does IOS iphone App Share extension bundle ID need to be prefixed by parent's bundle ID?
We are trying to make a Share Extension for Iphone App, and planning to releasing same extension in multiple regional apps. All apps have different bundle IDs. Can we create one common Group and add all regional apps and add extension to same group.Let's say , I create extension bundle id com.companyName.appname.extension. All region app has bundle ids com.companyName.region.appname I have added all apps and extension to common group group.com.companyName.appname.Will this App Extension works ? or Do we need to create separate bundle id for same extension for different region application ? If we do so, do we still need to create different group ID as well for every region ?Example :App A : com.companyName.regionA.appnameext :com.companyName.regionA.appname.share_extApp B: com.companyName.regionB.appnameext : com.companyName.regionB.appname.share_extWe are planning to add this common extension by creating new target withing individual region app.
0
0
1.1k
Sep ’15
El Capitan GM (15A282a) Hangs on Successful Login
My main user account hangs (beachball and spinner) on the login screen after I enter the correct password. I created a second administrator account through the Guest account and can log into that account without a problem. I suspect the issue is specifically related to my main account.Before getting to the issue, here's what I've tried so far:PRAM resetSMC resetSafe ModeReinstall El Capitan GMSince I was able to log in, I see the following to lines repeated (in varying order) dozens to hundreds of times:Sep 17 21:08:37 Franks-MacBook-Air ***[1952] <Warning>: LaunchServices: Scheme mapping file does not exist, creating file.Sep 17 21:08:38 Franks-MacBook-Air ReportCrash[1905] <Warning>: Removing excessive log: file:///Users/affected_username/Library/Logs/DiagnosticReports/***_2015-09-17-185823_Franks-MacBook-Air.crashLogfiles similar to the one claimed excessive in the error message all contain something like the following:Process: *** [718] Path: /usr/libexec/*** Identifier: *** Version: 728.4 Cod
9
0
1.5k
Sep ’15
Reply to disk bsd name
I want to optimize reading and writing of large files.Ah, yes, that’s one of the “various possible reasons” I was mulling over.The gotchas that spring to mind here are:Core Storage, where one volume is outside of the volume group and one volume is insideRAIDdisk imagesIt’s possible to write code to do the right thing in each of these cases (you typically do it by taking the disk’s BSD name, mapping it to an IOMediaBSDClient in the I/O Registry, and grovelling around from there) but there are serious drawbacks:it’s a whole bunch of ugly special case codeyou will also find more special cases further down the pathKeep in mind that a lot of folks use SSDs these days (although maybe not as many in your market as in the general market) and doing multiple streaming operations on an SSD is not the horror show that it is on spinning rust.All in all, it might be easier to use stick with your whole disk approach (-: That’s certainly a reasonable base heuristic.Taking a step back, all the special cases, both goo
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
ios9 local m3u8 not able to play
I've used the method of saving a local m3u8 file in temp folder to play a stream.I use this method as a way to select a specific video profile (360p, 720p, 1080p).From a web hosted m3u8, i parse the m3u8 and then make another local m3u8 file with the specific video profile.The issue is in iOS9, when trying to play an NSUrl which is a file url, i dont receive AVPlayerItemStatusReadyToPlay.Sample web m3u8#EXTM3U #EXT-X-VERSION:4 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=group00,NAME=lang,DEFAULT=YES,AUTOSELECT=YES,LANGUAGE=th,URI=https://somevideostreamurl.com/GetleafIndex05.aspx?token=tokenhere #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=group00,NAME=lang,DEFAULT=NO,AUTOSELECT=YES,LANGUAGE=en,URI=https://somevideostreamurl.com/GetleafIndex06.aspx?token=tokenhere #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=427136,RESOLUTION=480x270,CODECS=avc1.4d4015,mp4a.40.5,AUDIO=group00 https://somevideostreamurl.com/GetleafIndex01.aspx?token=tokenhere #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=735456,RESOLUTION=640x360,CODECS=avc
2
0
1.6k
Sep ’15
xcode 7 GM crashes loading a workspace
The workspace works under 6.4. It loads then indexing starts. Then xcode crashes.Process: Xcode [475]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8223)Build Info: IDEFrameworks-8223000000000000~15Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [475]User ID: 501Date/Time: 2015-09-18 06:39:03.818 -0500OS Version: Mac OS X 10.10.5 (14F27)Report Version: 11Anonymous UUID: DCF0188D-7BC4-6B63-D2DC-A59ED37B8E72Time Awake Since Boot: 230 secondsCrashed Thread: 17Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 7A218ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-8184/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/TargetSnapshots/XCBuildFileRefDGSnapshot.m:474Details: Cannot call addBuildFileRef: when file refs are frozenObject: <XCBuildFileRefArrayDGSnapshot: 0x7fdd50e5af70>Me
4
0
1.3k
Sep ’15
Reply to Xcode won't export Developer signed app
After doing that (I also use Sparkle), now Xcode 7 crashes when I try to export a Developer ID Signed application from the OrganizerProcess: Xcode [11920]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8223)Build Info: IDEFrameworks-8223000000000000~15Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [11920]User ID: 501Date/Time: 2015-09-18 07:52:42.112 -0400OS Version: Mac OS X 10.11 (15A282b)Report Version: 11Anonymous UUID: 98FBD7C6-A1F5-E174-F66F-39ECB5EA836CSleep/Wake UUID: 3A17E47B-4DDE-480D-BB55-042228B926E1Time Awake Since Boot: 400000 secondsTime Since Wake: 500 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 7A218UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSTaggedPointerString count]: unrecognized selector
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Native Media Playback on tvOS: AVPlayerViewController or AVPlayer/AVFoundation?
We would strongly recommend that you use AVPlayerViewController for media playback experiences. You may want to use a custom approach if you do not require playback controls, or if the media playback experience needs to be atypical in nature.You can handle marking regions as interstitial content by setting the interstitialTimeRanges property of your AVPlayerItem. You can also set metadata for the item manually (if not contained in the media asset) using the externalMetadata property, and manage chapter groups using the navigationMarkerGroups property.By setting an intersitial timerange, that region of the timeline will be collapsed, and you will receive callbacks to your AVPlayerViewControllerDelegate as the player enters and exits the interstitial regions, allowing you to adjust playback behaviour or seek past ads if appropriate.Take a look at the discussion of these items in the documentation for AVPlayerViewController for more information.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Delay of watchOS 2
Good summary of the issues. I didn't realize didAppear was a bug and have spent literally dozens of hours wrestling with watchConnectivity over the past three weeks. This makes so much sense.Other bugs I've run into:•iTC doesn't allow healthkit in UIRequiredDeviceCapabilities plist: https://forums.developer.apple.com/thread/15917• Healthkit workouts on watchOS2 stop/end after less than 1 min on real watch but continue until stopped on simulator.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to app group container path is different on watch app
If you're using watchOS 1 you need to ensure that both the iOS app and watch extension have a provisioning profile configured for App Groups, and configure the App Group name in the developer portal (where you set up provisioning profiles).If you're using watchOS 2 you can't use App Groups to share files since the watch extension runs on the watch, not the phone. The WatchConnectivity API needs to be used to coordinate data transfers or sharing of app data.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15