I've setup Firebase App Distribution for my Flutter Project and it works perfectly local. But if I try to run it on Codemagic I get teh following error:
Error: failed to fetch app information. HTTP Error: 403, Firebase App Distribution API has not been used in project XXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firebaseappdistribution.googleapis.com/overview?project=XXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
The XXX are placeholders for a project ID. But I have no Project with that I. If I open the url I get a message that I'm not justified.
Here is my fastlane command:
lane :deploy_dev_firebase do
firebase_app_distribution(
app: "***330f",
testers: "***#gmail.com",
release_notes: "release",
firebase_cli_path: "/usr/local/bin/firebase",
apk_path: "../build/app/outputs/apk/dev/release/app-dev-release.apk"
)
end
And my codemagic Post-build script:
#!/bin/bash
gem install bundler
cd android
bundle install
bundle exec fastlane deploy_dev_firebase
Related
please how can i fix this problem
Which macos bundle id do you want to use for this configuration, e.g. 'com.example.app'? ·
i have to write the this my self
'com.example.homeapp'
but after that it will just write me these code
FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.
COMMAND: firebase apps:create ios home_app (macos) --bundle-id='com.example.homeapp' --json --project=homeapp-f02b4
ERROR: Failed to create iOS app for project homeapp-f02b4. See firebase-debug.log for more info.
Fastlane builds a bundle and I can upload it manually, but if I run
upload_to_play_store(
track: 'internal',
package_name: "package-name",
skip_upload_apk: true
)
it throws the following error:
Google Api Error: apkNotificationMessageKeyBundleRequiresPlaySigning:
For uploading an AppBundle you must be enrolled in Play Signing.
The Play Signing is enabled, I released a version after I enabled it. What may be a reason for the error?
Enrolling in the new singing option through Google Play Console would be best.
Problem
For flutter projects when trying to do CI via Fastlane or Code magic getting an error.
Error(s)
Unable to export archive: 2019-07-19 06:35:19.256
xcodebuild[3381:21183] [MT] IDEDistribution: -[IDEDistributionLogging
_createLoggingBundleAtPath:]: Created bundle at path '/var/folders/r7/d9twdq011sb8d3q1p8f39cdr0000gn/T/Runner_2019-07-19_06-35-19.252.xcdistributionlogs'.
error: exportArchive: Symbols tool failed Error
Domain=IDEFoundationErrorDomain Code=1 "Symbols tool failed"
UserInfo={NSLocalizedDescription=Symbols tool failed} ** EXPORT FAILED
**
Some Extra Detail(s)
This issue is coming with recent master commits in Flutter git.
When using Flutter stable git branch we don't have this issue.
Had the same issue. Running pod install solved on my side. I'm using local Fastlane on flutter beta channel.
I am building a Domo custom app and the domo auth process is managed by the npm package ryuu. When launching my app locally, I get this error:
error: {status: 401, statusReason: "Unauthorized", path: "/domoapps/apps/v2/contexts", message: "Full authentication is required to access this resource"}
I have ADMIN rights in my Domo instance, so this should not be the problem. How to I fix this ?
Ok I found a temporary fix: ryuu was in version 3, I uninstalled it and reverted it to version 2:
npm uninstall -g ryuu
npm i -g ryuu#2.23.22
The login process now happens in the CLI and not through the web interface which seems to make a difference. This needs to be fixed in version 3.
The Domo Dojo corresponding feed I opened: https://dojo.domo.com/t5/Domo-Developer/Ryuu-auth-does-not-work/m-p/34372/highlight/false#M935
I am trying to run a sample application from
https://ionicframework.com/getting-started/.
But I am getting the error - there was an error with the spawned process: npminstall every time I try to run the application. Any help is highly appreciated.
For me it was only to upgrade to new version of npm
npm install -g npm
Spawned command error comes when you try to start a new ionic or cordova app, that gets downloaded from git. This error occurs because your network proxy blocks download a new blank app from git.
To avoid such kind of error try removing the proxies.
1. If you are in a company using their proxy its not possible to do that, so use your own data to do that.
Try downloading a blank app from git using your own data, don't use company network which has proxy enabled.
It will download but while installing the app you will get error like:
Error with start undefined.
Error with spawned command npminstall.
Don't worry a folder will be downloded,
Go to cmd and go inside that app directory and run ionic serve
It will give error like ionic.config.json file didn't find.
create a file with the name ionic.config.json inside the app file.
inside that file paste the following:
{ "name": "your app name", "app_id": "", "v2": true, "typescript": true }
now try running the command ionic serve
your app will run.
I had the similar problem but it worked for me.
install npm globally
npm install -g npm
create a app without installing its packages
ionic start app --v2 --skip-npm
seems ok till now?then
cd app
install packages
npm install --save
done!try to start your ionic app
ionic serve