my ionic version 5.4.13
npm vzrsion 6.13.4
when i create any project on ionic and run it with xcode i get only white screen
and this is the console xcode
2020-01-04 13:59:31.567359+0100 MyApp[25489:1031204] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mac/Library/Developer/CoreSimulator/Devices/C99122F9-F66A-46D2-BB1F-1B931038D84F/data/Containers/Data/Application/3B7A34CD-DFEC-40F9-B2F8-75CC5FE2CE72/Library/Cookies/io.ionic.starter.binarycookies
2020-01-04 13:59:31.581558+0100 MyApp[25489:1031204] Apache Cordova native platform version 4.1.1 is starting.
2020-01-04 13:59:31.581836+0100 MyApp[25489:1031204] Multi-tasking -> Device: YES, App: YES
2020-01-04 13:59:31.783256+0100 MyApp[25489:1031204] Using UIWebView
2020-01-04 13:59:31.785894+0100 MyApp[25489:1031204] [CDVTimer][handleopenurl] 0.056028ms
2020-01-04 13:59:31.787517+0100 MyApp[25489:1031204] [CDVTimer][intentandnavigationfilter] 1.485109ms
2020-01-04 13:59:31.787725+0100 MyApp[25489:1031204] [CDVTimer][gesturehandler] 0.052929ms
2020-01-04 13:59:31.789739+0100 MyApp[25489:1031204] [CDVTimer][statusbar] 1.898050ms
2020-01-04 13:59:31.810114+0100 MyApp[25489:1031204] [CDVTimer][splashscreen] 20.256996ms
2020-01-04 13:59:31.810423+0100 MyApp[25489:1031204] CDVIonicKeyboard: resize mode 1
2020-01-04 13:59:31.811171+0100 MyApp[25489:1031204] CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK
2020-01-04 13:59:31.811356+0100 MyApp[25489:1031204] [CDVTimer][cdvionickeyboard] 1.055956ms
2020-01-04 13:59:31.811448+0100 MyApp[25489:1031204] [CDVTimer][TotalPluginStartup] 25.646091ms
2020-01-04 13:59:31.909499+0100 MyApp[25489:1031204] Resetting plugins due to page load.
2020-01-04 13:59:32.000722+0100 MyApp[25489:1031357] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.002922+0100 MyApp[25489:1031362] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.003133+0100 MyApp[25489:1031362] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.003537+0100 MyApp[25489:1031362] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.003923+0100 MyApp[25489:1031362] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.004358+0100 MyApp[25489:1031357] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.004694+0100 MyApp[25489:1031360] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.005076+0100 MyApp[25489:1031383] NSURLConnection finished with error - code -1100
2020-01-04 13:59:32.011372+0100 MyApp[25489:1031204] Finished load of: file:///Users/mac/Library/Developer/CoreSimulator/Devices/C99122F9-F66A-46D2-BB1F-1B931038D84F/data/Containers/Bundle/Application/D060F060-3FEE-4620-A25D-D1864B979649/MyApp.app/www/index.html
It seems like there are a few errors in your logs.
Often its because you aren't using https urls.
However, if your app is loading then you should be using the remote debugging features to figure out why it is failing:
https://ionicframework.com/docs/building/ios#debugging-ios-apps
Once an app is running on an iOS device or simulator, it can be debugged in Safari.
Using Safari Web Inspector
Safari has Web Inspector support for iOS simulators and devices. Open the Develop menu and select the simulator or device, then select the Ionic App to open Web Inspector.
If the Develop menu is hidden, enable it in Safari » Preferences » Advanced » Show Develop menu in menu bar.
I had this error when I formatted my MacBook, first to have sure that your cordova is all right run.
ionic cordova platform rm ios
ionic cordova platform add ios
If this part didnt generate any error you can go on.
In your Xcode go to file -> Workplace settings -> change build system of use shared setting to new build system and try to run again.
Related
i run on android smoothly but on ios simulator get a description like this, i am using xcode version 13.1 and IOS Deployment Target 12.1. is there any solution
> Output debug console
> Launching lib/main_development.dart on iPhone 11 Pro in debug mode...
> Running Xcode build...
> └─Compiling, linking and signing... 7.4s Xcode
> build done. 29.9s remote
> notifications are not supported in the simulator Error connecting to
> the service protocol: failed to connect to
> http://127.0.0.1:62025/t8W6_uBW7Q0=/
I'm currently using AdMob and Swift 5 to integrate ads into my app. The actual ad units in my app are configured with AdMob, but AdMob uses mediation to get ads from AdColony and AppLovin. Test ads show correctly on simulators and physical devices. Live ads only show in simulators.
In the simulator (iOS 13.5):
When "Limit ad tracking" is turned on or off in Settings, ads show either way.
In the simulator (iOS 14.2):
When "Allow apps to request to track" is turned on or off, my app attempts to request to track, but will still show ads even if it cannot track.
On an iPhone (iOS 13.5):
"Limit ad tracking" can be on or off and live ads will not show either way.
On an iPhone (iOS 14.2):
"Allow apps to request to track" can be on or off, my app attempts to make a request to track, and will not show ads whether accepted or denied.
Physical iPhone console log:
AdColony [Info] -[ADCNetwork setHost:] Line 42 : Valid reachability object created with host: www.adtilt.com
AppLovinAdapter: Found 1 SDK keys. Please remove any SDK keys you are not using from the AdMob UI.
AdColonyAdapter: Zones that are being configured: (
vzfbcebdd3803aXXXXXX,
vza3675f575dbfXXXXXX,
vzfac9153e28c6XXXXXX,
vz43bcba3540b3XXXXXX,
vzcfb95851b9abXXXXXX,
vz3785ee97e8ffXXXXXX
)
[AppLovinSdk] DEBUG [ALSdk] Setting plugin version: 6.14.9.0
AdColony [Info] -[ADCDevice init]_block_invoke Line 250 : ADCNetwork status change: 1
AdColony [Info] : AdColony library version: 4.4.1.0 64-bit production
AdColony [Info] : AdColony controller version: 2.7.3
IDFA: 00000000-0000-0000-0000-000000000000 // This is actually how it appears in the console
[AppLovinSdk] DEBUG [AppLovinSdk]
========================================
AppLovin SDK
Version: 6.14.9
Plugin Version: 6.14.9.0
Ad Review Version:
OS: iOS 13.5
IDFA: <Enable verbose logging to see the IDFA to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>
SDK Key: MySDKkeyHere
Model: iPhone12,1
Locale: en_CA
Simulator: 0
Bundle ID: MyBundleIDhere
Has AppLovinSDKResources: true
Test Mode On: false
Verbose Logging On: false
Mediation Provider: admob
TG: 29
===Privacy States===
Please review AppLovin MAX documentation to be compliant with regional privacy policies.
Age Restricted User - false
Has User Consent - true
"Do Not Sell" - false
===App Tracking Transparency===
Authorization Status: Unavailable (-1)
NSUserTrackingUsageDescription Exists: true
========================================
[AppLovinSdk] ERROR [ALSdk] Auto-initing adapters for non-MAX mediation provider: admob
AppLovinAdapter: AppLovin adapter version: 6.14.9.0
AppLovinAdapter: AppLovin SDK version: 6.14.9
AppLovinAdapter: All SDKs completed initialization.
[AppLovinSdk] DEBUG [ALSdk] Setting plugin version: 6.14.9.0
AppLovinAdapter: Requesting banner of size kGADAdSizeSmartBannerPortrait for zone: e7c60ca56eXXXXXX.
AdColonyAdapter: Requesting banner for zone: vzcfb95851b9abXXXXXX
AdColonyAdapter: Failed to load banner ad: No fill for ad request
AdColony [Info] : Banner ad request failed in zone: vzcfb95851b9abXXXXXX
AdColonyAdapter: Requesting interstitial ad for zone: vz3785ee97e8ffXXXXXX
AdColony [Info] : Interstitial ad request failed in zone: vz3785ee97e8ffXXXXXX
AdColonyAdapter: Failed to load interstitial ad with error: No fill for ad request
[AppLovinSdk] DEBUG [ALSdk] Setting plugin version: 6.14.9.0
AppLovinAdapter: Requesting interstitial for zone: 9b7b4f5f9eXXXXXX
Simulator console log:
AdColony [Info] -[ADCNetwork setHost:] Line 42 : Valid reachability object created with host: www.adtilt.com
AppLovinAdapter: Found 1 SDK keys. Please remove any SDK keys you are not using from the AdMob UI.
AdColonyAdapter: Zones that are being configured: (
vzfbcebdd3803aXXXXXX,
vza3675f575dbfXXXXXX,
vzfac9153e28c6XXXXXX,
vz43bcba3540b3XXXXXX,
vzcfb95851b9abXXXXXX,
vz3785ee97e8ffXXXXXX
)
[AppLovinSdk] DEBUG [ALSdk] Setting plugin version: 6.14.9.0
AdColony [Info] -[ADCDevice init]_block_invoke Line 250 : ADCNetwork status change: 1
[plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000c9e3e0> F8BB1C28-BAE8-11D6-9C31-000393XXXXXX
AdColony [Info] : AdColony library version: 4.4.1.0 64-bit production
AdColony [Info] : AdColony controller version: 2.7.3
IDFA: 00000000-0000-0000-0000-000000000000 // This is actually how it appears in the console
[AppLovinSdk] DEBUG [AppLovinSdk]
========================================
AppLovin SDK
Version: 6.14.9
Plugin Version: 6.14.9.0
Ad Review Version:
OS: iOS 13.5
IDFA: <Enable verbose logging to see the IDFA to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>
SDK Key: MySDKkeyHere
Model: iPhone12,1
Locale: en_CA
Simulator: 0
Bundle ID: MyBundleIDhere
Has AppLovinSDKResources: true
Test Mode On: false
Verbose Logging On: false
Mediation Provider: admob
TG: 29
===Privacy States===
Please review AppLovin MAX documentation to be compliant with regional privacy policies.
Age Restricted User - false
Has User Consent - true
"Do Not Sell" - false
===App Tracking Transparency===
Authorization Status: Unavailable (-1)
NSUserTrackingUsageDescription Exists: true
========================================
[AppLovinSdk] ERROR [ALSdk] Auto-initing adapters for non-MAX mediation provider: admob
AppLovinAdapter: AppLovin adapter version: 6.14.9.0
AppLovinAdapter: AppLovin SDK version: 6.14.9
AppLovinAdapter: All SDKs completed initialization.
[AppLovinSdk] DEBUG [ALSdk] Setting plugin version: 6.14.9.0
I've looked around on many different forums etc and I can't find a solution to this. Any help is appreciated. Thanks.
Usually, as long as test ads show find - your integration should be good. However, I noticed that your AppLovin SDK key is incorrect due to the following logs:
SDK Key: MySDKkeyHere
I would remedy that issue first, and continue triage if live ads still do not show thereafter.
Using ionic version 4 to build an android app , while building developer mode the app is working fine on android device. When deploying in --prod --release mode the app shows white screen after splashscreen. Followed playstore publish methods by generating keystore and zipalign no luck.
On the same application as PWA release , can see a chrome console says Failed to load resource: the server responded with a status of 404 (Not Found)- cordova.js
ionic CLI : 4.12.0
ionic Framework : ionic-angular 3.9.2
ionic/app-scripts : 3.2.3
Cordova CLI : 8.1.1
Cordova Platforms : Android 7.1.4
i've tried so many solutions online nothing works for me
so i downgrade my typescript 2.6.2 and it works fine
after building the angular project with
ng build --prod
all images and files are not loaded in Safari on Iphone 12. In Chrome, Safari Desktop and Firefox it works without problems. The error is:
message: "Http failure response for
https://myurl.com/assets/i18n/de.json: 421 OK"
421 Misdirected Request
Build width: Angular CLI: 6.0.8
in Angular: 6.0.5
Thanks!
In the project, ionic serve show:
vega#vega-linux:/opt/projetos/myPorject$ ionic serve
> ionic-hello-world# ionic:serve /opt/projetos/myPorject
> ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
keywords if/then/else require v5 option
[16:28:19] ionic-app-scripts 0.0.47
[16:28:20] watch started ...
[16:28:20] build dev started ...
[16:28:20] clean started ...
[16:28:20] clean finished in 6 ms
[16:28:20] copy started ...
[16:28:20] transpile started ...
[16:28:22] transpile finished in 2.91 s
[16:28:22] webpack started ...
[16:28:23] copy finished in 3.06 s
[16:28:30] webpack finished in 7.81 s
[16:28:30] sass started ...
[16:28:32] sass finished in 1.42 s
[16:28:32] build dev finished in 12.18 s
[16:28:32] watch ready in 12.25 s
[16:28:32] dev server running: http://localhost:8100/
And the browser not open.
My system
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v7.4.0
Xcode version: Not installed
Why the ionic serve don't show ionic $?
In ionic 1 show:
vega#vega-linux:/opt/projetos/teste$ ionic serve
Running live reload server: http://192.168.2.103:35729
Watching: www/**/*, !www/lib/**/*, !www/**/*.map
√ Running dev server: http://192.168.2.103:8100
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
ionic $
But not in ionic2.
try this code
ionic serve --address=localhost
First try this command line:
npm run ionic:serve
and if does't help try the second one:
npm install --save-dev #ionic/app-scripts#latest
then
ionic serve