Skip to content
Provides assert function that check autolayout error in Swift
Branch: master
Clone or download
Latest commit 6526072 Jun 5, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example use spm in example Jun 5, 2019
Readme update screenshot May 26, 2019
Sources refactoring May 27, 2019
Tests refactoring May 27, 2019
XCTAssertAutolayout.xcodeproj refactoring May 27, 2019
.gitignore use spm in example Jun 5, 2019
.swift-version update version May 28, 2019
.travis.yml fix ci settings May 23, 2019
CXCTAssertAutolayout.podspec update version May 28, 2019
LICENSE setup cocoapods May 28, 2019
Package.swift use C extern for more safety May 23, 2019 Update May 28, 2019
XCTAssertAutolayout.podspec update version May 28, 2019


Build Status Carthage compatible pod

Provides autolayout test cases for Swift.

Found ambiguous layout from hooked UIViewAlertForUnsatisfiableConstraints.


  • This function doesn't work on real device. Should run on iPhone Simulator.
  • This function use UIWindow so it is required that install HostApplication in your test case.

Support version

iOS 9.0~ Swift 4.2~



github "tarunon/XCTAssertAutolayout"


Write it below Pods for testing.

pod 'XCTAssertAutolayout'
You can’t perform that action at this time.