SDK 10, Mac OS xcode project build Issue

Hello All,
I have an issue in xcode project build.
I m using SDK 10, Mac OS 10.14.6, Xcode 10.2
Here exactly what happens in the process, the build for iOS from the terminal is successful. then I have executed the comman: ./sdk build --scheme debug --platform ios. After that, It shows me a success result but when I open Xcode and run my Nomad.xcodeproj, It gives build failed.
Anyone knows how can I fix this issue.

Parents
  • Hi Aniruddh
    Please update your XCode to the latest version
    This should fix your issue

    Best regards, Eugene

  • Hi Eugene Bychkov,

    Here is some detail of my issue.

    I am using the SDK 10 with the Mac OS(Mojave) 10.14.6 and Xcode 11 (latest).

    I have followed below to create the built.

    Step 1: ./sdk build --scheme debug --platform ios --init-native

    ios build is OK

    Finished 'build-native-ios' after 7.68 s
    Finished 'build-ios' after 18 s
    Finished 'build' after 18 s
    SUCCESS

    then I tried to open the Xcode

    Step 2: Open Xcode Version 11.0 (11A420a)

    It gives me below errors:
    1) 'Cordova/CDVPlugin.h' file not found (file path: Nomad/Plugins/Storageinfo.h)
    I have solved it by file->projectsettings->build system->legacy build system
    2) 'Cordova/CDVViewController.h' file not found
    For this issue, I have added Cordova dependencies from the build phase
    So it gives another error,

    3) info.plist is not found
    So I have added manually, Cordova/info.plist
    Then it gives another error

    4) linker command failed with exit code 1 (use -v to see invocation)
    -lcordova not found

    And then again errors

    After built the file and folders have been generated. You can see the structure in the attached screenshots.

    So, I want to confirm that Does this process also need to generate nomade.xcodeworkspace right?

  •  {SugarClub Administrator Edit: We're sorry, but this image is no longer available}  
     {SugarClub Administrator Edit: We're sorry, but this image is no longer available}  
     {SugarClub Administrator Edit: We're sorry, but this image is no longer available}  
Reply Children
No Data