No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Existing VueJS quasar app adding Cordova support

    CLI
    1
    1
    661
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      venkyvb last edited by

      I have an existing VueJS app. I just added Cordova support as outlined in https://quasar-framework.org/guide/cordova-preparation.html.

      First I added quasar mode -a cordova

      Then i switched to src-cordova folder and then executed cordova platform add ios

      When I run cordova requirements, I get the following output

      Requirements check results for ios:
      Apple macOS: installed darwin
      Xcode: installed [object Object]
      ios-deploy: installed [object Object]
      CocoaPods: installed [object Object]
      
      

      When I run cordova run ios --target='iPhone-X', I see the following output

      Building for iPhone X Simulator
      Building project: /Users/sirius/git/cordovatest/src-cordova/platforms/ios/siriustest.xcworkspace
              Configuration: Debug
              Platform: emulator
      Build settings from command line:
          CONFIGURATION_BUILD_DIR = /Users/sirius/git/cordovatest/src-cordova/platforms/ios/build/emulator
          SDKROOT = iphonesimulator12.0
          SHARED_PRECOMPS_DIR = /Users/sirius/git/cordovatest/src-cordova/platforms/ios/build/sharedpch
      
      Build settings from configuration file '/Users/sirius/git/cordovatest/src-cordova/platforms/ios/cordova/build-debug.xcconfig':
          CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
          CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
          CODE_SIGN_IDENTITY = iPhone Developer
          ENABLE_BITCODE = NO
          GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
          HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
          OTHER_LDFLAGS = -ObjC
          SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
      
      /Users/sirius/git/cordovatest/src-cordova/platforms/ios/build/emulator/siriustest.app/Info.plist file not found.
      

      I also tried running quasar build -m cordova -T ios, the result is similar as above:

      app:build [SUCCESS] CORDOVA with "mat" theme in "/Users/sirius/git/cordovatest/src-cordova/www" folder +1ms
      
       app:cordova-conf Updated Cordova config.xml +12ms
       app:spawn Running "cordova build --release ios" +0ms
      
      Building for iPhone XS Max Simulator
      Building project: /Users/sirius/git/cordovatest/src-cordova/platforms/ios/siriustest.xcworkspace
              Configuration: Release
              Platform: emulator
      Build settings from command line:
          CONFIGURATION_BUILD_DIR = /Users/sirius/git/cordovatest/src-cordova/platforms/ios/build/emulator
          SDKROOT = iphonesimulator12.0
          SHARED_PRECOMPS_DIR = /Users/sirius/git/cordovatest/src-cordova/platforms/ios/build/sharedpch
      
      Build settings from configuration file '/Users/sirius/git/cordovatest/src-cordova/platforms/ios/cordova/build-release.xcconfig':
          CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
          CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
          CODE_SIGN_IDENTITY = iPhone Distribution
          ENABLE_BITCODE = NO
          HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
          OTHER_LDFLAGS = -ObjC
          SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.hcordovatest
      

      Any ideas as to what is going wrong?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post