question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error using Ionic Capacitor on iOS

See original GitHub issue

On iOS i get thi error.

Screenshot 2019-11-19 at 12 42 16 AM

To load in my index.html i have below files

<script src="https://cesium.com/downloads/cesiumjs/releases/1.63/Build/Cesium/Cesium.js"></script>
    <link href="https://cesium.com/downloads/cesiumjs/releases/1.63/Build/Cesium/Widgets/widgets.css" rel="stylesheet">

Vue component looks like:

Cesium.Ion.defaultAccessToken = 'eyJhbGciOiCI6IkpXV*************eD6J--cH1eE28r6gE';
                       var viewer = new Cesium.Viewer('three-globe');

In web it renders fine but on iOS it crashes.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stripathixcommented, Jun 3, 2020

Ref: https://community.cesium.com/t/is-anyone-able-to-make-latest-cesium-work-with-cordova-or-capacitor/9601/4 Solution: Thanks @OmarShehata

var viewer = new Cesium.Viewer('cesiumContainer', {
                fullscreenButton: false, 
            });
0reactions
stripathixcommented, Dec 15, 2019

I have reported it to the capacitor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem building iOS project from Ionic/Capacitor
I'm trying to build an iOS version of an ionic/capacitor app, but there seems to be an issue with updating cocoa pods.
Read more >
iOS Troubleshooting Guide | Capacitor Documentation
On iOS, this can happen if Capacitor doesn't find the plugins or can't inject its code into the WebView. First of all, make...
Read more >
Ionic 6 capacitor iOS build failed - Stack Overflow
ionic cap sync ios ionic cap update ios. then switch to ios folder, reintall pod or update cd ios pod install.
Read more >
bug: Error when open iOS App #2383 - GitHub
going to close with Apple bug tag, it's either an Xcode bug or CocoaPods bug, nothing we can do from Capacitor. I've seen...
Read more >
xcode 12.0 throws error Capacitor.… | Apple Developer Forums
Anyone faced with similar problem? I am working with: "@capacitor/core": "2.4.0" "@capacitor/ios": "2.4.1" "@ionic/angular": "5.3.2".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found