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

Building the SDK on a Mac #2

Open
rodrigovaras opened this issue Nov 26, 2017 · 0 comments
Open

Building the SDK on a Mac #2

rodrigovaras opened this issue Nov 26, 2017 · 0 comments

Comments

@rodrigovaras
Copy link
Contributor

To build the SDK on a mac you will need to have the latest Xcode tools installed. You should be able to use the command line tools or using the IDE to build. The recommended way is to start with the command line tools and then open the IDE to explore the sources and build the samples.
Instructions will be:

  • Open command line terminal
  • Change directory to pmod/XCode in GitHub -> '>cd github/pmod/src/__build/Xcode'
  • Invoke the code generation build using -> './build_codegen.sh' (Will build the parser tools and codegen helpers)
  • Invoke the 'build.sh' script -> './build.sh' (It should built the library for both Mac & iOS support)

The issue is around building for the iOS simulator, the script has embedded the hardcoded last SDK installed which is:
sdk=iphonesimulator10.3

If you have another SDK installed you would need to pass the right SDK using the option -s 'YourSDK'.
I haven't figure out a way for the script to grab the current installed SDK as a default to avoid this issue, please welcome ideas to fix the script.

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

No branches or pull requests

1 participant