Closed maximkhatskevich closed 7 years ago
Any ideas what to do?
@maximkhatskevich could you tell me what version of xcodeproj
you have ? I'm wondering if I am using a feature that doesn't exist in that version
xcodeproj --version 1.4.2
So looks like it's related to the Entry code in https://github.com/CocoaPods/Xcodeproj/blob/0.28.1/lib/xcodeproj/scheme/build_action.rb
Adding this to 0.8.9
I trust you :)
Thx for quick response!
No worries, I'm hoping 0.8.9 will be a much better experience for you :) sorry for the pain.
So this should be fixed by the latest version on master, I've found that ruby can select the wrong version of xcake so you should remove all older versions before running it :)
Setting up a new iOS framework repo. Tried to use Xcake from within Fastlane lane, got a crash. The Cakefile is 100% valid, just copied from another framework where it has no issues, changed the name of the project and added couple more build settings.
Here is the log:
fastlane finished with errors
[!] Exit status of command 'cd ./.. && xcake make && pod update --no-repo-update' was 1 instead of 0. /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/generator/scheme_generator.rb:33:in (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/generator/scheme_generator.rb:16:in '
block in visit_target': undefined method
build_for_running' for #each' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/generator/scheme_generator.rb:16:in
visit_target' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/visitor.rb:45:invisit' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/dsl/project.rb:83:in
block in accept' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/dsl/project.rb:82:ineach' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/dsl/project.rb:82:in
accept' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/command/make.rb:25:inblock in run' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/command/make.rb:23:in
each' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/lib/xcake/command/make.rb:23:inrun' from /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in
run' from /Library/Ruby/Gems/2.0.0/gems/xcake-0.8.8/bin/xcake:6:in<top (required)>' from /usr/local/bin/xcake:23:in
load' from /usr/local/bin/xcake:23:in `