Cordova command-line build fails in /tmp on Mac

前端 未结 3 1949
遥遥无期
遥遥无期 2021-02-09 10:17

I get a linker error building a brand-new PhoneGap app from the command line. It creates a bunch of files, and if I open the created .xcodeproj in Xcode, it builds

3条回答
  •  悲&欢浪女
    2021-02-09 11:03

    I had a similar issue while placing my project under /var/www/PROJECT on mac. I was getting the duplicate errors along with "../cordova/build: Command failed with exit code 65".

    I was getting the duplicate errors because /var/www/ is also /private/var/www/

    Solution was to move my project as described above to /Users/username/some-other-dir/...

    I then ran phonegap run ios and all worked!

提交回复
热议问题