Skip to content

Building the SDK on a Mac #2

@rodrigovaras

Description

@rodrigovaras

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions