Hopefully final High Sierra issues affect apps that have set app.detect_dependencies = true to false (don't do this unless you know what you're doing). The following patch to /Library/RubyMotion/lib/motion/project/dependency.rb will be added to help you find circular dependencies, but you can apply it yourself right now if you want.
module Motion; module Project
class Dependency
def cyclic?(dependencies, def_path, ref_path)
deps = dependencies[def_path]
if deps
if deps.include?(ref_path)
App.warn("Possible cyclical dependency between #{def_path} and #{ref_path}'s class hierarchy. Consider revision if runtime exceptions occur around undefined symbols.")
return true
end
deps.each do |file|
return true if cyclic?(dependencies, file, ref_path)
end
end
false
end
end
end; end
Hopefully final High Sierra issues affect apps that have set
app.detect_dependencies = true
to false (don't do this unless you know what you're doing). The following patch to/Library/RubyMotion/lib/motion/project/dependency.rb
will be added to help you find circular dependencies, but you can apply it yourself right now if you want.