質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
iOS

iOSとは、Apple製のスマートフォンであるiPhoneやタブレット端末のiPadに搭載しているオペレーションシステム(OS)です。その他にもiPod touch・Apple TVにも搭載されています。

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

Swift 2

Swift 2は、Apple社が独自に開発を行っている言語「Swift」のアップグレード版です。iOSやOS X、さらにLinuxにも対応可能です。また、throws-catchベースのエラーハンドリングが追加されています。

Q&A

解決済

1回答

4239閲覧

iOSアプリを作成しているが、実機に入れた時メッセージが出る

iwanharts

総合スコア32

iOS

iOSとは、Apple製のスマートフォンであるiPhoneやタブレット端末のiPadに搭載しているオペレーションシステム(OS)です。その他にもiPod touch・Apple TVにも搭載されています。

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

Swift 2

Swift 2は、Apple社が独自に開発を行っている言語「Swift」のアップグレード版です。iOSやOS X、さらにLinuxにも対応可能です。また、throws-catchベースのエラーハンドリングが追加されています。

0グッド

0クリップ

投稿2016/09/04 13:13

###前提・実現したいこと
iOSアプリを作成し実機にインストールしたところ、落ちたりはしないが以下のようなメッセージが出る。
何が原因と考えられるのか、どんな時に出るメッセージなのか教えて欲しい。

###発生している問題・エラーメッセージ

2016-09-04 18:47:31.095 AAAAA[941:247500] 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. ( "<NSLayoutConstraint:0x146e89d30 V:[UIButton:0x146e89a70' '(50)]>", "<NSLayoutConstraint:0x146e92400 V:[UIButton:0x146e9cde0'Button'(40)]>", "<NSLayoutConstraint:0x146e931a0 V:[UIButton:0x146e89a70' ']-(0)-| (Names: '|':UIView:0x146e935e0 )>", "<NSLayoutConstraint:0x146e93290 UIButton:0x146e9cde0'Button'.centerY == UIButton:0x146e89a70' '.centerY>", "<NSLayoutConstraint:0x146e93330 V:[UIButton:0x146e9cde0'Button']-(0)-| (Names: '|':UIView:0x146e935e0 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x146e89d30 V:[UIButton:0x146e89a70' '(50)]> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2016-09-04 18:47:31.096 AAAAA[941:247500] 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. ( "<NSLayoutConstraint:0x146e89730 V:[UIButton:0x146e6bc10' '(50)]>", "<NSLayoutConstraint:0x146e92400 V:[UIButton:0x146e9cde0'Button'(40)]>", "<NSLayoutConstraint:0x146e93290 UIButton:0x146e9cde0'Button'.centerY == UIButton:0x146e89a70' '.centerY>", "<NSLayoutConstraint:0x146e93330 V:[UIButton:0x146e9cde0'Button']-(0)-| (Names: '|':UIView:0x146e935e0 )>", "<NSLayoutConstraint:0x146e6fc50 UIButton:0x146e6bc10' '.centerY == UIButton:0x146e89a70' '.centerY>", "<NSLayoutConstraint:0x146e6fca0 V:[UIButton:0x146e6bc10' ']-(0)-| (Names: '|':UIView:0x146e935e0 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x146e89730 V:[UIButton:0x146e6bc10' '(50)]> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2016-09-04 18:47:31.101 AAAAA[941:247500] 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. ( "<NSLayoutConstraint:0x146e8a430 V:[UIButton:0x146e8a170' '(50)]>", "<NSLayoutConstraint:0x146e92400 V:[UIButton:0x146e9cde0'Button'(40)]>", "<NSLayoutConstraint:0x146e93290 UIButton:0x146e9cde0'Button'.centerY == UIButton:0x146e89a70' '.centerY>", "<NSLayoutConstraint:0x146e93330 V:[UIButton:0x146e9cde0'Button']-(0)-| (Names: '|':UIView:0x146e935e0 )>", "<NSLayoutConstraint:0x146e6fed0 V:[UIButton:0x146e8a170' ']-(0)-| (Names: '|':UIView:0x146e935e0 )>", "<NSLayoutConstraint:0x146ea5090 UIButton:0x146e8a170' '.centerY == UIButton:0x146e89a70' '.centerY>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x146e8a430 V:[UIButton:0x146e8a170' '(50)]> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

###補足情報(言語/FW/ツール等のバージョンなど)
OSX:10.11.6
xcode:7.3.1
iOS:9.3.5

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

AutoLayoutでエラーが出ています

StoryboardでViewControllerのサイズを変更できますので、変更されればAutoLayoutの矛盾がでてくると思います。

Main.Storyboard

投稿2016/09/04 14:19

退会済みユーザー

退会済みユーザー

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問