Skip to main content
本文に 719 文字追加
ソース リンク

最初に表示するViewControllerのコードは以下の通りです。


import UIKit

class ViewController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.navigationController?.isNavigationBarHidden = true
        
        // Do any additional setup after loading the view.
    }
    

    @IBAction func managerLogin(_ sender: Any) {
        performSegue(withIdentifier: "managerlogin", sender: nil)
    }
    
    @IBAction func createAcount(_ sender: Any) {
        performSegue(withIdentifier: "create", sender: nil)
    }
    
    @IBAction func userLogin(_ sender: Any) {
        performSegue(withIdentifier: "userlogin", sender: nil)
        
    }
}

最初に表示するViewControllerのコードは以下の通りです。


import UIKit

class ViewController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.navigationController?.isNavigationBarHidden = true
        
        // Do any additional setup after loading the view.
    }
    

    @IBAction func managerLogin(_ sender: Any) {
        performSegue(withIdentifier: "managerlogin", sender: nil)
    }
    
    @IBAction func createAcount(_ sender: Any) {
        performSegue(withIdentifier: "create", sender: nil)
    }
    
    @IBAction func userLogin(_ sender: Any) {
        performSegue(withIdentifier: "userlogin", sender: nil)
        
    }
}
題の修正
リンク

FirebaseAnalyticsを使ってシュミレートした使うと、使うなというエラー、使わないと画面指定してないというエラーが消えません出ます。

本文から 2 文字削除
ソース リンク
cubick
  • 2.1万
  • 5
  • 27
  • 64
2020-04-26 19:59:57.123631+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 19:59:57.124085+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 19:59:57.143741+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 19:59:57.156748+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-04-26 19:59:56.713197+0900 ShrineApp2[3548:1604575]  - <AppMeasurement>[I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
2020-04-26 19:59:57.123631+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 19:59:57.124085+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 19:59:57.143741+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 19:59:57.156748+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-04-26 20:12:53.585528+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-04-26 20:12:53.610520+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 20:12:53.610666+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 20:12:53.635436+0900 ShrineApp2[3552:1609114] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.649835+0900 ShrineApp2[3552:1609115] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.661723+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled```


どの様にすればエラーを消せるでしょうか、ご教示お願いします。

どの様にすればエラーを消せるでしょうか、ご教示お願いします。

2020-04-26 19:59:57.123631+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 19:59:57.124085+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 19:59:57.143741+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 19:59:57.156748+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-04-26 20:12:53.585528+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-04-26 20:12:53.610520+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 20:12:53.610666+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 20:12:53.635436+0900 ShrineApp2[3552:1609114] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.649835+0900 ShrineApp2[3552:1609115] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.661723+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled```


どの様にすればエラーを消せるでしょうか、ご教示お願いします。
2020-04-26 19:59:56.713197+0900 ShrineApp2[3548:1604575]  - <AppMeasurement>[I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
2020-04-26 19:59:57.123631+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 19:59:57.124085+0900 ShrineApp2[3548:1604575] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 19:59:57.143741+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 19:59:57.156748+0900 ShrineApp2[3548:1604588] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-04-26 20:12:53.585528+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-04-26 20:12:53.610520+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60401000 started
2020-04-26 20:12:53.610666+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-04-26 20:12:53.635436+0900 ShrineApp2[3552:1609114] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.649835+0900 ShrineApp2[3552:1609115] 6.22.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-04-26 20:12:53.661723+0900 ShrineApp2[3552:1609111] 6.22.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled

どの様にすればエラーを消せるでしょうか、ご教示お願いします。

ソース リンク
読み込んでいます