Closed fzwoch closed 9 years ago
I can reproduce this here with the latest release builds.
Follow up on this one. It does work when I run premake5 from the build directory:
$ bin/release/premake5 --file=../test/premake5.lua xcode4
Building configurations...
Running action 'xcode4'...
Generating ../test/test.xcworkspace/contents.xcworkspacedata...
Generating ../test/test.xcodeproj/project.pbxproj...
Done.
But the error appears the other way round:
$ ../premake-core/bin/release/premake5 xcode4
Building configurations...
Error: [string "src/_premake_main.lua"]:159: [string "xcode/_preload.lua"]:2: name 'xcodebuildsettings' in use
Not sure what exactly is different in these cases. I assume it loads things differently somehow?
I just merged a fix. Can you try it and confirm?
Confirmed working. Xcode project generation now again works when called from outside the premake working tree. Thanks!
Current master seems to have broken xcode4 module for me
sample premake.lua