I want to use my real framework as a subproject in XCode. The issue is that i have two build configurations in my framework. To be able to select which one of these that should be used i've had to include a custom build phase in my main project (instead of using Target Dependencies).
The following build commands failed:
PhaseScriptExecution "Run Script" /Users/*/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphonesimulator/MyLib.build/Script-7BB4A82D157893E000C829D4.sh
(1 failure)
UFW (M iphoneos): ERROR: Build failed
Traceback (most recent call last):
File "/Users/**/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 581, in
run_build(build_state)
File "/Users/**_/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 535, in run_build
run_slavebuild(project)
File "/Users/****/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 495, in run_slave_build
print_and_call_slave_build(project.get_slave_project_build_command(), project.other_platform)
File "/Users/***/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 426, in print_and_call_slave_build
raise subprocess.CalledProcessError(p.returncode, cmd)
Allthough the same command works perfectly in commandline. Then it can build fine.
Hello.
I want to use my real framework as a subproject in XCode. The issue is that i have two build configurations in my framework. To be able to select which one of these that should be used i've had to include a custom build phase in my main project (instead of using Target Dependencies).
Im using this to build my framework:
xcodebuild -scheme MyLib -configuration Release -sdk iphoneos
These are the errors i get:
The following build commands failed: PhaseScriptExecution "Run Script" /Users/*/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphonesimulator/MyLib.build/Script-7BB4A82D157893E000C829D4.sh (1 failure) UFW (M iphoneos): ERROR: Build failed Traceback (most recent call last): File "/Users/**/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 581, in
run_build(build_state)
File "/Users/** _/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 535, in run_build
run_slavebuild(project)
File "/Users/****/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 495, in run_slave_build
print_and_call_slave_build(project.get_slave_project_build_command(), project.other_platform)
File "/Users/***/Company/git/iOS-MainProject/DerivedData/MainProject/Build/Intermediates/MyLib.build/Release-iphoneos/MyLib.build/Script-7BB4A82D157893E000C829D4.sh", line 426, in print_and_call_slave_build
raise subprocess.CalledProcessError(p.returncode, cmd)
Allthough the same command works perfectly in commandline. Then it can build fine.