Posts

Post not yet marked as solved
1 Replies
187 Views
i am getting this error when i added a new app extension (notification content) error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier. Embedded Binary Bundle Identifier: (null) i have set it up the same way as another app extension in the app. i have also tried to set the bundle id manually in the info.plist file as noted by some posts, but xcode keeps changing it back to the default of ${PRODUCT_BUNDLE_IDENTIFIER}. e.g. my manual edits to info.plist aren't being accepted for this key. it seems like maybe PRODUCT_BUNDLE_IDENTIFIER variable is getting cleared to null for that extension during the build process? any workarounds?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
0 Replies
96 Views
for those of you who have clients who are concerned with privacy, note that you have to go into system prefs in your mac and dig into the "siri suggestions and privacy" and shut off sirl for all the apps listed there, if in fact you don't want siri scanning your data. it is not enough to shut off "enable ask siri" at the top level. i found this out when siri scanned open safari pages and wanted to add things to my calendar. what? apple must have hired some google employees, heh.
Posted
by diffent.
Last updated
.
Post not yet marked as solved
0 Replies
196 Views
Hey guys, tried to follow the super confusing doc on this, but no luck yet. https://developer.apple.com/av-foundation/Incorporating-HDR-video-with-Dolby-Vision-into-your-apps.pdf I have code that uses AVAssetReader and AVAssetReaderTrackOutput to directly pull frames from a video, but the colors are wrong for HDR dolby videos. Basically what I want is to extract frames from an HDR Dolby video as images and have those images not be the wrong color. Don't care if they are only 8 bit per color instead of 10 and all the all new stuff, just the closest that old fashioned 8 bit per color supports. I added the statement marked // added for dolby hdr per the above doc, (spread across several lines), no luck, still bad colors. Any hints of what I am missing? NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init];                                [dictionary setObject:[NSNumber numberWithInt:kCVPixelFormatType_32BGRA] forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey];                // added for dolby hdr                dictionary[AVVideoColorPropertiesKey] = @{                 AVVideoColorPrimariesKey: AVVideoColorPrimaries_ITU_R_709_2,                 AVVideoTransferFunctionKey: AVVideoTransferFunction_ITU_R_709_2,                 AVVideoYCbCrMatrixKey: AVVideoYCbCrMatrix_ITU_R_709_2                 };                                AVAssetReaderTrackOutput* asset_reader_output = [[AVAssetReaderTrackOutput alloc] initWithTrack:video_track outputSettings:dictionary];                                  [asset_reader addOutput:asset_reader_output]; // from here we get sample buffers like this CMSampleBufferRef buffer2 = [asset_reader_output copyNextSampleBuffer]; // then pixel buffer  CVPixelBufferRef inputPixelBuffer = CMSampleBufferGetImageBuffer(buffer2); // then a CIImage   CIImage* ciImage = [CIImage imageWithCVPixelBuffer:inputPixelBuffer]; // one vid frame then we use standard stuff to convert that to a CGImage/UIImage
Posted
by diffent.
Last updated
.
Post not yet marked as solved
1 Replies
840 Views
Can anyone clarify which devices or chips the so-called "neural engine" can be used for machine learning model Training? As opposed to inference (or prediction)? And can external libraries such as Tensorflow (perhaps via the browser-based javascript library) access the neural engine in any manner for training or inference?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
3 Replies
343 Views
one of our testers got a new iphone13, hooray! but he cannot download apps in test flight anymore. the spinny thing shows then disappears. any ideas?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
1 Replies
1.4k Views
hi all, trying to create an imessage extension example based upon the Hello World story board that shows up when you create the extension. if i add a button to the hello world story board, and hook up the button to a method, i dont seem to be getting any tap events on that button. i tried also creating a button manually with [UIButton buttonWithType] and adding a target to it...the buttons show up, but they don't take tap events. i used the UI examiner in xcode, and touch events seem to be enabled on all views in the imsg extension view stack. i do see a strange message in the xcode console which i havent seen before: [PPT] Error creating the CFMessagePort needed to communicate with PPT. any ideas? PS: this is on simulator. i tried on device, same behavior. no touch events.
Posted
by diffent.
Last updated
.
Post not yet marked as solved
0 Replies
239 Views
i am using the tabular regression method of CreateML. i see where it prints a couple of metrics such as root mean square error on the validation data, but i dont see any way to export the raw fitted numbers (e.g. training prediction), or validation numbers (e.g. validation prediction), or out of sample "testing" numbers (from the testing data set). is this possible in CreateML directly? the reason this is necessary is that you sometimes want to plot actual versus predicted and compute other metrics for regressions.
Posted
by diffent.
Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
as i am typing in a Terminal window on Catalina (as all developers must do), i must be accidentally hitting some secret pattern of keys, because yellow man page windows keep popping up to do a "man" command on whatever word i am typing. how do we shut this terrible feature off?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
1 Replies
377 Views
Can anyone from apple provide the spline formulation that is used in the CIToneCurve filter?The documentation says that a spline is passed thru the points you give it, but thereare a lot of spline types in the world, and they all can yield different shapes thru the same set of points.
Posted
by diffent.
Last updated
.
Post not yet marked as solved
1 Replies
230 Views
i pushed a couple of builds up to app store connect on dec5 and they just disappeared. not showing as in-process or anything. anyone else see this happening?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
2 Replies
268 Views
sometimes, for the very same video file, we get an error from this call on iOS example of fail case path: /var/mobile/Media/DCIM/102APPLE/IMG_2685.mp4 sometimes it works fine. what? [[NSFileManager defaultManager] attributesOfItemAtPath:filepath error:&error]; anyone see this before?
Posted
by diffent.
Last updated
.
Post not yet marked as solved
3 Replies
965 Views
We are using AVAssetWriter to write a movie file. All works fine, but when the app goes into the background and pauses operations, we would expect the writer to come back to life when you bring the app back into the foreground. However, it does not, it fails with this error code. Any hints, workarounds? Error Domain=AVFoundationErrorDomain Code=-11847 "Operation Interrupted" UserInfo={NSLocalizedRecoverySuggestion=Stop other operations and try again., NSLocalizedDescription=Operation Interrupted, NSUnderlyingError=0x2820356b0 {Error Domain=NSOSStatusErrorDomain Code=-16121 "(null)"}}
Posted
by diffent.
Last updated
.
Post not yet marked as solved
3 Replies
1.8k Views
has any one seen this and/or know the solution?what could cause a pause event to get triggered? we can trap when the event gets caught in the safari debuggerbut unable to see what is causing it. like who is sending the event? is there any way to trace the sending of media events in safari? we get random pause events recv'd by our video tag, a few seconds after video start.seems to be on videos with audio playing Only, ios10.3 and upokay on ios10.2UIWebView implementation
Posted
by diffent.
Last updated
.
Post not yet marked as solved
0 Replies
313 Views
is there any recommend way to install a shortcut link in an app to make it easy for the user to get at it? or is maybe just a regular link that opens in a webview the only/best way? these type of automation shortcuts:: https://support.apple.com/guide/shortcuts/welcome/ios
Posted
by diffent.
Last updated
.