Post

Replies

Boosts

Views

Activity

Reply to HDR videos export as solid color from Photo library with certain presets
happened to me, was a able "hack around it": change to: [[PHImageManager defaultManager] requestAVAssetForVideo:asset options:options resultHandler:^(AVAsset * Nullable avasset, AVAudioMix * Nullable audioMix, NSDictionary * _Nullable info) then use:  AVAssetExportSession *exportSession=nil;       if (avasset!=nil) {         exportSession=[AVAssetExportSession exportSessionWithAsset:avasset presetName:AVAssetExportPresetMediumQuality];       }
Nov ’20
Reply to App Store Connect Operation Error: expired profile
I just recreated the provisioning profiles (edit, rename, save, download) and then uploaded and it worked. Another thing, while I was having the problem before fixing it, I had a previous build in TestFlight which was built with the previous provisioning profiles, so I tried to release it. It failed and I got an email saying that the profiles are invalid. So it seems like a bot at Apple (either software or human) revoked something that was used to validate the profiles. One of the reports in this thread suggests that this was reverted.
Apr ’22
Reply to Xcode 15 beta 2: Failed to install iOS app with widget extension to simulator or device, because widget extension is does not define either an NSExtensionMainStoryboard or NSExtensionPrincipalClass key with a string value in the NSExtension dictionar
I have the same problem. Setting the minimum deployment to 17 allowed me to install on my device (ad-hoc). Then I tried to build for release but the organizer won't upload with the same error: NSExtensionPrincipalClass is unexpected. So I removed NSExtensionPrincipalClass, recompiled and uploaded successfully. However when trying to install from TestFlight, it failed because NSExtensionPrincipalClass is missing. The console shows: "Appex bundle at /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.kfzF1C/extracted/Payload/.app/PlugIns/XXXWidgetExtension.appex with id com..***.widget does not define either an NSExtensionMainStoryboard or NSExtensionPrincipalClass key with a string value in the NSExtension dictionary in its Info.plist" So - with NSExtensionPrincipalClass - can't upload to appstore. Without NSExtensionPrincipalClass can't install because it's missing. What's the deal!?
May ’24
Reply to WatchWidget does not define either an NSExtensionMainStoryboard or NSExtensionPrincipalClass - because it can't!
There's a similar thread here: https://forums.developer.apple.com/forums/thread/732892 It didn't help me. What happens to me is that if I define NSExtensionPrincipalClass, the organizer won't let me upload to AppStore because NSExtensionPrincipalClass is unexpected. If I remove NSExtensionPrincipalClass, TestFlight fails to install because NSExtensionPrincipalClass is missing...
May ’24
Reply to Title: Issues with NSExtensionMainStoryboard or NSExtensionPrincipalClass in Widget Extensions for iOS 14
There's a similar thread here: https://forums.developer.apple.com/forums/thread/732892 It didn't help me. What happens to me is that if I define NSExtensionPrincipalClass, the organizer won't let me upload to AppStore because NSExtensionPrincipalClass is unexpected. If I remove NSExtensionPrincipalClass, TestFlight fails to install because NSExtensionPrincipalClass is missing...
May ’24