Skip to content

Commit

Permalink
📝 Change the Embed Instabug framework name.
Browse files Browse the repository at this point in the history
  • Loading branch information
salmatarzi committed Sep 10, 2017
1 parent dacff62 commit 9500e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion link.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'FrameworksBuildPhase' }

# Add new "Embed Frameworks" build phase to target
embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Frameworks'}
embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Instabug Framework'}
Kernel.exit(0) if embed_frameworks_build_phase
embed_frameworks_build_phase = project.new(Xcodeproj::Project::Object::PBXCopyFilesBuildPhase)
embed_frameworks_build_phase.name = 'Embed Instabug Framework'
Expand Down
2 changes: 1 addition & 1 deletion unlink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'FrameworksBuildPhase' }

# Remove "Embed Frameworks" build phase to target
embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Frameworks'}
embed_frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'Embed Instabug Framework'}
Kernel.exit(0) unless embed_frameworks_build_phase
target.build_phases.delete(embed_frameworks_build_phase)

Expand Down

0 comments on commit 9500e08

Please sign in to comment.