Post

Replies

Boosts

Views

Activity

Reply to Xcode 15 Local Package Crash
@mitchtreece Was your package crashing with XCode 14 or this only occurred after moving to XCode 15? I am also experiencing a similar issue, with an old framework written in Objective-C that I am using my project. When compiling with XCode 14, no problem at all the code works just fine, but when compiling with XCode 15, the package crash at the first instantiation of a class, with no obvious reason.
Jul ’23
Reply to Xcode Cloud upload dSYM to Sentry
Summary In case it can help someone, here my solution. Our team uses a "self-hosted" Sentry instance, so I had to provide the URL to sentry-cli. Instead of passing the parameters directly as arguments to the binary, I used the Environment Variable panel in XCode Cloud. SENTRY_URL, SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN. The advantage is that your variables do not appear in the script, and also you can set the SENTRY_AUTH_TOKEN as secret. Another advantage of XCode Cloud is that you can use Homebrew to install dependencies. See documentation. Scripts ci_scripts/ci_post_clone.sh #!/bin/sh brew install getsentry/tools/sentry-cli ci_scripts/ci_post_xcodebuild.sh #!/bin/sh if which sentry-cli >/dev/null; then ERROR=$(sentry-cli upload-dif --include-sources "$CI_ARCHIVE_PATH/dSYMs" 2>&1 >/dev/null) if [ ! $? -eq 0 ]; then echo "warning: sentry-cli - $ERROR" fi else echo "warning: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases" fi
Mar ’23
Reply to Is it possible to connect to more than one UWB source at a time?
Bringing some updates to my own post. I got in touch with an engineer at Apple via Technical Support. It's apparently possible to connect to more than one UWB source at a time, by creating one NISession per discovery token. According to this engineer, at the moment an iPhone 12 Pro like the one I use, should be able to handle around three connections at the same time, but there is no limitation and that number might increase in the future alongside hardware improvements.
Aug ’21
Reply to Which devices to use
There is no API to use Airtags or Homepods at the moment. Not sure there will ever be. Not that I work for Apple or anything, but I suspect that Apple wants to encourage manufacturers and companies to build their own UWB devices. At the moment you can build apps using the NearbyInteraction framework available with iOS 15, using XCode Beta, and at least two iPhone 11, iPhone 11 Pro, and iPhone 11 Pro Max or later. You can have a look at the code sample "Implementing Interactions Between Users in Close Proximity" on how to share the discoveryToken from NearbyInteraction using the MultipeerConnectivity framework.
Jul ’21