facebookarchive / xcbuild

Xcode-compatible build tool.
Other
2k stars 190 forks source link

error: couldn't create build system and couldn't create build environment #306

Open Charles66666666 opened 4 years ago

Charles66666666 commented 4 years ago

[root@localhost home]# export DEVELOPER_DIR=/home/Xcode.app [root@localhost home]# export PATH=$PATH:/home/xcbuild/build/ [root@localhost home]# echo $PATH /opt/swift/bin:/usr/local/openssl/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/charles/.local/bin:/home/charles/bin:/home/ninja/:/home/xcbuild/build/:/usr/local/ios-armv7/bin:/home/xcbuild/build/ [root@localhost home]# xcbuild warning: unhandled PlatformVersion key BuildAliasOf warning: unhandled Target key DebuggerOptions warning: unhandled Target key DebuggerOptions warning: unhandled PlatformVersion key BuildAliasOf warning: unhandled Target key DebuggerOptions warning: unhandled Product key BuildID warning: unhandled Target key DebuggerOptions warning: unhandled Product key BuildID warning: unhandled Target key DebuggerOptions warning: unhandled Product key BuildID warning: unhandled Target key DebuggerOptions warning: unhandled Product key BuildID warning: unhandled Architecture key DeploymentTargetRange warning: unhandled Architecture key DeploymentTargetRange warning: unhandled Architecture key DeploymentTargetRange warning: unhandled ProductType key IsUnitTest warning: unhandled ProductType key IsUITest warning: unhandled ProductType key IsUnitTest warning: unhandled Architecture key DeprecatedError error: cannot find base ProductType specification 'iphoneos-shared:com.apple.product-type.application' error: cannot find base ProductType specification 'iphoneos-shared:com.apple.product-type.app-extension' error: cannot find base ProductType specification 'iphoneos-shared:com.apple.product-type.app-extension' error: cannot find base BuildSystem specification 'embedded:com.apple.build-system.native' error: cannot find base BuildSystem specification 'default:com.apple.build-system.native' error: cannot find base BuildSystem specification 'macosx:com.apple.buildsettings.standard' error: couldn't create build system error: couldn't create build environment [root@localhost home]#

NaruFGT commented 4 years ago

Using xcodebuild -scheme SOCKS -workspace SOCKS.xcodeproj/project.xcworkspace build xcbuild.TXT Using xcodebuild -scheme SOCKS -workspace SOCKS.xcodeproj/project.xcworkspace build xcodebuild.TXT I believe I have encountered the same problem. My immediate guess is that it is more recent versions of xcode?