Anonymous
Конденсатор сетевых запросов отсутствует – ios в xcode
Сообщение
Anonymous » 11 янв 2025, 02:18
Я работаю над приложением angular с конденсатором и ионным, которое основано на Firebase для хостинга и аутентификации. Я пытаюсь создать приложение для iOS в симуляторе, и FirebaseCore уже добавлен, как указано в документации Firebase. Также Googleservice-info.plist рядом с info.plist.
Кроме того, я получаю предупреждения в консоли, если приложение работает следующим образом:
Код: Выделить всё
Failed to resolve host network app id
Warning: -[BETextInput attributedMarkedText] is unimplemented
Invalidating grant failed
Мой
package.json
Код: Выделить всё
{
"name": "@client/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "nx serve choosio",
"start:local": "nx serve choosio --configuration=local",
"test": "npx nx run-many -t test",
"deploy:choosio:prod": "nx build choosio && firebase deploy --only hosting",
"deploy:choosio:test": "nx build choosio && firebase hosting:channel:deploy --only price-tracker-43864 --expires 30d agurnunur-test-staging",
"deploy:admin:prod": "nx build choosio-admin && firebase deploy --only hosting:choosio-admin",
"deploy:admin:test": "npx nx build choosio-admin && firebase hosting:channel:deploy --only choosio-admin --expires 30d agurnunur-test-staging",
"prepare": "cd ../ && husky install ./web/.husky"
},
"private": true,
"dependencies": {
"@angular/animations": "19.0.3",
"@angular/common": "19.0.3",
"@angular/compiler": "19.0.3",
"@angular/core": "19.0.3",
"@angular/fire": "7.6.1",
"@angular/forms": "19.0.3",
"@angular/localize": "19.0.3",
"@angular/platform-browser": "19.0.3",
"@angular/platform-browser-dynamic": "19.0.3",
"@angular/router": "19.0.3",
"@angular/service-worker": "19.0.3",
"@capacitor/android": "^6.2.0",
"@capacitor/core": "^6.1.0",
"@capacitor/geolocation": "^6.0.0",
"@capacitor/ios": "^6.2.0",
"@ionic/angular": "^8.4.1",
"@ngrx/component": "18.0.2",
"@ngrx/component-store": "18.0.2",
"@ngrx/effects": "18.0.2",
"@ngrx/signals": "18.0.2",
"@ngrx/store": "18.0.2",
"@nx/angular": "20.2.1",
"@tailwindcss/container-queries": "^0.1.1",
"@types/lodash": "^4.14.201",
"@types/uuid": "^9.0.6",
"chart.js": "^4.4.2",
"ionicons": "^7.2.1",
"jasmine-marbles": "^0.9.2",
"jest-marbles": "^3.0.3",
"lodash": "^4.17.21",
"ngxtension": "^4.1.0",
"ol": "^8.1.0",
"rxjs": "~7.8.1",
"swiper": "^10.3.1",
"tslib": "^2.3.0",
"uuid": "^9.0.1",
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.0.4",
"@angular-devkit/core": "19.0.4",
"@angular-devkit/schematics": "19.0.4",
"@angular-eslint/eslint-plugin": "19.0.2",
"@angular-eslint/eslint-plugin-template": "19.0.2",
"@angular-eslint/template-parser": "19.0.2",
"@angular/cli": "~18.2.0",
"@angular/compiler-cli": "19.0.3",
"@angular/language-service": "19.0.3",
"@angular/pwa": "19.0.4",
"@capacitor/cli": "^6.2.0",
"@ionic/angular-toolkit": "^11.0.1",
"@ngrx/eslint-plugin": "18.0.2",
"@ngrx/schematics": "18.0.2",
"@nx/cypress": "20.2.1",
"@nx/devkit": "20.2.1",
"@nx/eslint": "20.2.1",
"@nx/eslint-plugin": "20.2.1",
"@nx/jest": "20.2.1",
"@nx/js": "20.2.1",
"@nx/playwright": "20.2.1",
"@nx/web": "20.2.1",
"@nx/workspace": "20.2.1",
"@playwright/test": "^1.36.0",
"@schematics/angular": "19.0.4",
"@swc-node/register": "1.9.2",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.13",
"@testing-library/angular": "^17.3.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "29.5.13",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/utils": "^7.16.0",
"autoprefixer": "^10.4.0",
"cypress": "13.14.2",
"daisyui": "^4.6.1",
"eslint": "8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-cypress": "^2.13.4",
"eslint-plugin-playwright": "^0.15.3",
"firebase-tools": "13.6.0",
"husky": "^8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.4.2",
"jsonc-eslint-parser": "^2.1.0",
"ng-mocks": "^14.11.0",
"ng-packagr": "19.0.1",
"nx": "20.2.1",
"postcss": "^8.4.5",
"postcss-import": "~14.1.0",
"postcss-preset-env": "~7.5.0",
"postcss-url": "~10.1.3",
"prettier": "^2.6.2",
"tailwindcss": "^3.4.0",
"ts-jest": "^29.1.0",
"ts-node": "10.9.1",
"typescript": "5.5.4"
}
Таким образом, я вижу, что приложение запускается, а в консоли отладчика ни один запрос не запускается или данные не загружаются из API.< /p>
У кого-нибудь есть идеи?
Заранее спасибо!
Подробнее здесь:
https://stackoverflow.com/questions/793 ... s-in-xcode
1736551108
Anonymous
Я работаю над приложением angular с конденсатором и ионным, которое основано на Firebase для хостинга и аутентификации. Я пытаюсь создать приложение для iOS в симуляторе, и FirebaseCore уже добавлен, как указано в документации Firebase. Также Googleservice-info.plist рядом с info.plist. Кроме того, я получаю предупреждения в консоли, если приложение работает следующим образом: [code]Failed to resolve host network app id Warning: -[BETextInput attributedMarkedText] is unimplemented Invalidating grant failed [/code] Мой [b]package.json[/b] [code]{ "name": "@client/source", "version": "0.0.0", "license": "MIT", "scripts": { "start": "nx serve choosio", "start:local": "nx serve choosio --configuration=local", "test": "npx nx run-many -t test", "deploy:choosio:prod": "nx build choosio && firebase deploy --only hosting", "deploy:choosio:test": "nx build choosio && firebase hosting:channel:deploy --only price-tracker-43864 --expires 30d agurnunur-test-staging", "deploy:admin:prod": "nx build choosio-admin && firebase deploy --only hosting:choosio-admin", "deploy:admin:test": "npx nx build choosio-admin && firebase hosting:channel:deploy --only choosio-admin --expires 30d agurnunur-test-staging", "prepare": "cd ../ && husky install ./web/.husky" }, "private": true, "dependencies": { "@angular/animations": "19.0.3", "@angular/common": "19.0.3", "@angular/compiler": "19.0.3", "@angular/core": "19.0.3", "@angular/fire": "7.6.1", "@angular/forms": "19.0.3", "@angular/localize": "19.0.3", "@angular/platform-browser": "19.0.3", "@angular/platform-browser-dynamic": "19.0.3", "@angular/router": "19.0.3", "@angular/service-worker": "19.0.3", "@capacitor/android": "^6.2.0", "@capacitor/core": "^6.1.0", "@capacitor/geolocation": "^6.0.0", "@capacitor/ios": "^6.2.0", "@ionic/angular": "^8.4.1", "@ngrx/component": "18.0.2", "@ngrx/component-store": "18.0.2", "@ngrx/effects": "18.0.2", "@ngrx/signals": "18.0.2", "@ngrx/store": "18.0.2", "@nx/angular": "20.2.1", "@tailwindcss/container-queries": "^0.1.1", "@types/lodash": "^4.14.201", "@types/uuid": "^9.0.6", "chart.js": "^4.4.2", "ionicons": "^7.2.1", "jasmine-marbles": "^0.9.2", "jest-marbles": "^3.0.3", "lodash": "^4.17.21", "ngxtension": "^4.1.0", "ol": "^8.1.0", "rxjs": "~7.8.1", "swiper": "^10.3.1", "tslib": "^2.3.0", "uuid": "^9.0.1", "zone.js": "0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "19.0.4", "@angular-devkit/core": "19.0.4", "@angular-devkit/schematics": "19.0.4", "@angular-eslint/eslint-plugin": "19.0.2", "@angular-eslint/eslint-plugin-template": "19.0.2", "@angular-eslint/template-parser": "19.0.2", "@angular/cli": "~18.2.0", "@angular/compiler-cli": "19.0.3", "@angular/language-service": "19.0.3", "@angular/pwa": "19.0.4", "@capacitor/cli": "^6.2.0", "@ionic/angular-toolkit": "^11.0.1", "@ngrx/eslint-plugin": "18.0.2", "@ngrx/schematics": "18.0.2", "@nx/cypress": "20.2.1", "@nx/devkit": "20.2.1", "@nx/eslint": "20.2.1", "@nx/eslint-plugin": "20.2.1", "@nx/jest": "20.2.1", "@nx/js": "20.2.1", "@nx/playwright": "20.2.1", "@nx/web": "20.2.1", "@nx/workspace": "20.2.1", "@playwright/test": "^1.36.0", "@schematics/angular": "19.0.4", "@swc-node/register": "1.9.2", "@swc/core": "1.5.7", "@swc/helpers": "0.5.13", "@testing-library/angular": "^17.3.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/user-event": "^14.5.2", "@types/jest": "29.5.13", "@types/node": "18.16.9", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "@typescript-eslint/utils": "^7.16.0", "autoprefixer": "^10.4.0", "cypress": "13.14.2", "daisyui": "^4.6.1", "eslint": "8.57.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-cypress": "^2.13.4", "eslint-plugin-playwright": "^0.15.3", "firebase-tools": "13.6.0", "husky": "^8.0.3", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jest-preset-angular": "14.4.2", "jsonc-eslint-parser": "^2.1.0", "ng-mocks": "^14.11.0", "ng-packagr": "19.0.1", "nx": "20.2.1", "postcss": "^8.4.5", "postcss-import": "~14.1.0", "postcss-preset-env": "~7.5.0", "postcss-url": "~10.1.3", "prettier": "^2.6.2", "tailwindcss": "^3.4.0", "ts-jest": "^29.1.0", "ts-node": "10.9.1", "typescript": "5.5.4" } [/code] Таким образом, я вижу, что приложение запускается, а в консоли отладчика ни один запрос не запускается или данные не загружаются из API.< /p> У кого-нибудь есть идеи? Заранее спасибо! Подробнее здесь: [url]https://stackoverflow.com/questions/79347237/no-network-requests-capacitor-ios-in-xcode[/url]