Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project_compile.py(xcrun parameter issue) #270

Open
GameEgg opened this issue Jun 11, 2015 · 0 comments
Open

project_compile.py(xcrun parameter issue) #270

GameEgg opened this issue Jun 11, 2015 · 0 comments

Comments

@GameEgg
Copy link

GameEgg commented Jun 11, 2015

In my case,

app_path = os.path.join(output_dir, "%s.app" % targetName)
ipa_path = os.path.join(output_dir, "%s.ipa" % targetName)
ipa_cmd = "xcrun -sdk %s PackageApplication -v \"%s\" -o \"%s\"" % (self.use_sdk, app_path, ipa_path)
self._run_cmd(ipa_cmd)

This code make a trouble : xcrun specified application doesn't exist or isn't a bundle directory.
So, I changed it to

app_path = os.path.join(output_dir, "%s.app" % targetName)
ipa_path = os.path.join(output_dir, "%s.ipa" % targetName)
ipa_cmd = "xcrun -sdk %s PackageApplication -v \"%s\" -o \"%s\"" % (self.use_sdk, output_dir, ipa_path)
self._run_cmd(ipa_cmd)

(I changed an xcrun parameter. app_path to output_dir)

After modifying, it works well.
Is it only my trouble?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant