Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running on iOS Simulator #4

Open
Vishal96P opened this issue Nov 6, 2022 · 2 comments
Open

Error while running on iOS Simulator #4

Vishal96P opened this issue Nov 6, 2022 · 2 comments

Comments

@Vishal96P
Copy link

The app Is not running on iOS Simulator (14 Pro Max) Below is the Error

Flutter Doctor Output:
[✓] Flutter (Channel stable, 3.3.7, on macOS 12.6 21G115 darwin-x64, locale en-GB)
• Flutter version 3.3.7 on channel stable at /Users/vp/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e99c9c7cd9 (4 days ago), 2022-11-01 16:59:00 -0700
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/vp/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

**Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

Writing result bundle at path:
/var/folders/1t/3ggcn25974n_2bqzvn4wm34h0000gn/T/flutter_tools.p250ZV/flutter_ios_build_temp_dirCVy0yQ/temporary_xcresult_bundle

../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:382:48: Error: Type 'TxContentUtxoInputs' not found.
  List<TransactionInput> _buildIputs(BuiltList<TxContentUtxoInputs> list) {
                                               ^^^^^^^^^^^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:403:51: Error: Type 'TxContentUtxoOutputs' not found.
  List<TransactionOutput> _buildOutputs(BuiltList<TxContentUtxoOutputs> list) {
                                                  ^^^^^^^^^^^^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:265:20: Error: 'AnyOfpoolMetadataobject' isn't a type.
    final Response<AnyOfpoolMetadataobject> metadataResponse = await blockfrost
                   ^^^^^^^^^^^^^^^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:285:60: Error: A value of type 'Response<BuiltList<AccountRewardContentInner>>' can't be assigned to a variable of type 'Response<BuiltList<JsonObject>>'.
 - 'Response' is from 'package:dio/src/response.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/dio-4.0.6/lib/src/response.dart').
 - 'BuiltList' is from 'package:built_collection/src/list.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/built_collection-5.1.1/lib/src/list.dart').
 - 'AccountRewardContentInner' is from 'package:blockfrost/src/model/account_reward_content_inner.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/blockfrost-1.1.0-dev.1/lib/src/model/account_reward_content_inner.dart').
 - 'JsonObject' is from 'package:built_value/json_object.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/built_value-8.4.2/lib/json_object.dart').
    final Response<BuiltList<JsonObject>> rewardResponse = await blockfrost
                                                           ^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:340:46: Error: A value of type 'Response<BuiltList<AccountAddressesContentInner>>' can't be assigned to a variable of type 'Response<BuiltList<JsonObject>>'.
 - 'Response' is from 'package:dio/src/response.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/dio-4.0.6/lib/src/response.dart').
 - 'BuiltList' is from 'package:built_collection/src/list.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/built_collection-5.1.1/lib/src/list.dart').
 - 'AccountAddressesContentInner' is from 'package:blockfrost/src/model/account_addresses_content_inner.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/blockfrost-1.1.0-dev.1/lib/src/model/account_addresses_content_inner.dart').
 - 'JsonObject' is from 'package:built_value/json_object.dart' ('../flutter/.pub-cache/hosted/pub.dartlang.org/built_value-8.4.2/lib/json_object.dart').
    Response<BuiltList<JsonObject>> result = await blockfrost
                                             ^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:382:48: Error: 'TxContentUtxoInputs' isn't a type.
  List<TransactionInput> _buildIputs(BuiltList<TxContentUtxoInputs> list) {
                                               ^^^^^^^^^^^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/cardano_wallet_sdk-0.1.0-alpha.12/lib/src/blockchain/blockfrost/blockfrost_blockchain_adapter.dart:403:51: Error: 'TxContentUtxoOutputs' isn't a type.
  List<TransactionOutput> _buildOutputs(BuiltList<TxContentUtxoOutputs> list) {
                                                  ^^^^^^^^^^^^^^^^^^^^
Failed to package /Users/vp/Documents/wootz-browser.
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
/Users/vp/Documents/wootz-browser/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'libPhoneNumber-iOS' from project 'Pods')
/Users/vp/Documents/wootz-browser/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'OrderedSet' from project 'Pods')
/Users/vp/Documents/wootz-browser/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'MTBBarcodeScanner' from project 'Pods')
/Users/vp/Documents/wootz-browser/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FMDB' from project 'Pods')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')

Result bundle written to path:
	/var/folders/1t/3ggcn25974n_2bqzvn4wm34h0000gn/T/flutter_tools.p250ZV/flutter_ios_build_temp_dirCVy0yQ/temporary_xcresult_bundle

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.**

@Imdavyking
Copy link
Contributor

what version of xcode are you using? the app runs on xcode 14.

@1311-hack1
Copy link
Contributor

@pandey019 can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants