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

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

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

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

Swift

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

Q&A

解決済

1回答

1363閲覧

[Swift4 - Xcode9.3.1] シミュレーターで特定の機種でエラーが出る

Sonic

総合スコア7

Xcode

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

Swift

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

0グッド

0クリップ

投稿2018/07/20 20:09

編集2018/07/20 20:10

Facebookログインを実装したアプリで、
シミュレーターで起動する際、
iPhone8やiPhone8Plusでは問題なく実行できるのですが、
SEやXなど、他の機種を選択すると
ログイン実行時に下記エラーが出て落ちてしまいます。

色々調べましたが、なかなか原因が分からないので、
もしお分かりの方がいらっしゃいましたらご教授頂きたいです。
よろしくお願いします。

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

2018-07-21 03:58:50.647950+0800 【アプリ名】[15181:3643428] 5.4.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.50001000 started
2018-07-21 03:58:50.648340+0800 【アプリ名】[15181:3643428] 5.4.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2018-07-21 03:58:51.141520+0800 【アプリ名】[15181:3643057] Falling back to loading access token from NSUserDefaults because of simulator bug
2018-07-21 03:58:51.157657+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:58:51.158147+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:58:51.158480+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:58:51.662639+0800 【アプリ名】[15181:3643057] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x60000009da60 h=--& v=--& FBSDKLoginButton:0x7fa770c23680'Log in'.height == 50 (active)>",
"<NSLayoutConstraint:0x604000280910 FBSDKLoginButton:0x7fa770c23680'Log in'.height == 28 (active)>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x604000280910 FBSDKLoginButton:0x7fa770c23680'Log in'.height == 28 (active)>

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.
2018-07-21 03:58:52.135179+0800 【アプリ名】[15181:3643057] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/【ユーザー名】/Library/Developer/CoreSimulator/Devices/1BFBD639-E3A7-45E5-839C-ACF647F803C1/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-07-21 03:58:52.137740+0800 【アプリ名】[15181:3643057] [MC] Reading from private effective user settings.
2018-07-21 03:58:52.165562+0800 【アプリ名】[15181:3643057] Could not successfully update network info during initialization.
2018-07-21 03:58:52.188040+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:58:52.280328+0800 【アプリ名】[15181:3643434] TIC Read Status [2:0x0]: 1:57
2018-07-21 03:58:52.280530+0800 【アプリ名】[15181:3643434] TIC Read Status [2:0x0]: 1:57
2018-07-21 03:58:52.281058+0800 【アプリ名】[15181:3643434] TIC Read Status [2:0x0]: 1:57
2018-07-21 03:58:52.282750+0800 【アプリ名】[15181:3643434] TIC Read Status [2:0x0]: 1:57
2018-07-21 03:58:52.287829+0800 【アプリ名】[15181:3643434] TIC Read Status [1:0x0]: 1:57
2018-07-21 03:58:52.288076+0800 【アプリ名】[15181:3643434] TIC Read Status [1:0x0]: 1:57
2018-07-21 03:58:52.290154+0800 【アプリ名】[15181:3643434] TIC Read Status [3:0x0]: 1:57
2018-07-21 03:58:52.290413+0800 【アプリ名】[15181:3643434] TIC Read Status [3:0x0]: 1:57
2018-07-21 03:58:53.593512+0800 【アプリ名】[15181:3643417] TIC Read Status [4:0x0]: 1:57
2018-07-21 03:58:53.594386+0800 【アプリ名】[15181:3643417] TIC Read Status [4:0x0]: 1:57
2018-07-21 03:58:56.591421+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
Did Logout of Facebook
2018-07-21 03:58:59.192906+0800 【アプリ名】[15181:3643057] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2018-07-21 03:58:59.194545+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:58:59.198573+0800 【アプリ名】[15181:3643057] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2018-07-21 03:59:00.044818+0800 【アプリ名】[15181:3643417] TIC Read Status [5:0x0]: 1:57
2018-07-21 03:59:00.048628+0800 【アプリ名】[15181:3643417] TIC Read Status [5:0x0]: 1:57
2018-07-21 03:59:03.736677+0800 【アプリ名】[15181:3643412] TIC Read Status [6:0x0]: 1:57
2018-07-21 03:59:03.736939+0800 【アプリ名】[15181:3643412] TIC Read Status [6:0x0]: 1:57
2018-07-21 03:59:04.335192+0800 【アプリ名】[15181:3643057] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-07-21 03:59:16.038822+0800 【アプリ名】[15181:3643434] TIC Read Status [7:0x0]: 1:57
2018-07-21 03:59:16.039050+0800 【アプリ名】[15181:3643434] TIC Read Status [7:0x0]: 1:57
2018-07-21 03:59:18.559951+0800 【アプリ名】[15181:3643057] Falling back to loading access token from NSUserDefaults because of simulator bug
2018-07-21 03:59:18.560636+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug
2018-07-21 03:59:18.565457+0800 【アプリ名】[15181:3643057] Falling back to storing access token in NSUserDefaults because of simulator bug

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

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

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

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

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

guest

回答1

0

ベストアンサー

Falling back to loading access token from NSUserDefaults because of simulator bug

シミュレータのバグのためにNSUserDefaultsからのアクセストークンのロードに失敗しました

エラーメッセージでググって調べる(英語が苦手なら翻訳サイトを利用)か、アップル社に確認できる窓口をさがしては?

投稿2018/07/20 22:04

Orlofsky

総合スコア16415

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.49%

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

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

質問する

関連した質問