Post

Replies

Boosts

Views

Activity

AVAssetExportSession fails part way thru for long videos
as in the above note, shorter videos, say, less than 1 hour playing time seem to export ok. this is just a time clip operation we are doing not a composition. but when we put videos longer than an hour and try to clip them to an hour, the export fails part way thru we can see the .progress property proceeding then we get the mysterious unknown error code: An unknown error occurred (-12551) as noted below in our console output apple any hints besides unknown? surely your code knows why it failed. why not tell us?! the "code = " listed below is the .status which shows as 4 waiting for trimmed movie file save 1 progress = 0.692948 2021-03-08 14:55:52.702278-0500 KargoCamera[1598:154227] Export failed: The operation could not be completed code = 4 2021-03-08 14:55:52.702412-0500 KargoCamera[1598:154227] Export recovidea: (null) 2021-03-08 14:55:52.702507-0500 KargoCamera[1598:154227] Export reason: An unknown error occurred (-12551)
2
0
911
Apr ’21
maccatalyst distribution profile generation broken?
previously (last year) I was able to generate provision profiles that matched to the *.maccatalyst.*com.* bundle id pattern. now when i try to generate a new mac provision profile because my prior profile expired, this site generates the profile for the iPad version of the bundle id pattern. e.g. without the .maccatalyst. portion of the bundle id. this is not usable for code signing of the mac app since the bundle id does not match. what is going on with this?
0
0
615
Apr ’21
other apps holding on to mic in background?
is it possible for other iOS apps to hold onto microphone access when those apps are in the background? we see some cases where our app cannot get mic access (e.g. we can record video but we get no sound) and we think it might be another app such as Telegram "holding onto" the mic, because when we quit all other apps, our app works ok. this seems like an odd failure mode. any hints how to fix it?
0
0
996
May ’21
install shortcut in app?
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
0
0
698
Sep ’21
random pause events recv'd HTML5 video tag
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
3
0
3.2k
Sep ’21
AVAssetWriter fail in background
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)"}}
3
1
2.3k
Sep ’21
CIToneCurve spline formulation?
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.
1
0
837
Dec ’21
CreateML raw predictions output
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.
0
0
634
Feb ’22
imessage extension not getting touch events
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.
1
0
3.2k
Feb ’22
AVAssetExportSession fails part way thru for long videos
as in the above note, shorter videos, say, less than 1 hour playing time seem to export ok. this is just a time clip operation we are doing not a composition. but when we put videos longer than an hour and try to clip them to an hour, the export fails part way thru we can see the .progress property proceeding then we get the mysterious unknown error code: An unknown error occurred (-12551) as noted below in our console output apple any hints besides unknown? surely your code knows why it failed. why not tell us?! the "code = " listed below is the .status which shows as 4 waiting for trimmed movie file save 1 progress = 0.692948 2021-03-08 14:55:52.702278-0500 KargoCamera[1598:154227] Export failed: The operation could not be completed code = 4 2021-03-08 14:55:52.702412-0500 KargoCamera[1598:154227] Export recovidea: (null) 2021-03-08 14:55:52.702507-0500 KargoCamera[1598:154227] Export reason: An unknown error occurred (-12551)
Replies
2
Boosts
0
Views
911
Activity
Apr ’21
have .symbols files in Symbols folder but no .dSYM
trying to fix the seemingly common missing .dSYM file problem. problem started occurring in xcode11 or so maybe? i have DWARF with dSYM File set in build settings but am not getting a .dSYM file in the archive package to upload to app store connect. any ideas?
Replies
2
Boosts
0
Views
1.2k
Activity
Apr ’21
maccatalyst distribution profile generation broken?
previously (last year) I was able to generate provision profiles that matched to the *.maccatalyst.*com.* bundle id pattern. now when i try to generate a new mac provision profile because my prior profile expired, this site generates the profile for the iPad version of the bundle id pattern. e.g. without the .maccatalyst. portion of the bundle id. this is not usable for code signing of the mac app since the bundle id does not match. what is going on with this?
Replies
0
Boosts
0
Views
615
Activity
Apr ’21
discount codes for apps or in-app purchases?
aside from the beta-test type of promo codes, is there any way to have "reduced price" promo codes that are used via the Redeem feature in the app store, for either full apps or in-app purchases (possibly subscriptions)?
Replies
1
Boosts
0
Views
611
Activity
Apr ’21
other apps holding on to mic in background?
is it possible for other iOS apps to hold onto microphone access when those apps are in the background? we see some cases where our app cannot get mic access (e.g. we can record video but we get no sound) and we think it might be another app such as Telegram "holding onto" the mic, because when we quit all other apps, our app works ok. this seems like an odd failure mode. any hints how to fix it?
Replies
0
Boosts
0
Views
996
Activity
May ’21
icloud on = automatic hoover up of your photos
how is this secure? i have to switch icloud off and on for testing icloud in apps, and everytime i do this, it vacuums up all my photos and puts them on the cloud.
Replies
1
Boosts
0
Views
712
Activity
Jun ’21
install shortcut in app?
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
Replies
0
Boosts
0
Views
698
Activity
Sep ’21
random pause events recv'd HTML5 video tag
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
Replies
3
Boosts
0
Views
3.2k
Activity
Sep ’21
AVAssetWriter fail in background
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)"}}
Replies
3
Boosts
1
Views
2.3k
Activity
Sep ’21
sometimes file stat fails for media files / iOS 14.2 and up
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?
Replies
2
Boosts
0
Views
718
Activity
Nov ’21
test flight builds : binary uploads disappearing
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?
Replies
1
Boosts
0
Views
563
Activity
Dec ’21
CIToneCurve spline formulation?
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.
Replies
1
Boosts
0
Views
837
Activity
Dec ’21
stop the yellow man page popup windows from Terminal
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?
Replies
2
Boosts
0
Views
2.5k
Activity
Dec ’21
CreateML raw predictions output
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.
Replies
0
Boosts
0
Views
634
Activity
Feb ’22
imessage extension not getting touch events
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.
Replies
1
Boosts
0
Views
3.2k
Activity
Feb ’22