Skip to content

Commit a9fd0d4

Browse files
author
minggo
authored
fix iOS compiling issue (#429)
1 parent 1efba5e commit a9fd0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/plugin_compile/project_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def build_ios(self):
796796
"\"%s\"" % self.xcworkspace if self.cocoapods else projectPath,
797797
"-configuration",
798798
"%s" % 'Debug' if self._mode == 'debug' else 'Release',
799-
"-scheme",
799+
"-scheme" if self.cocoapods else "-target",
800800
"\"%s\"" % targetName,
801801
"%s" % "-arch i386" if self.use_sdk == 'iphonesimulator' else '',
802802
"-sdk",

0 commit comments

Comments
 (0)