Post

Replies

Boosts

Views

Activity

Error DVTAssertions while running a flutter app on iPad
I have a flutter app which runs perfectly in Android and I runned it on iOS in the past. But now when I try to do 'flutter run' in an iPad it throws this error: Error output from Xcode build: ↳ 2021-04-19 15:35:36.697 xcodebuild[40866:300167] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called. Object: DTDKMobileDeviceToken: 0x7fd06bf0ad60 Method: -platform Thread: NSThread: 0x7fd06b93d400{number = 4, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-04-19 15:35:37.102 xcodebuild[40866:300280] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called. Object: DTDKMobileDeviceToken: 0x7fd06bf0ad60 Method: -platform Thread: NSThread: 0x7fd06b89fb80{number = 7, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-04-19 15:35:37.254 xcodebuild[40866:300280] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called. Object: DTDKMobileDeviceToken: 0x7fd06bf0ad60 Method: -platform Thread: NSThread: 0x7fd06b89fb80{number = 7, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. BUILD FAILED I've never seen a message like this, What can I do to solve it?
6
2
8k
Jul ’23
(Flutter app in Ipad) [LayoutConstraints] Unable to simultaneously satisfy constraints.
I have a flutter app which in android runs perfectly and in iOS it used to work too I made a build and run on an iPad, it started the application properly but when I click on a textField it throws this error: Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "NSAutoresizingMaskLayoutConstraint:0x283112530 h=--& v=--& _UIButtonBarButton:0x1041a9660.height == 0 (active)", "NSLayoutConstraint:0x283110cd0 V:|-(6)-[_UIUCBKBSelectionBackground:0x1041e3960] (active, names: '|':_UIButtonBarButton:0x1041a9660 )", "NSLayoutConstraint:0x283113d40 _UIUCBKBSelectionBackground:0x1041e3960.bottom == _UIButtonBarButton:0x1041a9660.bottom - 6 (active)" ) Will attempt to recover by breaking constraint NSLayoutConstraint:0x283113d40 _UIUCBKBSelectionBackground:0x1041e3960.bottom == _UIButtonBarButton:0x1041a9660.bottom - 6 (active) Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in UIKitCore/UIView.h may also be helpful. Any idea about what I have to do? I don't change any swift code except the AppDelegate to be able to receive push notifications, this problem will I have to change something in swift part or in flutter part?
1
0
1.1k
Oct ’21