Skip to content

#436 Building iOS doesn’t seem to work#776

Merged
ras0219-msft merged 1 commit intomicrosoft:masterfrom
mobileben:ios-xcode9-build
Aug 3, 2018
Merged

#436 Building iOS doesn’t seem to work#776
ras0219-msft merged 1 commit intomicrosoft:masterfrom
mobileben:ios-xcode9-build

Conversation

@mobileben
Copy link
Copy Markdown
Contributor

My previous PR #439 had a conflict.

This is updated to work with issues related to Xcode 9. This should also address

#436
#773 (note another PR addresses this too)
#770

Sample cmake to set deployment is

cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET=9.3 ..

I also remove -fvisibility-inlines-hidden as Xcode defaults it to OFF.

iOS.cmake is now part of this. The recommended toolchain has not been modified in a while. I forked it here.

https://github.com/mobileben/ios-cmake

And this also allows usage of static boost or framework boost.

This moves iOS.cmake into the file so there is on need to add it. Also allows for boost to be static libs versus framework
@aksswami
Copy link
Copy Markdown

aksswami commented Jun 7, 2018

Tried this today and working great. Thanks @mobileben

@ras0219-msft ras0219-msft merged commit c214c81 into microsoft:master Aug 3, 2018
@ras0219-msft
Copy link
Copy Markdown
Contributor

Thanks for the PR @mobileben and sorry for taking so long to address it!

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

Successfully merging this pull request may close these issues.

3 participants