@@ -95,9 +95,9 @@ def modify_xcode_proj(self, proj_file_path):
95
95
96
96
# add libraries search path
97
97
libs_path = "/Applications/Cocos/frameworks/%s/prebuilt" % self .version
98
- ios_template_prebuilt_path = os . path . join (libs_path , "ios" )
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
- mac_template_prebuilt_path = os . path . join (libs_path , "mac" )
100
+ mac_template_prebuilt_path = "%s/%s" % (libs_path , "mac" )
101
101
pbx_proj .add_library_search_paths (mac_template_prebuilt_path , target_name = mac_target_name , recursive = False )
102
102
103
103
# add libraries for targets
@@ -106,10 +106,10 @@ def modify_xcode_proj(self, proj_file_path):
106
106
for lib in link_libs :
107
107
ios_lib_name = "%s iOS.a" % lib
108
108
mac_lib_name = "%s Mac.a" % lib
109
- ios_lib_path = os . path . join (ios_template_prebuilt_path , ios_lib_name )
109
+ ios_lib_path = "%s/%s" % (ios_template_prebuilt_path , ios_lib_name )
110
110
pbx_proj .add_file_if_doesnt_exist (ios_lib_path , ios_lib_group , tree = "<group>" , target = ios_target_name )
111
111
112
- mac_lib_path = os . path . join (mac_template_prebuilt_path , mac_lib_name )
112
+ mac_lib_path = "%s/%s" % (mac_template_prebuilt_path , mac_lib_name )
113
113
pbx_proj .add_file_if_doesnt_exist (mac_lib_path , mac_lib_group , tree = "<group>" , target = mac_target_name )
114
114
115
115
# add studio resources to the xcode project of cpp template
0 commit comments