Comments (5)
@tpkowastaken Can you open this issue again in https://github.com/invertase/flutterfire_cli
from flutterfire.
The fix is to simply Click the allow install builds only
in xcode for the FlutterFire: "flutterfire upload-crashlytics-symbols"
build step. Please add that to the flutterfire cli
edit: this only moves the problem to the release build state.
A temporary workaround is to use the legacy script:
"$PODS_ROOT/FirebaseCrashlytics/upload-symbols" --flutter-project "$PROJECT_DIR/firebase_app_id_file.json"
and add input files:
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/"
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist"
"$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)"
"$(PROJECT_DIR)/firebase_app_id_file.json"
and check the For install build only
Now you need to create the firebase_app_id_file.json in the macos/firebase_app_id_file.json:
{
"file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "[ios project id]",
"FIREBASE_PROJECT_ID": "app-elevate-core",
"GCM_SENDER_ID": "[GCM sender id]"
}
*You can find the values in [] in your GoogleService-Info.plist
PS: this is just a temporary workaround. Everytime you run flutterfire configure this gets reset. My way of keeping the changes is reverting macos/Runner.xcodeproj/project.pbxproj
file back using git every time i run flutterfire configure.
Edit: I just tried it again and even this doesn't work. I still can't figure out why. I'm going to leave this to maintainers of flutterfire cli
from flutterfire.
@tpkowastaken Thank you for reporting this issue, and I'm glad that you found a solution for it. I've informed the team about updating the CLI docs to avoid any issues in the future.
from flutterfire.
@TarekkMA
Thank you for your answer I appreciate the quick response.
Hovewer shouldn't you forward it to the dev team instead? It shouldn't take too long to fix this. I believe it's just a simple edit of the Runner.xcworkspace that the flutterfire cli is already editing to put the bugged task in there already.
I wish you luck with resolving the issue internally and thank you for your effort.
from flutterfire.
My bad I haven't tested releasing the app yet. The script crashes even after that change when you try to release it. There is hovewer an issue already created - invertase/flutterfire_cli#314. I'm going to move the conversation there.
from flutterfire.
Related Issues (20)
- [firebase_crashlytics]: flutter macOS does not terminate the app after stop debuging HOT 6
- Found some security issues HOT 3
- [firebase_auth] linkWithCredential() throws email-already-in-use exception in flutter app
- Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ) intialize issue HOT 1
- [firebase_auth] authStateChanges() stream fires when read/write into firestore HOT 4
- 🐛 [firebase_massaging] Example flutter ios build is too old
- firebase_code: Duplicate Classes HOT 6
- Firebase Phone MFA not working with some numbers HOT 1
- [📚] Old Doc doesn't have sum() and average() example for flutter. HOT 1
- [Firebase storage]: iOS only - Unable to establish connection to channel, happens in Workmanager or isolate only HOT 1
- [Firebase_auth]: <When I use signInWithEmailAndPassword without first using the createUserWithEmailAndPassword method, I get the error message [firebase_auth/channel-error] "dev.flutter.pigeon.firebase_auth_platform_interface.FirebaseAuthHostApi.signInWithEmailAndPassword".> HOT 11
- 🐛 [crashlytics][release] Information from recordFlutterFatalError shows up as 'Instance of 'DiagnosticsProperty<void>' HOT 1
- [firebase_app_check] App check token does not print on Android real devices HOT 9
- [firebase_auth]: [web] referencing FirebaseAuthException after running release version of app throws exception. HOT 2
- [firebase_messaging]: After turning off the device and turn back on, onBackgroundMessage is not fired on iOS. HOT 1
- [firebase_messaging]: After turning off the device and turn back on, onBackgroundMessage is not fired on iOS. HOT 4
- [firebase_core]: Cannot build app from version 3.0.0 HOT 4
- [FirebaseAuth]: Unhandled Exception: type 'List<Object?>' is not a subtype of type 'PigeonUserInfo' in type cast HOT 4
- [firebase_analytics]: `TypeError: Cannot convert undefined or null to object` when hot reload web application HOT 2
- [📚] README files in `example` directories have outdated docs and links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire.