xcode11.4

iOS Watch app fails to install - WatchKit 1.0 apps are no longer installable on this watchOS version

你说的曾经没有我的故事 提交于 2021-02-11 06:05:54
问题 I have added Watch App target for existing iOS app but I have problem to install it on watch simulator. It always fails with this message This app could not be installed at this time. Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Could not install at this time. Recovery Suggestion: WatchKit 1.0 apps are no longer installable on this watchOS version. -- WatchKit 1.0 apps are no longer installable on this watchOS version. Domain: MIInstallerErrorDomain Code: 133 User Info: {

Test Rich Notifications in Simulator

感情迁移 提交于 2021-02-04 07:29:08
问题 I am able to test the normal notifications in Simulator, but when I tried to test rich notifications nothing happens, event title is not getting updated. Could you please assist me, how to proceed. Do I need to change any simulator settings? I am using Xcode 11.4 Sample Payload : { "aps": { "mutable-content": 1, "alert": { "body": "Push notification body", "title": "Push notification title" } }, "media-url": "https://i.imgur.com/t4WGJQx.jpg" } NotificationService Extension Method: - (void

SwiftUI toggle() function on Published values stopped triggering didSet with Swift 5.2

筅森魡賤 提交于 2021-01-29 19:08:49
问题 I have just updated my Xcode to 11.4 from 11.3 and my project written in SwiftUI started to behave differently. I used to call toggle() function for boolean values and it used to trigger didSet property observer, however, it is not working any more. Let' say we have a State property called isSettingOn . I used to call this: isSettingOn.toggle() which was triggering didSet observer of the property. Now, only if I call this: isSettingOn = true it is working. My projects are all based on this

Mac command line tools 11.4 no longer has svn

ぃ、小莉子 提交于 2020-06-22 09:28:02
问题 I just updated XCode and the command line tools to 11.4. Now when I run svn it says "svn: error: The subversion command line tools are no longer provided by Xcode". The release notes say "Command line tool support for Subversion — including svn, git-svn, and related commands is no longer provided by Xcode. If you need Subversion or related command line tools the you need to install the Command Line Tools package by running xcode-select --install." I seem to be in a loop here, as the tools are

Mac command line tools 11.4 no longer has svn

别说谁变了你拦得住时间么 提交于 2020-06-22 09:27:40
问题 I just updated XCode and the command line tools to 11.4. Now when I run svn it says "svn: error: The subversion command line tools are no longer provided by Xcode". The release notes say "Command line tool support for Subversion — including svn, git-svn, and related commands is no longer provided by Xcode. If you need Subversion or related command line tools the you need to install the Command Line Tools package by running xcode-select --install." I seem to be in a loop here, as the tools are

Snapshotting a `UIView` crashes the app with `NSInvalidArgumentException` “[_UIReplicantView _isSymbolImage]: unrecognized selector sent to instance”

倾然丶 夕夏残阳落幕 提交于 2020-06-01 05:09:41
问题 Hi guys i have just updated XCode to version 11.4 from the app store and when i try to snapshot a UIView on iOS 13.4 like this: extension UIView { func snapshot(at scale: CGFloat) -> UIImage? { let renderer = UIGraphicsImageRenderer(size: bounds.size) let image = renderer.image { [weak self] context in self?.drawHierarchy(in: self?.bounds ?? .zero, afterScreenUpdates: true) } return image } } or like that: extension UIView { func snapshotOld(at scale: CGFloat) -> UIImage? {

Snapshotting a `UIView` crashes the app with `NSInvalidArgumentException` “[_UIReplicantView _isSymbolImage]: unrecognized selector sent to instance”

强颜欢笑 提交于 2020-06-01 05:09:08
问题 Hi guys i have just updated XCode to version 11.4 from the app store and when i try to snapshot a UIView on iOS 13.4 like this: extension UIView { func snapshot(at scale: CGFloat) -> UIImage? { let renderer = UIGraphicsImageRenderer(size: bounds.size) let image = renderer.image { [weak self] context in self?.drawHierarchy(in: self?.bounds ?? .zero, afterScreenUpdates: true) } return image } } or like that: extension UIView { func snapshotOld(at scale: CGFloat) -> UIImage? {

App crash , Xcode11.4, iOS 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s)

不羁岁月 提交于 2020-05-25 07:08:40
问题 Our app crash on os 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s 32) compiled by Xcode 11.4, swift optimization on. We find the PC register point to a hole address without virtual address and no stack information. If we close swift optimization, it works. So do anyone find the problem and any solution? It's certain that it's related to Xcode 11.4 swift optimization. I find the same question here. https://www.reddit.com/r/iOSProgramming/comments/frcpsc/xcode_114_builds_crashes_on_ios_10/ Incident

App crash , Xcode11.4, iOS 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s)

左心房为你撑大大i 提交于 2020-05-25 07:08:11
问题 Our app crash on os 10.3.3 10.3.4, iPhone 5c /5 iPad4 (armv7s 32) compiled by Xcode 11.4, swift optimization on. We find the PC register point to a hole address without virtual address and no stack information. If we close swift optimization, it works. So do anyone find the problem and any solution? It's certain that it's related to Xcode 11.4 swift optimization. I find the same question here. https://www.reddit.com/r/iOSProgramming/comments/frcpsc/xcode_114_builds_crashes_on_ios_10/ Incident

Warning: Initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer

天涯浪子 提交于 2020-05-12 11:55:49
问题 After update to Swift 5.2 / Xcode 11.4 got a warning to following code: extension Data { init<T>(from value: T) { var value = value let pointer = UnsafeBufferPointer(start: &value, count: 1) self.init(buffer: pointer) } func to<T>(type: T.Type) -> T { return self.withUnsafeBytes { $0.load(as: T.self) } } } On line let pointer = UnsafeBufferPointer(start: &value, count: 1) I got Initialization of 'UnsafeBufferPointer' results in a dangling buffer pointer I can use @silenceWarning but it's