@@ -94,7 +94,7 @@ def modify_xcode_proj(self, proj_file_path):
94
94
# pbx_proj.remove_group_by_name("JS Common")
95
95
96
96
# add libraries search path
97
- libs_path = "/Applications/Cocos/frameworks /%s/prebuilt" % self .version
97
+ libs_path = "/Applications/Cocos/Cocos2d-x /%s/prebuilt" % self .version
98
98
ios_template_prebuilt_path = "%s/%s" % (libs_path , "ios" )
99
99
pbx_proj .add_library_search_paths (ios_template_prebuilt_path , target_name = ios_target_name , recursive = False )
100
100
mac_template_prebuilt_path = "%s/%s" % (libs_path , "mac" )
@@ -133,7 +133,7 @@ def modify_xcode_proj(self, proj_file_path):
133
133
file_content = f .read ()
134
134
f .close ()
135
135
136
- install_path = "/Applications/Cocos/frameworks /%s" % self .version
136
+ install_path = "/Applications/Cocos/Cocos2d-x /%s" % self .version
137
137
for old_engine_path in replace_engine_strs :
138
138
file_content = file_content .replace (old_engine_path , install_path )
139
139
@@ -158,7 +158,7 @@ def modify_vs_proj(self, proj_file_path):
158
158
# remove the project references
159
159
vcx_proj .remove_proj_reference ()
160
160
161
- install_path = "$(COCOS_FRAMEWORKS )\\ %s\\ " % self .version
161
+ install_path = "$(COCOS_X_ROOT )\\ %s\\ " % self .version
162
162
163
163
copy_libs_cmd = "if not exist \" $(OutDir)\" mkdir \" $(OutDir)\" \n " \
164
164
"xcopy /Y /Q \" $(EngineRoot)\\ prebuilt\\ win32\\ *.*\" \" $(OutDir)\" \n "
0 commit comments