Developer Beta 2 does not install on my machine either. When I click "Download and Install", after downloading the update it presents an error message saying that an error occoured during installation. According to what I can see in the logs, it's failing during firmware update of the Touch Bar.I'm using the latest MPB 16-inch. Have also reported this issue to Apple with feedback ID FB7667446.
Post
Replies
Boosts
Views
Activity
Found a way to remove the items in the entitlements file when building for the Mac Catalyst target. When doing that, I was able to export the app using "Developer ID".Add a "Run Script" step in the build tabif [ "${IS_MACCATALYST}" = "YES" ]; then
ENTITLEMENTS_FILE="${TARGET_TEMP_DIR}/${FULL_PRODUCT_NAME}.xcent"
plutil -remove "com\.apple\.developer\.nfc\.readersession\.formats" "${ENTITLEMENTS_FILE}"
plutil -remove "com\.apple\.developer\.siri" "${ENTITLEMENTS_FILE}"
fi
This workaround / extension on UIImage fixed the issue:#if targetEnvironment(macCatalyst)
extension UIImage {
func symbolForNSToolbar() -> UIImage? {
guard let symbol = applyingSymbolConfiguration(.init(pointSize: 13)) else { return nil }
let format = UIGraphicsImageRendererFormat()
format.preferredRange = .standard
return UIGraphicsImageRenderer(size: symbol.size, format: format).image { _ in symbol.draw(at: .zero) }.withRenderingMode(.alwaysTemplate)
}
}
#endif
Screenshot of the issue: https://snipboard.io/NXjD86.jpgItems placed into a NSToolbarItemGroup seems to scale correctly. But now it looks even more wierd, as the height of the segmented bar is smaller than the regular buttons.
Have you done the same for imports where you use CoreNFC?#if canImport(CoreNFC)
import CoreNFC
#endif