iOS&Xcode 에서 흔히 볼 수 있 는 문제 정리(계속 업데이트...)

5587 단어 iosobjecttive-c
iOS&Xcode 에서 흔히 볼 수 있 는 문제 정리(계속 업데이트...)
iOS&Xcode 를 사용 할 때 이상 한 문제 가 자주 발생 하 므 로 여기 서 정리 하여 조회 하기 편리 합 니 다.
1. This application’s application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
해결 방안:
1、Xcode-Window->Devices
2.장 치 를 선택 하고 오른쪽 에 있 는 installed Apps 에서 이 App 을 삭제 합 니 다.
3.다시 편집 하면 된다
2. Xcode has encountered an unexpected error (0xC01C)
해결 방안:
Xcode 다시 시작
실 을 뽑 아 다시 꽂다.
clean 후 실행
3. Unable to simultaneously satisfy constraints.
    [LayoutConstraints] Unable to simultaneously satisfy constraints.
    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.
    Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
    The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in  may also be helpful.
    2017-09-14 19:07:39.448008+0800 StudentLive_Sim[28985:4843290] [LayoutConstraints] Unable to simultaneously satisfy constraints.
        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.

해결 방안:
관련 구속 의 우선 순 위 를 낮추다
예 를 들 어(Masonry):
    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
           make.left.equalTo(@(MARGIN_COMMON));
           make.right.equalTo(@(- MARGIN_COMMON));
           make.bottom.equalTo(@(-ParameterFor(44, 45)));
           make.top.equalTo(self.dateLabel.mas_bottom).offset(ParameterFor(80, 85)).with.priority(999);
           make.height.equalTo(@(SINGLE_LINE_WIDTH)).with.priority(999);
       }];

4.The use of Swift 3 @objc inference in Swift 4 mode is deprecated.
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the “Swift 3 @objc Inference” build setting to “Default” for the “EasyChartsSwift” target.

좋은 웹페이지 즐겨찾기