Last active
May 9, 2022 15:41
-
-
Save oravecz/109e6b82228e8e1c3de1187615d69101 to your computer and use it in GitHub Desktop.
Flutter error running with Amplify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const amplifyconfig = ''' { | |
"UserAgent": "aws-amplify-cli/2.0", | |
"Version": "1.0", | |
"analytics": { | |
"plugins": { | |
"awsPinpointAnalyticsPlugin": { | |
"pinpointAnalytics": { | |
"appId": "...", | |
"region": "us-east-1" | |
}, | |
"pinpointTargeting": { | |
"region": "us-east-1" | |
} | |
} | |
} | |
}, | |
"auth": { | |
"plugins": { | |
"awsCognitoAuthPlugin": { | |
"UserAgent": "aws-amplify-cli/0.1.0", | |
"Version": "0.1.0", | |
"IdentityManager": { | |
"Default": {} | |
}, | |
"CredentialsProvider": { | |
"CognitoIdentity": { | |
"Default": { | |
"PoolId": "us-east-1:...", | |
"Region": "us-east-1" | |
} | |
} | |
}, | |
"Auth": { | |
"Default": { | |
"authenticationFlowType": "USER_SRP_AUTH", | |
"socialProviders": [], | |
"usernameAttributes": [], | |
"signupAttributes": [], | |
"passwordProtectionSettings": { | |
"passwordPolicyCharacters": [] | |
}, | |
"mfaTypes": [], | |
"verificationMechanisms": [] | |
} | |
}, | |
"PinpointAnalytics": { | |
"Default": { | |
"AppId": "...", | |
"Region": "us-east-1" | |
} | |
}, | |
"PinpointTargeting": { | |
"Default": { | |
"Region": "us-east-1" | |
} | |
} | |
} | |
} | |
} | |
}'''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flutter doctor -v | |
[✓] Flutter (Channel beta, 2.13.0-0.1.pre, on macOS 12.3.1 21E258 darwin-arm, locale en-US) | |
• Flutter version 2.13.0-0.1.pre at /Users/jimcook/.fvm/versions/2.13.0-0.1.pre | |
• Upstream repository https://github.com/flutter/flutter.git | |
• Framework revision 13a2fb10b8 (4 weeks ago), 2022-04-12 15:34:25 -0500 | |
• Engine revision 499984f99c | |
• Dart version 2.17.0 (build 2.17.0-266.1.beta) | |
• DevTools version 2.12.1 | |
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) | |
• Android SDK at /Users/jimcook/Library/Android/sdk | |
• Platform android-31, build-tools 31.0.0 | |
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java | |
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) | |
• All Android licenses accepted. | |
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1) | |
• Xcode at /Applications/Xcode.app/Contents/Developer | |
• CocoaPods version 1.11.3 | |
[✓] Chrome - develop for the web | |
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome | |
[✓] Android Studio (version 2020.3) | |
• Android Studio at /Applications/Android Studio.app/Contents | |
• Flutter plugin can be installed from: | |
🔨 https://plugins.jetbrains.com/plugin/9212-flutter | |
• Dart plugin can be installed from: | |
🔨 https://plugins.jetbrains.com/plugin/6351-dart | |
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) | |
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1) | |
• IntelliJ at /Applications/IntelliJ IDEA.app | |
• Flutter plugin version 67.0.4 | |
• Dart plugin version 221.5588 | |
[✓] VS Code (version 1.54.3) | |
• VS Code at /Applications/Visual Studio Code.app/Contents | |
• Flutter extension version 3.20.0 | |
[✓] Connected device (3 available) | |
• iPhone 13 mini (mobile) • C590B31F-1549-4E60-804E-BD2E019A008F • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator) | |
• macOS (desktop) • macos • darwin-arm64 • macOS 12.3.1 21E258 darwin-arm | |
• Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.54 | |
[✓] HTTP Host Availability | |
• All required HTTP hosts are available | |
• No issues found! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running "flutter pub get" in app... | |
Launching lib/main.dart on iPhone 13 mini in debug mode... | |
Running pod install... | |
Running Xcode build... | |
Xcode build done. 10.2s | |
Failed to build iOS app | |
Error output from Xcode build: | |
↳ | |
objc[74519]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x202eddeb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae44f8). One of the two will be used. Which one is undefined. | |
objc[74519]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x202eddf00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae4548). One of the two will be used. Which one is undefined. | |
objc[74519]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x202eddf50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae4598). One of the two will be used. Which one is undefined. | |
objc[74519]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x202eddfa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae45e8). One of the two will be used. Which one is undefined. | |
objc[74519]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x202eddff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae4638). One of the two will be used. Which one is undefined. | |
objc[74519]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x202ede040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103ae4688). One of the two will be used. Which one is undefined. | |
2022-05-09 11:26:35.859 xcodebuild[74519:16764023] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore | |
2022-05-09 11:26:35.859 xcodebuild[74519:16764023] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore | |
** BUILD FAILED ** | |
Xcode's output: | |
↳ | |
Writing result bundle at path: | |
/var/folders/j_/v4k3gxnn5wq29nc_xd_jvqrr0000gn/T/flutter_tools.1lXL61/flutter_ios_build_temp_dirUV1k3L/temporary_xcresult_bundle | |
/Users/jimcook/Projects/BlueCowGroup/citysleuth/app/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module 'amplify_analytics_pinpoint_ios' not found | |
@import amplify_analytics_pinpoint_ios; | |
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
1 error generated. | |
note: Using new build system | |
note: Planning | |
note: Build preparation complete | |
note: Building targets in dependency order | |
Result bundle written to path: | |
/var/folders/j_/v4k3gxnn5wq29nc_xd_jvqrr0000gn/T/flutter_tools.1lXL61/flutter_ios_build_temp_dirUV1k3L/temporary_xcresult_bundle | |
Parse Issue (Xcode): Module 'amplify_analytics_pinpoint_ios' not found | |
/Users/jimcook/Projects/BlueCowGroup/citysleuth/app/ios/Runner/GeneratedPluginRegistrant.m:11:8 | |
Could not build the application for the simulator. | |
Error launching application on iPhone 13 mini. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: citysleuth | |
description: A new Flutter project. | |
# The following line prevents the package from being accidentally published to | |
# pub.dev using `flutter pub publish`. This is preferred for private packages. | |
publish_to: 'none' # Remove this line if you wish to publish to pub.dev | |
# The following defines the version and build number for your application. | |
# A version number is three numbers separated by dots, like 1.2.43 | |
# followed by an optional build number separated by a +. | |
# Both the version and the builder number may be overridden in flutter | |
# build by specifying --build-name and --build-number, respectively. | |
# In Android, build-name is used as versionName while build-number used as versionCode. | |
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning | |
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. | |
# Read more about iOS versioning at | |
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html | |
version: 1.0.0+1 | |
environment: | |
sdk: ">=2.17.0-266.1.beta <3.0.0" | |
# Dependencies specify other packages that your package needs in order to work. | |
# To automatically upgrade your package dependencies to the latest versions | |
# consider running `flutter pub upgrade --major-versions`. Alternatively, | |
# dependencies can be manually updated by changing the version numbers below to | |
# the latest version available on pub.dev. To see which dependencies have newer | |
# versions available, run `flutter pub outdated`. | |
dependencies: | |
flutter: | |
sdk: flutter | |
amplify_flutter: ^0.4.0 | |
amplify_auth_cognito: ^0.4.0 | |
amplify_analytics_pinpoint: ^0.4.0 | |
# The following adds the Cupertino Icons font to your application. | |
# Use with the CupertinoIcons class for iOS style icons. | |
cupertino_icons: ^1.0.2 | |
dev_dependencies: | |
flutter_test: | |
sdk: flutter | |
# The "flutter_lints" package below contains a set of recommended lints to | |
# encourage good coding practices. The lint set provided by the package is | |
# activated in the `analysis_options.yaml` file located at the root of your | |
# package. See that file for information about deactivating specific lint | |
# rules and activating additional ones. | |
flutter_lints: ^2.0.0 | |
# For information on the generic Dart part of this file, see the | |
# following page: https://dart.dev/tools/pub/pubspec | |
# The following section is specific to Flutter packages. | |
flutter: | |
# The following line ensures that the Material Icons font is | |
# included with your application, so that you can use the icons in | |
# the material Icons class. | |
uses-material-design: true | |
# To add assets to your application, add an assets section, like this: | |
# assets: | |
# - images/a_dot_burr.jpeg | |
# - images/a_dot_ham.jpeg | |
# An image asset can refer to one or more resolution-specific "variants", see | |
# https://flutter.dev/assets-and-images/#resolution-aware | |
# For details regarding adding assets from package dependencies, see | |
# https://flutter.dev/assets-and-images/#from-packages | |
# To add custom fonts to your application, add a fonts section here, | |
# in this "flutter" section. Each entry in this list should have a | |
# "family" key with the font family name, and a "fonts" key with a | |
# list giving the asset and other descriptors for the font. For | |
# example: | |
# fonts: | |
# - family: Schyler | |
# fonts: | |
# - asset: fonts/Schyler-Regular.ttf | |
# - asset: fonts/Schyler-Italic.ttf | |
# style: italic | |
# - family: Trajan Pro | |
# fonts: | |
# - asset: fonts/TrajanPro.ttf | |
# - asset: fonts/TrajanPro_Bold.ttf | |
# weight: 700 | |
# | |
# For details regarding fonts from package dependencies, | |
# see https://flutter.dev/custom-fonts/#from-packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment