If I use the method callAsyncJavaScript() my app will compile, but it won't run on older simulators.
Specifically, in a brand new Storyboard project, I added this to `viewDidLoad():
let webView = WKWebView()
webView.callAsyncJavaScript("1", in: nil, in: .page) { result in
print("\(result)")
}
This runs fine with Xcode 16.3 targeting the iOS 18.4 simulator. It doesn't work if I target the iOS 18.3.1 simulator or the iOS 17.5 simulator. It does work on an iPhone 15 Pro running iOS 18.4 and it works on an iPhone 12 Pro running iOS 17.7.1.
It goes without saying that this used to work on Xcode 16.2 and earlier, since my real project has been using that API for 3 or 4 years now.
The specific error is
dyld[89984]: Symbol not found: _$sSo9WKWebViewC6WebKitE19callAsyncJavaScript_9arguments2inAF17completionHandlerySS_SDySSypGSo11WKFrameInfoCSgSo14WKContentWorldCys6ResultOyyps5Error_pGcSgtF
Referenced from: <82CC68A8-9426-343E-82CD-5443F53A6919> /Users/dave/Library/Developer/CoreSimulator/Devices/69CE58A3-8162-4616-B110-5857E6E2889F/data/Containers/Bundle/Application/3F27AAA0-8E96-437D-A1F4-DECD2E1A95B5/CallAsyncJavascript.app/CallAsyncJavascript.debug.dylib
Expected in: <E11EC0F5-2AD1-3402-AB03-31A85EA6EB3A> /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi,
I released an app on Thursday with phased distribution. This is a venerable app that has seen many new releases over the years and there have never been issues. As of today App Store Connect says that it has distributed to 20%.
However, the app update is not visible in the App Store on my phone, and as far as we can tell based on analytics and server logs there have been no connections from the new version by any users, so it really seems like nothing has actually been distributed and the 20% number is incorrect.
Has anybody experienced this before that may offer some insights into what's going on?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
For a very long time I've been uploading archives to Appstore Connect using
xcodebuild -exportArchive \
-archivePath /the/path/to/product.xcarchive \
-allowProvisioningUpdates \
-exportOptionsPlist export-options.plist
With Xcode 15 beta, this is failing with
2023-09-06 11:01:14.030 xcodebuild[29720:27205289] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/xv/5x5m3g3x357d3gd3_k37gpl80000gn/T/ca73_2023-09-06_11-01-14.029.xcdistributionlogs".
2023-09-06 11:01:26.681 xcodebuild[29720:27205289] *** Assertion failure in +[UNUserNotificationCenter currentNotificationCenter], UNUserNotificationCenter.m:55
2023-09-06 11:01:26.681 xcodebuild[29720:27205289] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'bundleProxyForCurrentProcess is nil: mainBundle.bundleURL file:///Applications/Xcode-15.0.0-Beta.8.app/Contents/Developer/usr/bin/'
*** First throw call stack:
(
0 CoreFoundation 0x000000018114f154 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000180c6e4d4 objc_exception_throw + 60
2 Foundation 0x0000000182102a88 -[NSCalendarDate initWithCoder:] + 0
3 UserNotifications 0x000000018c7b63f0 __53+[UNUserNotificationCenter currentNotificationCenter]_block_invoke + 680
4 libdispatch.dylib 0x0000000180e48400 _dispatch_client_callout + 20
5 libdispatch.dylib 0x0000000180e49c40 _dispatch_once_callout + 32
6 UserNotifications 0x000000018c7b6144 +[UNUserNotificationCenter currentNotificationCenter] + 156
7 IDEFoundation 0x00000001044a34b4 -[IDEDistributionUploadStep upload] + 620
8 IDEFoundation 0x00000001044a48d8 -[IDEDistributionUploadStep loadDrivableFromExportOptions:error:] + 20
9 IDEFoundation 0x000000010462d908 -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 1988
10 IDEFoundation 0x000000010462d0ec -[IDEDistributionDriver runWithDestinationPath:error:] + 28
11 Xcode3Core 0x000000010044a198 -[Xcode3CommandLineBuildTool(ArchiveSchemeAction) _distributeArchiveAndExit] + 1052
12 Xcode3Core 0x0000000100481408 -[Xcode3CommandLineBuildTool run] + 2412
13 libxcodebuildLoader.dylib 0x00000001001fdfcc XcodeBuildMain + 948
14 dyld 0x0000000180c9ff28 start + 2236
)
** INTERNAL ERROR: Uncaught exception **
Uncaught Exception: bundleProxyForCurrentProcess is nil: mainBundle.bundleURL file:///Applications/Xcode-15.0.0-Beta.8.app/Contents/Developer/usr/bin/
Stack:
0 __exceptionPreprocess (in CoreFoundation)
1 objc_exception_throw (in libobjc.A.dylib)
2 -[NSCalendarDate initWithCoder:] (in Foundation)
3 __53+[UNUserNotificationCenter currentNotificationCenter]_block_invoke (in UserNotifications)
4 _dispatch_client_callout (in libdispatch.dylib)
5 _dispatch_once_callout (in libdispatch.dylib)
6 +[UNUserNotificationCenter currentNotificationCenter] (in UserNotifications)
7 -[IDEDistributionUploadStep upload] (in IDEFoundation)
8 -[IDEDistributionUploadStep loadDrivableFromExportOptions:error:] (in IDEFoundation)
9 -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] (in IDEFoundation)
10 -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
11 -[Xcode3CommandLineBuildTool(ArchiveSchemeAction) _distributeArchiveAndExit] (in Xcode3Core)
12 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
13 XcodeBuildMain (in libxcodebuildLoader.dylib)
14 start (in dyld)
I'v already reported this to Feedback Assistant as FB13042281 but I was wondering if anybody has a workaround. With Xcode 15 GM likely to drop in the next week or so, this is going to put a huge crimp into my workflows.
It seems that Apple has rolled out a new design of developer.apple.com. Unfortunately, the drop-down that lets you choose the development team DOES NOT SCROLL, which means that I can't get to half of the teams that I'm a member of.
In addition to not being able to see half of the teams I'm a member of, I can't log out either because the Logout button is presumably at the bottom of this non-scrolling drop-down.
Does anybody have a workaround? Maybe a way to get back to the old design, or maybe a way to inject some javascript that turns the non-scrolling dropdown into one that scrolls. Or even some UI element I'm missing that would let me get to the rest of the account?
I tried shrinking the font size on the site but there appear to be limitations on how small the font can go on Safari. On Chrome, if I shrink the page's font size small enough, I can eventually see the entire list, although it's a little challenging to read it at that size.
I got a app store review rejection and wish to reply to it; something that I have done countless times for my clients over the years.
However, I am unable to send replies for one particular account. I go to the review feedback and click on the "Reply to App Review" link. After typing my reply into the text field I click the Reply button. At that point it shows an error message "There can be only one draft message per thread", the reply dialog never goes away, and the reply button is disabled with a spinner running.
I've already opened a ticket with support and their response was some canned text explaining to me how to reply to app store review. Which obviously I already know how to do, so it's not all that helpful.
At this point I'm stuck. I can't proceed with the review unless I can reply to their questions, and the system won't accept my replies.
Any suggestions?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Review
App Store Connect