Post not yet marked as solved
We are going through the process of setting up universal control between an Intel Mac (A2141) and an A-chip iPad (A2228). This does not work as of now. We updated to the latest version last night on both the iPad and the MacBook.
We can confirm that
WiFi is ON
Bluetooth is ON
Handoff is ON on both devices
Still nothing when we move the MacBook cursor to any edge (left, right, top, nothing).
_We tried looking online, and found a website that claims that Universal Control will not be available for Intel Macs. _
The question(s): Will Universal Control be available for Intel MacBooks running Monterey? Will it be available for A-Chip iPad pros running iOS 15? Will it be working "between" these two?
Thank you.
The link to the website for reference:
https://www.howtoisolve.com/universal-control-not-working-mac-and-ipad/
Post not yet marked as solved
Hy!
Hope you are all doing well. I saw video of Inspecting, Modifying, and Constructing PencilKit Drawings. This video clear my all concepts. But I've one issue I want to draw on numbers like alphabets but there is no numbers file. In this code only uppercase and lowercase drawing file but these files not open. Firstly kindly tell me how to open this file and how to draw on numbers like alphabets.
Your solutions are appreciation for me.
I am waiting for your solution.
Thanks.
Post not yet marked as solved
Do we have diploma course for apple technologies
Post not yet marked as solved
The latest betas have new API in Core Location around "location pushes" including:
CLLocationManager.startMonitoringLocationPushes
CLLocationManager.stopMonitoringLocationPushes
protocol CLLocationPushServiceExtension
CLLocationPushServiceError
Does anyone know what these are for? I couldn't find anything in the WWDC sessions, or general web searches.
Post not yet marked as solved
I have been planning to buy a Macbook air in august. But recently, I found out that the new Macbook Air M2 is coming out on the first half of 2022. should I wait for the new macbook or should I buy one now?
(I use notebook on a daily basis. I currently have one now)
Post not yet marked as solved
I can’t seem to create any bot with Xcode 13 on macOS Monterey. The error message was “The server is currently unable to build for any platforms...”
The app I was trying to build was the standard macOS SwiftUI application, straight from the template code.
What seems to be the problem here?
Post not yet marked as solved
We have a case to show users a message that their subscription was in Billing Retry.
But we were unable to test it in Sandbox Environment. In the Sandbox environment, we were enabled interrupted purchase after initial purchase but that's not working as expected.
In Xcode environment tried interrupted purchase and fail transactions with error. But Nothing works for renewal transactions. These all are working as expected only for the Initial purchase.
Please provide a proper way to test the Billing Retry case.
Post not yet marked as solved
We have a case to show users a message that their subscription was in Billing Retry.
Current Entitlements documentation says only active subscription transactions will be returned. Our doubt is whether the current entitlements will also provide billing retry subscriptions.
If not what is the best way to get the billing retry subscriptions?
Post not yet marked as solved
As per the document, the following conditions should be met in order to retrieve network info:
The app uses Core Location, and has the user’s authorization to use location information.
The app uses the NEHotspotConfiguration API to configure the current Wi-Fi network.
The app has an active VPN configuration installed.
The app has an active NEDNSSettingsManager configuration installed.
In our case, the application relies on point 3 i.e installed VPN profile. But, I observed that CNCopyCurrentNetworkInfo always returns null even though a VPN profile is configured. This works fine with iOS 14.x versions.
I also tried using
fetchCurrentWithCompletionHandler
API. But, ended up with the same result.
Any help/lead would be highly appreciated.
Thanks in advance.
I created a 3D model using Object Capture.
https://developer.apple.com/videos/play/wwdc2021/10076/
I want to know where the image used to create the object model was taken on the object oriented coordinate.
Can I get this information from the PhotogrammetrySession?
Post not yet marked as solved
I'm trying to build my app SolarWatch on Xcode Cloud. The setup was amazing. Everything setup and ready to go within 5 minutes. But my builds fail consistently where Xcode Cloud errors out when running the following build step and results in the attached error log screenshot.
Tried both with release and beta environments.
Any help appreciated.
Run command: 'source /Volumes/Task/ci_build.env && source /Volumes/Task/ci_plan.env && xcodebuild archive -workspace /Volumes/workspace/repository/SolarWatch.xcworkspace -scheme SolarWatch -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundlePath /Volumes/workspace/resultbundle.xcresult -resultStreamPath /tmp/resultBundleStream3a2d7024-571e-4e16-969d-5b570b91d2a8.json -IDEPostProgressNotifications=YES CODE_SIGN_IDENTITY=- AD_HOC_CODE_SIGNING_ALLOWED=YES COMPILER_INDEX_STORE_ENABLE=NO -hideShellScriptEnvironment'
Post not yet marked as solved
let setupManager = HMAccessorySetupManager()
let homeTopology = HMCHIPServiceTopology(homes: homes)
setupManager.addAndSetUpAccessories(for: homeTopology, completionHandler: { error in
if let error = error {
print(error)
}
})
when calling the function 'setupManager.addAndSetUpAccessories(for: homeTopology)', an error log occurs.
Error Domain=HMErrorDomain Code=48 "Operation is not supported." UserInfo={NSLocalizedDescription=Operation is not supported.}
Any ideas what could cause this?
Is this function not working yet because it is currently beta?
Or, did i use the function wrong?
Hello.
I was wondering if there is any way to manually set the Safari 15 tab color-theme color to my website.
It seems like Safari automatically choose the color but I find out that this selection occurs during the first seconds of website load and, because of that, the color being choosen is not the right one for my website.
Is there any CSS I could add or a metatag that tells safari which color it should pick?
I know this is kinda a wierd request, but I want to provide my visitors the richest experience they could get.
Thank you.
Post not yet marked as solved
How do we get the appropriate profile to enable Matter support in the developer preview build of iOS 15? The talk mentions that this is required, but I'm not sure where to acquire the profile.
Post not yet marked as solved
The operation couldn’t be completed. (com.apple.ShazamKit error 300.)
I get this error when I try to add multiple shazamcatalogs on a single SHCustomCatalog. The fact that the operation is called add(from:) and not 'load' lets me suggest that it's meant to use that way. Am I wrong?
And yes, both work work if I just add one at a time.
let catalog = SHCustomCatalog()
do {
try catalog.add(from: url1)
try catalog.add(from: url2)
{...}
} catch {...}
.
.
Also, fun fact: I was working on a ShazamKit myself before dubDub and it's a really fascinating topic and so awesome to see how well it works, great job! 👏
Post marked as Apple Recommended
I am testing iOS15 and some new functionalities of UIKit. I've encountered some issues, not sure how to solve them. I did not change that code. This is just a piece of code that worked perfectly with the iOS 14, now after updating my target, it throws an error.
Xcode crashes the moment when my custom header for the UICollectionView of type UICollectionElementKindSectionHeader is being returned for the dataSource. Here is my code:
private func configureDataSource() {
dataSource = UICollectionViewDiffableDataSource<Section, Follower>(collectionView: collectionView, cellProvider: { (collectionView, indexPath, followers) -> UICollectionViewCell? in
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: FollowerCell.reuseId, for: indexPath) as! FollowerCell
cell.set(on: followers)
return cell
})
dataSource.supplementaryViewProvider = { (collectionView, kind, indexPath) in
let header = collectionView.dequeueReusableSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader,
withReuseIdentifier: FollowersCollectionHeaderView.reuseId,
for: indexPath) as! FollowersCollectionHeaderView
header.set(with: self.user)
return header
}
}
The log says:
the view returned from
-collectionView:viewForSupplementaryElementOfKind:atIndexPath: does not match the element kind it is being used for. When asked for a view
of element kind 'FollowersCollectionHeaderView' the data source
dequeued a view registered for the element kind
'UICollectionElementKindSectionHeader'.
I did cast UICollectionElementKindSectionHeader to FollowersCollectionHeaderView, therefore I am not sure what is the issue here.
I've watched WWDC21 what's new in UIKit but haven't seen any mentioning of any change for that particular code.
Any suggestions, what to fix in that code?
Post not yet marked as solved
In the Meet AsyncSequence talk, there's a very cool use case that's shown in one of the slides - the new notifications property on NotificationCenter is an async sequence and the code sample does something like:
let notification = await center.notifications(named: ....).first { ... }
This seems really intriguing and useful to me but I had a few questions about the details of how this works:
What is the type of notification in this snippet? A Task? Where would I store this value?
What context should this be invoked in, especially if I want to have a long-running notification filter running that will remain active for the lifetime of the app?
Basically, I'm curious to see an example of the code surrounding this snippet.
Hi,
When I run the following code in application(_ :didFinishLaunchingWithOptions) in iOS 15, the bar color turns transparent (thus, showing the black background underneath), while the same code works fine in iOS 14.5:
UINavigationBar.appearance().isTranslucent = false
UINavigationBar.appearance().barTintColor = .red
Here's the screenshots of Simulators running iOS 14.5 and iOS 15:
I'm using Xcode 13 on macOS Big Sur 11.4.
Thanks!
Post marked as Apple Recommended
Hi Team,
Attempting to build our app with Xcode 13 / iOS 15, and getting a fail during archive, appearing to come from within the accelerate module.
The two errors are:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/usr/lib/swift/Accelerate.swiftmodule/armv7-apple-ios.swiftinterface:591:6: error: enum cases with associated values cannot be marked potentially unavailable with '@available'
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
^
in a number of places, and the following one, once:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/usr/lib/swift/Accelerate.swiftmodule/armv7-apple-ios.swiftinterface:1:1: error: failed to build module 'Accelerate'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.17.216 clang-1300.0.18.1)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.19.104 clang-1300.0.18.4)'). Please select a toolchain which matches the SDK.
// swift-interface-format-version: 1.0
^
This is Version 13.0 beta (13A5154h), doing a release build archive (dev build/run succeeds if that helps).
Any insights into whats going on would be great?
Cheers.
Post not yet marked as solved
I'm seeing an error trying to test out async let. It seems like this should work, based on the async/let and structured concurrency session videos.
Here's the code:
func doIt() async -> String {
let t = TimeInterval.random(in: 0.25 ... 2.0)
Thread.sleep(forTimeInterval: t)
return String("\(Double.random(in: 0...1000))")
}
async {
async let a = doIt()
async let b = doIt()
async let c = doIt()
async let d = doIt()
let results = await [a, b, c, d]
for result in results {
print(" \(result)")
}
}
But, I get this error for every "async let" statement:
error: AsyncLetSwift55WWDC21.playground:12:15: error: expression is 'async' but is not marked with 'await'
async let a = doIt()
^
await
Am I missing something key, or is this a bug?
I'm running this in the Xcode 13.0 beta, in a Playground.
Thanks!!