Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added add_build_file_unsafe #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/xcode/build_phase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ def add_build_file(file,settings = {})
end
end

# @see add_build_file(file,settings = {}) for informations
# Removed the existance check for the given file. Needed that because of performance
# problems
#
def add_build_file_unsafe(file,settings = {})
new_build_file = @registry.add_object BuildFile.buildfile(file.identifier,settings)
@properties['files'] << new_build_file.identifier
end

#
# Add the specified file to the Build Phase that will have specific compiler
# flags to disable ARC.
Expand Down