Git Product home page Git Product logo

Comments (11)

vallemar avatar vallemar commented on May 27, 2024

@offizium-berndstorath try with ns run ios —env.production

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

I fixed it by running a build using rosetta. And upgraded to node 20.11.1. what exactly fixed it. idk.

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

Doesnt work again. Using node 18.16.0 which someone recommended.
Rosetta build using xcode works fine. none rosetta build results in the above errors.
Normal build/archive/upload to testflight works fine. But app crashes shortly after splashscreen

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

@offizium-berndstorath try with ns run ios --env.production

App starts correctly when using this. But ns run was never a problem. Only when using xcode

from nativescript-vue.

rigor789 avatar rigor789 commented on May 27, 2024

No rosetta is needed for anything in NativeScript, it's better to run everything natively as mixing them can lead to various issues - I suspect your above issue is likely related to mixing rosetta/non-rosetta tooling.

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

I am trying to run everything nativly, but it just doesnt work

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

I am running the app now on a real iphone this is the error i get.

NativeScript encountered a fatal error:

Error calling module function
ReferenceError: NSURLSessionConfiguration is not defined
File: (file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/vendor.js:2:981495)

StackTrace: 
	15356(file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/vendor.js:2:981496)
	at __webpack_require__(file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/runtime.js:1:224)
	at 72901(file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/vendor.js:2:985204)
	at __webpack_require__(file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/runtime.js:1:224)
	at 36560(file:///var/containers/Bundle/Application/D1A1DABA-0F1A-4282-9C24-12A62ECF5A6C/gemeindenapp.app/app/vendor.js:2:1008280)
	at __webpack_require__(file:///var/containers/Bundle/Application/D1A1DABA<…>

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

After updating @nativescript/ios and @nativescript/core to 8.7.0
I get following error

NativeScript encountered a fatal error:

Error calling module function
ReferenceError: __APPLE__ is not defined
File: (file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/vendor.js:2:1020089)

StackTrace: 
	83337(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/vendor.js:2:1020090)
	at __webpack_require__(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/runtime.js:1:224)
	at 14533(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/vendor.js:2:1020339)
	at __webpack_require__(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/runtime.js:1:224)
	at 74241(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA6B-9F9422BE8B37/gemeindenapp.app/app/vendor.js:2:1016608)
	at __webpack_require__(file:///var/containers/Bundle/Application/BFFB3B37-17AD-4813-BA<…>

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

using @nativescript/core 8.6.2 and @nativescript/ios 8.6.4. I no longer get a error

from nativescript-vue.

vallemar avatar vallemar commented on May 27, 2024

@offizium-berndstorath you need update de cli via: npm i -g nativescript

from nativescript-vue.

offizium-berndstorath avatar offizium-berndstorath commented on May 27, 2024

@vallemar I am already using nativescript cli 8.7.0.
As my issues is resolved. I am closing the error

from nativescript-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.