lib/gonative/plugins/ios/rename.rb in gonative-cli-1.2.4 vs lib/gonative/plugins/ios/rename.rb in gonative-cli-1.3.0

- old
+ new

@@ -13,11 +13,11 @@ def initialize(name) @name = name end def call - system("mv GoNativeIOS.xcodeproj #{proj_path}") + system("mv MedianIOS.xcodeproj #{proj_path}") @proj = Xcodeproj::Project.open(proj_path) rename_target! recreate_scheme! fix_workspace_refs! system('pod install') @@ -42,10 +42,10 @@ scheme.save_as(proj_path, target.name, true) end def fix_workspace_refs! - FileUtils.rm_rf('GoNativeIOS.xcworkspace') + FileUtils.rm_rf('MedianIOS.xcworkspace') proj_ref = Xcodeproj::Workspace::FileReference.new(proj_path) pods_ref = Xcodeproj::Workspace::FileReference.new('Pods/Pods.xcodeproj') workspace = Xcodeproj::Workspace.new(nil, proj_ref, pods_ref) workspace.save_as(workspace_path) end