Ambiguous layout warnings in Xcode 13.0
I noticed the same bug on my app. It's happening in Static cells in TableView Controller, and ambiguous layout warning appears only for those cells that can be reached after scrolling down.
Steps I took to remove layout warnings:
- Select the view controller that shows autolayout warnings
- Inspectors > Size > Simulated Size > Freeform (see image below)
- Change height so that all cells are displayed
Now all those warnings are gone!
Xcode version: 13.2 (13C90)
Simulated Size image
Xcode 8 - IB Designables - Failed to render and update auto layout status, The agent crashed
You can try one of the following to figure out the cause:
- look for the
IBDesignablesAgentCocoaTouch
logs in this directory:~/Library/Logs/DiagnosticReports
and see the cause.
Note: for user with Catalina: look for
IBDesignablesAgent-iOS_<DATE>-<MAC_NAME>.crash
Go to the Editor -> Debug Selected View while selecting your
@IBDesignable UIView
in your storyboard, and see the stack trace.Delete Derive Data folder.
Xcode Preference -> Location -> Derived Data
/Users/YourMacName/Library/Developer/Xcode/DerivedDataClean your project
Shift
+Command
+Alt
+K
.Build your project
Command
+B
.
@IBDesignable error: IB Designables: Failed to update auto layout status: Interface Builder Cocoa Touch Tool crashed
There are crash reports generated when Interface Builder Cocoa Touch Tool crashes. Theses are located in ~/Library/Logs/DiagnosticReports
and named IBDesignablesAgentCocoaTouch_*.crash
. In my case they contained a useful stack-trace that identified the issue in my code.
Not Auto launching app when I run thru android studio
It is because you are running it as a 'test' and not as an 'Android Application'.
- Open the "Edit Configurations" pane and click the '+' button.
- Select the option to create a new 'Android Application' and then select the correct module.
- Apply, and you can then delete the test configuration you were using before if you wish.
Then every time you run, make sure you are running as an Android Application and not a test, and it will auto-launch on install.
Xcode 5 layout errors - Misplaced View Frame for Label will be different at runtime
If you're still looking for an answer here, the answer is likely that you have either no constraints, or improper constraints, on your AutoLayout view.
You can fix this by selecting the view and going to the Xcode menu option: Editor -> Resolve Auto Layout Issues -> Add Missing Constraints / Reset to Suggested Constraints
.
You can also select the entire layout and do the same thing, this will reset all of the views on your layout to recommended constraints.
If you need to do custom constraints, you will have to set up your own auto layout constraints either in the Storyboard/XIB file, or manually in code.
For more information about Auto Layout, you can see Apple's documentation.
Finally, you can also turn off auto layout on the layout if you want it to appear as-is, with no automatic readjustments (this is not recommended).
Android Studio not deploying changes to app
I've got the same problem. This thread popped up first when I've searched for it. Solved it (hoping so) by not using the Instant Run feature. Might not be the best solution but it works for now.
Just go to "File -> Settings -> Build, Execution, Deployement -> Instant Run" and just disable it. With this Android Studio builds from scratch each time but it's better than not building it right.
Mini rant: Almost each version of Android Studio comes with an annoying bug. They're about to release the version 2 but its beta is still buggy. I hope they stabilize the IDE in the near future.
Related Topics
Uialertview's Textfield Does Not Show Keyboard in iOS8
Testflight Sdk and iOS Simulator - How to Use
iOS 7 Weather App Expand/Collapse Transition
Sync Video in Avplayerlayer and Avplayerviewcontroller
Swift4: Callback Url Not Approved for This Client Application
Error | [Ios] File Patterns: the 'Source_Files' Pattern Did Not Match Any File
Swift 4.2 Make Bottom of Tableview Move Up When Keyboard Shows
Can't Pan Image Taken from Camera with Uiimagepicker
Using String.Characterview.Index.Successor() in for Statements
Xcode UI Test Uikeyinput Typetext
Gkmatchmaker Invite Handler Deprecated
Uicollectionviewcompositionallayout - Center Items in Sections or Groups
Uidocumentinteractioncontroller Does Not Open Other App in iOS 11
Do Xcode 8 Swift 3 Apps Run on iOS 7 Successfully
Where Is Uiview.Init() Documented
How to Set UIactivityviewcontroller Gmail Share Subject Different Than Body